61
Obtaining temporary user role authorization
AUX, or VTY users must pass authentication before they can use a user role that is not included in the user
account they are logged in with.
Perform the following task in user view:
Task Command
Remarks
Obtain the temporary
authorization to use a
user role.
super [ rolename ]
The operation fails after three consecutive unsuccessful
password attempts.
The user role must have the permission to execute the
super command to obtain temporary user role
authorization.
Displaying RBAC settings
Execute display commands in any view.
Task Command
Display user role information. display role [ name role-name ]
Display user role feature
information.
display role feature [ name feature-name | verbose ]
Display user role feature group
information.
display role feature-group [ name feature-group-name ] [ verbose ]
RBAC configuration examples
RBAC configuration example for local AAA authentication
users
Network requirements
As shown in Figure 20, the switch performs local AAA authentication for the Telnet user. The Telnet user
has the username user1@bbb and is assigned the user role role1.
Configure role1 to have the following permissions:
• Can execute the read commands of any feature.
• Cannot configure any VLANs except VLANs 10 to 20.
Figure 20 Network diagram