Username - Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

username

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
Usage Guidelines
To change the SNMP password, a clear text CLI password is required. You must know the SNMPv3
password to change the password using the CLI.
The password specified in the username command is synchronized as the
for the SNMP user.
Deleting a user using either command results in the user being deleted for both SNMP and CLI.
User-role mapping changes are synchronized in SNMP and CLI.
The SSH X.509 certificate distinguished name (DN) is in fact the subject name in the certificate. You
need to extract the subject name from the certificate and specify the subject name as the argument to the
username command.
Examples
The following example shows how to define a user.
switch(config)# username knuckles password testpw role bodega
switch(config)# do show user-account
user:admin
user:knuckles
The following example configures the name for a user to log in using iSCSI authentication.
switch(config)# username iscsi
The following example places you in the mode for the specified role (techdocs). The prompt indicates
that you are now in the role configuration submode. This submode is now specific to the techdocs group.
switch(config)# role name techdocs
switch(config-role)#
The following example deletes the role called techdocs.
switch(config)# no role name techdocs
The following example assigns a description to the new role. The description is limited to one line and
can contain spaces.
switch(config-role)# description Entire Tech. Docs. group
The following example resets the description for the Tech. Docs. group.
switch(config-role)# no description
The following example creates or updates the user account (usam) along with a password (abcd) that is
set to expire on 2003-05-31.
switch(config)# username usam password abcd expire 2003-05-31
The following example creates or updates the user account (msam) along with a password (abcd)
specified in clear text (indicated by 0).
switch(config)# username msam password 0 abcd role network-operator
The following example specifies an encrypted (specified by 5) password (!@*asdsfsdfjh!@df) for the
user account (user1).
switch(config)# username user1 password 5!@*asdsfsdfjh!@df
Cisco MDS 9000 Family Command Reference
24-6
this user account has no expiry date
roles:network-admin
this user account has no expiry date
roles:bodega
Chapter 24
U Commands
and
passphrases
auth
priv
OL-18089-01, Cisco MDS NX-OS Release 4.x

Advertisement

Table of Contents
loading

Table of Contents