HP Cisco MDS 9140 Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 479
username
View all HP Cisco MDS 9140 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 479 highlights
Chapter 6 Security Commands username Send comments to [email protected] username To create and configure a user account, use the username command. To remove a user account, use the no form of this command. username user-id [expire date] [password password] [role role-name] username user-id sshkey {key | filename filename} no username user-id Syntax Description user-id expire date password password role role-name sshkey key filename filename User identifier for the user account. The user-id argument is a case-sensitive, alphanumeric character string with a maximum length of 28 characters. (Optional) Specifies the expire date for the user account. The format for the date argument is YYYY-MM-DD. (Optional) Specifies a password for the account. The default is no password. (Optional) Specifies the role which the user is to be assigned to. (Optional) Specifies an SSH key for the user account. SSH key string. Specifies the name of a file that contains the SSH key string. Command Default No expiration date, password, or SSH key. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The switch accepts only strong passwords. The characteristics of a strong password include the following: • At least eight characters long • Does not contain many consecutive characters (such as "abcd") • Does not contain many repeating characters (such as "aaabbb") • Does not contain dictionary words • Does not contain proper names • Contains both uppercase and lowercase characters • Contains numbers Caution If you do not specify a password for the user account, the user might not be able to log in to the account. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-145