username (Global Config)

Use the username command in Global Config mode to add a new user to the local user database. The default privilege level is 1. Using the encrypted keyword allows the administrator to transfer local user passwords between devices without having to know the passwords. When the password parameter is used along with encrypted parameter, the password must be exactly 128 hexadecimal characters in length. If the password strength feature is enabled, this command checks for password strength and returns an appropriate error if it fails to meet the password strength criteria. The optional parameter override-complexity-check disables the validation of the password strength.

Format username name {password password [encrypted [override-complexity-check] | level level [encrypted [override-complexity-check]] | override-complexity-check]} | {level level [override-complexity-check] password}
Mode Global Config
Parameter Description
name The name of the user. Range is 1-64 characters.
password The authentication password for the user. Range is 8-64 characters. This value can be zero if the no passwords min-length command has been executed. The special characters allowed in the password include ! # $ % & ' ( ) * + , - . / : ; < = > @ [ \ ] ^ _ ` { | } ~.
level The user level. Level 0 can be assigned by a level 15 user to another user to suspend that user‘s access. Range is 0-15. Enter access level 1 for non-privileged (switch> prompt) or 15 for highest privilege (switch# prompt) Access. If not specified where it is optional, the privilege level is 1.
encrypted Encrypted password entered, copied from another switch configuration.
override-complexity-check Disables the validation of the password strength.

The following example configures user 'bob' with password 'xxxyyymmmm' and user level 15.

(Extreme 220) (Config)# username bob password xxxyyymmmm level 15

The following example configures user 'test' with password 'testPassword' and assigns a user level of 1. The password strength will not be validated.

(Extreme 220) (Config) # username test password testPassword level 1 override-complexity-check

The following example configures user 'test' with password 'testtest'. No level is assigned.

(Extreme 220) (Config) #username test password testtest

The following example configures user 'test' with a complex password and a user level of 1. The password is encrypted. The level is then increased to 15 and a new password created.

(Extreme 220) (Config) # username test password e8d63677741431114f9e39a853a15e8fd35ad059e2e1b49816c243d7e08152b052eafbf23b528d348cdba1b1b7ab91be842278e5e970dbfc62d16dcd13c0b864 level 1 encrypted override-complexity-check
(Extreme 220) (Config) #  username test level 15 password
Enter new password:********
Confirm new password:********

The following example changes the password for user 'test'.

(Extreme 220) (Config) # username test level 15 override-complexity-check  password
Enter new password:********
Confirm new password:********