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. Giving 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: 1-64 characters.
password The authentication password for the user. Range S-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 ! # $ % & ' ( ) * + , - . / : ; < = > @ [ \ ] A _ ' { l } ~.
level The user level. Level 0 can be assigned by a level 15 user to another user to suspend that user's access. Range 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 or copied from another switch configuration.
encryption-type Specifies encryption algorithm type, either Crypt or AES. The encryption-type default value is Crypt.
override-complexity-check Disables the validation of the password strength.

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

(switch)(config)# username bob password xxxyyymmmm level 15

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

(switch)(config)# username test password testPassword level 1 override-complexity-check

Example: A third example.

(Switching) (Config)#username test password testtest

Example: A fourth example.

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

Example: A fifth example.

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

Example: A sixth example.

(switch)(config)# username test password testPassword level 1 encrypted override-complexity-check

Example: A seventh example.

(Switching) (Config)# username test password testPassword encrypted override-complexity-check

Example: An eighth example.

(Switching) (Config)# username test password testPassword override-complexity-check

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo