show role
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
show role
To display roles (and their associated rules) configured on the switch, including those roles that have not
yet been committed to persistent storage, use the show role command.
Syntax Description
name string
pending
pending-diff
session status
status
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
2.0(x)
Usage Guidelines
The rules are displayed by rule number and are based on each role. All roles are displayed even if role
name is not specified.
Only network-admin role can access this command.
Examples
The following example shows how to display information for all roles.
switch# show role
Role: network-admin
Description: Predefined Network Admin group. This role cannot be modified
Access to all the switch commands
Role: network-operator
Description: Predefined Network Operator group. This role cannot be modified
Access to Show commands and selected Exec commands
Role: svc-admin
Description: Predefined SVC Admin group. This role cannot be modified
Access to all SAN Volume Controller commands
Role: svc-operator
Description: Predefined SVC Operator group. This role cannot be modified
Access to selected SAN Volume Controller commands
Cisco MDS 9000 Family Command Reference
22-298
show role [name string | pending | pending-diff | session status | status]
Specifies a name of the role.
Displays uncommitted role configuration for fabric distribution.
Displays the differences between the pending configuration and the active
configuration.
Displays the session status for a role.
Displays the status of the latest Cisco Fabric Services (CFS) operation.
Modification
This command was introduced.
Added the pending, pending-diff, session, and status options.
Chapter 22
Show Commands
OL-16217-01, Cisco MDS SAN-OS Release 3.x