Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
• You can assign a maximum of 64 user roles to a user account.
A user account must have at least one user role.Note
Configuring User Accounts
You can create a maximum of 256 user accounts on a Cisco Nexus 5000 Series switch. User accounts have
the following attributes:
• Username
• Password
• Expiry date
• User roles
User accounts can have a maximum of 64 user roles.
Changes to user account attributes do not take effect until the user logs in and creates a new session.Note
To configure a user account, perform this task:
Procedure
PurposeCommand or Action
(Optional)
Displays the user roles available. You can configure other
user roles, if necessary.
switch(config)# show role
Step 1
Enters configuration mode.switch# configure terminal
Step 2
Configures a user account. The user-id argument is a
case-sensitive, alphanumeric character string with a
maximum length of 28 characters.
switch(config)# username user-id
[password password] [expire date]
[role role-name]
Step 3
The default password is undefined.
If you do not specify a password, the user might
not be able to log in to the Cisco Nexus 5000
Series switch.
Note
The expire date option format is YYYY-MM-DD. The
default is no expiry date.
(Optional)
Displays the role configuration.
switch# show user-account
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
318 OL-16597-01
Configuring User Accounts and RBAC
Configuring User Accounts