Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
(Optional)
Displays the user role configuration.
switch# show role
Step 8
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 9
The following 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
You can create feature groups.
Procedure
PurposeCommand or Action
Enters 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 argument is a case-sensitive,
alphanumeric character string with a maximum length
of 32 characters.
(Optional)
Displays the role feature group configuration.
switch# show role feature-group
Step 3
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 4
Changing User Role Interface Policies
You can change a user role interface policy to limit the interfaces that the user can access.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
320 OL-16597-01
Configuring User Accounts and RBAC
Creating Feature Groups