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
22-345
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 22 Show Commands
show role
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.
show role
[
name
string
| pending | pending-diff | session status | status
]
Syntax Description
Defaults
None.
Command Modes
EXEC mode.
Command History
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
name
string
Specifies a name of the role.
pending
Displays uncommitted role configuration for fabric distribution.
pending-diff
Displays the differences between the pending configuration and the active
configuration.
session status
Displays the session status for a role.
status
Displays the status of the latest Cisco Fabric Services (CFS) operation.
Release
Modification
1.0(2)
This command was introduced.
2.0(x)
Added the
pending
,
pending-diff
,
session
, and
status
options.