Configuring User Accounts and RBAC
Configuring User Accounts
Note
Changes to user account attributes do not take effect until the user logs in and creates a new session.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Example
The following example shows how to configure a user account:
switch# configure terminal
switch(config)# username NewUser password 4Ty18Rnt
switch(config)# exit
switch# show user-account
Command or Action
switch# configure terminal
(Optional) switch(config)# show role
switch(config) # username user-id [password
password] [expire date] [role role-name]
switch(config) # exit
(Optional) switch# show user-account
(Optional) switch# copy running-config
startup-config
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
Configuring User Accounts
Purpose
Enters global configuration mode.
Displays the user roles available. You can
configure other user roles, if necessary.
Configures a user account.
The user-id is a case-sensitive, alphanumeric
character string with a maximum of 28
characters.
The default password is undefined.
If you do not specify a password, the
Note
user might not be able to log into the
switch.
The expire date option format is
YYYY-MM-DD. The default is no expiry date.
Exists global configuration mode.
Displays the role configuration.
Copies the running configuration to the startup
configuration.
205