Show Commands
show role
To display the user role configuration, use the show role command.
show role [name role-name]
Syntax Description
name role-name
Command Default
Displays information for all user roles.
Command Modes
Any command mode
Command History
Release
4.0(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information for a specific user role:
switch(config)# show role name MyRole
role: MyRole
description: new role
vlan policy: deny
permitted vlan
1-10
interface policy: deny
permitted interface
Ethernet2/1-8
vrf policy: permit (default)
This example shows how to display information for all user roles in the default virtual device context (VDC):
switch(config)# show role
role: network-admin
description: Predefined network admin role has access to all commands
on the switch
-------------------------------------------------------------------
Rule
-------------------------------------------------------------------
1
role: network-operator
description: Predefined network operator role has access to all read
commands on the switch
-------------------------------------------------------------------
Rule
-------------------------------------------------------------------
Perm
Type
Scope
permit
read-write
Perm
Type
Scope
(Optional) Displays information for a specific user
role name. The role name is case sensitive.
Modification
This command was introduced.
Entity
Entity
Cisco Nexus 7000 Series Security Command Reference
show role
863