Table Of Contents
U Commands
username
U Commands
The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.
•username
username
To define a user, use the username command in configuration mode.
username name [expire date] [role string] [update-snmpv3]
username string [password [0 | 5 user-password] [expire string] [role]=
Syntax Description
expire
Date when this user account expires (in YYYY-MM-DD format).
password
Password for the user.
role
Role which the user is to be assigned
update-snmpv3
Update SNMPv3 password also (provide old SNMPv3 password)
name
The name of the user. Maximum length is 32 characters.
date
The expiration date.
string
The role.
user-password
The password. Maximum length is 32 characters.
0
Password for the user (clear text)
5
Strongly encrypted password
Defaults
None.
Command Modes
Configuration mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
None.
Examples
The following example shows how to define a user.
switch(config)# username knuckles password testpw role bodega
Jan 12 16:05:33 vshd: <<%LOG_VSHD-5-VSHD_SYSLOG_CONFIG_I>> Configuring console)
switch# show user-account
this user account has no expiry date
this user account has no expiry date