Username – Brocade Network OS Command Reference v4.1.0 User Manual
Page 1376

1338
Network OS Command Reference
53-1003115-01
username
2
username
Configures a user account.
Synopsis
username username password password role role_name [encryption-level {0 | 7}]
[desc description] [enable true | false]
no username name
Operands
username
Specifies the account login name.
password password Specifies the account password. The exclamation mark (!) is supported,
and you can specify the password in either double quotes or the escape
character (\), for example "secret!password" or secret\!password.
role role_name
Specifies the role assigned to the user account. The role is optional and, by
default, the user’s role is read-only.
encryption-level {0 | 7}
Specifies the password encryption level. The values are 0 (clear text) and
7 (encrypted). Clear text (0) is the default.
desc description
Specifies a description of the account (optional). 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
Specifies whether the account is enabled or disabled. A user whose
account is disabled cannot login. The default account status is enabled.
Defaults
The default account status is enabled (enable = true).
The default role has read-only access permissions.
Command Modes
Global configuration mode
Description
Use this command to assign attributes for a user.
CAUTION
All active login sessions for a user are terminated if the user’s password or role is changed.
Usage Guidelines
The username must be between 1 and 16 alphanumeric characters in length.
The maximum number of user accounts on a switch is 64.
The maximum number of roles for a user is 64, including the default roles.
Enter no username name followed by the appropriate parameter name to set the individual
parameters to their default values.
Examples
To configure a user account:
switch(config)# username testUser roles admin
Value for ‘password’ (<string>): **********
switch(config-username-testUser)# exit