show rbac-role

Use this command to display information about TACACSClosed Terminal Access Controller Access Control System+ role-based authorization (RBAC) roles.

Command Syntax

Copy
show rbac-role (ROLE-NAME |)

Parameters

ROLE-NAME

Role name

Default

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced in OcNOS version 6.4.1.

Examples

The following examples display the show output of the RBAC role named myRole and its associated configurations.

Copy
OcNOS#show rbac-role myRole
----------------------------------------------------------------------
Role Name          : myRole
Default rule       : permit-all
Attached Policies  : myPolicy1
                   : myPolicy2
 
----------------------------------------------------------------------

Table 10. show rbac-role fields

Entry

Description

Role Name

Displays the name of the role, in this case, myRole.

Default rule

Indicates the default rule associated with the role, which can be permit-all or deny-all.

Attached Policies

Lists the names of policies that are attached to this role. In the example, myPolicy1 and myPolicy2 are attached to myRole.