Chapter 24
U Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
username
To define a user, use the username command in configuration mode. Use the no form of a command to
undo the configuration or revert to factory defaults.
Syntax Description
name
expire date
iscsi
password
user-password
0
5
7
role rolename
ssh-cert-dn
distinguished-name
dsa
rsa
sshkey key_content
file filename
Defaults
None.
Command Modes
Configuration mode.
Command History
Release
1.0(2)
2.0(x)
3.0(1)
OL-8413-07, Cisco MDS SAN-OS Release 3.x
username name [expire date | iscsi | password [0 | 5 | 7] user-password [expire date] [role
rolename] | role rolename | ssh-cert-dn distinguished-name {dsa | rsa} | sshkey {key-content |
file filename}]
no username name [expire date | iscsi | password [0 | 5 | 7] user-password [expire date] [role
rolename] | role rolename | ssh-cert-dn distinguished-name {dsa | rsa} | sshkey {key-content |
file filename}]
Specifies the name of the user. Maximum length is 32 characters.
Specifies the date when this user account expires (in YYYY-MM-DD format).
Identifies an iSCSI user.
Configures a password for the user. The password is limited to 64 characters.
The minimum length is 8 characters.
Enters the password. Maximum length is 32 characters.
Specifies a clear text password for the user.
Specifies a strongly encrypted password for the user.
Specifies an encrypted password for the user.
Specifies the role name of the user. Maximum length is 32 characters.
Specifies the SSH X.509 certificate distinguished name. The maximum size
is 512.
Specifies the DSA algorithm.
Specifies the RSA algorithm.
Specifies the actual contents of the SSH public key in OPENSSH format.
Specifies a file containing the SSH public key either in OPENSSH or
IETF SECH or Public Key Certificate in PEM format.
Modification
This command was introduced.
•
•
Added the ssh-cert-dn, dsa, and rsa options.
Removed the update_snmpv3 option.
Added level 7 for passwords.
Cisco MDS 9000 Family Command Reference
username
24-5