PurposeCommand or Action
(Optional)
Displays the user role configuration.
switch# show role
Step 9
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch# copy running-config
startup-config
Step 10
This example shows how to create user roles and specify rules:
switch# configure terminal
switch(config)# role name UserA
switch(config-role)# rule deny command clear users
switch(config-role)# rule deny read-write
switch(config-role)# description This role does not allow users to use clear commands
switch(config-role)# end
switch(config)# show role
Creating Feature Groups
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies a user role feature group and enters role feature
group configuration mode.
switch(config) # role feature-group
group-name
Step 2
The group-name is a case-sensitive, alphanumeric
character string with a maximum of 32 characters.
Exits global configuration mode.switch(config) # exit
Step 3
(Optional)
Displays the role feature group configuration.
switch# show role feature-group
Step 4
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 5
This example shows how to create a feature group:
switch# configure terminal
switch(config) # role feature-group group1
switch(config) # exit
switch# show role feature-group
switch# copy running-config startup-config
switch#
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 79
Configuring User Accounts and RBAC
Creating Feature Groups