Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
22-4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 22 Configuring User Accounts and RBAC
Guidelines and Limitations
Guidelines and Limitations
User account and RBAC have the following configuration guidelines and limitations:
You can add up to 256 rules to a user role.
You can assign a maximum of 64 user roles to a user account.
Note A user account must have at least one user role.
Configuring User Accounts
You can create a maximum of 256 user accounts on a 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. For more information on user roles, see the
“Configuring RBAC” section on page 22-5.
Note Changes to user account attributes do not take effect until the user logs in and creates a new session.
To configure a user account, perform this task:
Command Purpose
Step 1
switch(config)# show role
(Optional) Displays the user roles available. You can
configure other user roles, if necessary (see the
“Creating User Roles and Rules” section on
page 22-5)
Step 2
switch# configure terminal
Enters configuration mode.
Step 3
switch(config)# username user-id
[password password] [expire date] [role
role-name]
Configure a user account. The user-id argument is a
case-sensitive, alphanumeric character string with a
maximum length of 28 characters.
The default password is undefined.
Note If you do not specify a password, the user
might not be able to log in to the Nexus 5000
Series switch.
The expire date option format is YYYY-MM-DD.
The default is no expiry date.
Step 4
switch(config)# exit
Exits global configuration mode.