show role

Displays all role information for the system.

Syntax

show role

Modes

Exec mode

Usage Guidelines

Output

The show role command displays the following information:

Output field Description
Role: Displays the name of the role.
Type: Displays the role type; for example, a role can be system-defined
Description: Displays additional information about the role and the permissions associated with that role.

Examples

The following example shows the defined roles available in the system.

device# show role
Role: admin 
Type: SYSTEM_DEFINED 
Description: Predefined admin role has access to all commands 

Role: user
Type: SYSTEM_DEFINED
Description: Predefined user role has access to Show 
commands and selected Exec commands