beautypg.com

Configuring user accounts, Creating a user account – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 262

background image

User account attributes

TABLE 44

Parameter

Description

name

The name of the account. The user account name is case-sensitive, must not exceed 40
characters, and must begin with a letter. The text string can contain letters, numbers, underscore
(__), and periods (.). If the user name specified already exists, the username command modifies
the existing role.

role

The role assigned to the user defines the RBAC access privileges for the account.

password

The account password must satisfy all currently enforced password rules. Refer to the section

Password policies overview

on page 265 for more information.

encryption-
level

The password encryption level. You can choose to encrypt the password (7) or leave it in clear text
(0). If you do not specify an encryption level, the default, clear text (0), is the default.

desc

A description of the account. The description can be up to 64 characters long, and can include any
printable ASCII character, except for the following characters: single quotation marks (‘), double
quotation marks("), exclamation point (!), colon (:), and semi-colon (;). If the description contains
spaces. you must enclose the text in double quotation marks.

enable true |
false

Indicates whether the account is enabled or disabled. A user whose account is disabled cannot log
in. The default account status is enabled.

Configuring user accounts

When you create a user account you must specify three mandatory attributes: an account login name,
a role, and a password. The remaining attributes are optional.

Creating a user account

The following example creates a new user account with the minimally required attributes: name, role,
and password. The account name "brcdUser" has the default user privilege of accessing commands in
privileged EXEC mode

1. In privileged EXEC mode, use the configure terminal command to enter global configuration

mode.

2. Enter username command with the specified parameters.

switch# configure terminal

Entering configuration mode terminal

switch(config)# username brcdUser role user password welcome

Displaying user account information

The user account information is saved in switch configuration file.

Configuring user accounts

262

Network OS Administrator’s Guide

53-1003225-04