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

PurposeCommand or Action
Repeat this command for as many VLANs as
needed.
(Optional)
Displays the role configuration.
switch# show role
Step 5
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 6
Changing User Role VSAN Policies
You can change a user role VSAN policy to limit the VSANs that the user can access.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies a user role and enters role configuration
mode.
switch(config-role)# role name
role-name
Step 2
Enters role VSAN policy configuration mode.switch(config-role)# vsan policy deny
Step 3
Specifies a range of VSANs that the role can
access.
switch(config-role-vsan)# permit vsan
vsan-list
Step 4
Repeat this command for as many VSANs as
needed.
(Optional)
Displays the role configuration.
switch# show role
Step 5
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 6
Verifying User Accounts and RBAC Configuration
To display user account and RBAC configuration information, perform one of the following tasks:
PurposeCommand
Displays the user role configurationswitch# show role
Displays the feature list.switch# show role feature
Displays the feature group configuration.switch# show role feature-group
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
322 OL-16597-01
Configuring User Accounts and RBAC
Changing User Role VSAN Policies