Displaying Rbac Settings; Rbac Configuration Examples; Rbac Configuration Example For Local Aaa Authentication Users - HP 5130 EI series Configuration Manual

Hide thumbs Also See for 5130 EI series:
Table of Contents

Advertisement

Displaying RBAC settings

Execute display commands in any view.
Task
Display user role information.
Display user role feature
information.
Display user role feature group
information.

RBAC configuration examples

RBAC configuration example for local AAA authentication
users
Network requirements
As shown in
The Telnet user has the username user1@bbb and is assigned the user role role1.
Configure role1 to have the following permissions:
Executes the read commands of any feature.
Configures no VLANs except VLANs 10 to 20.
Figure 24 Network diagram
Configuration procedure
# Assign an IP address to VLAN-interface 2, the interface connected to the Telnet user.
<Switch> system-view
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.1.70 255.255.255.0
[Switch-Vlan-interface2] quit
# Enable Telnet server.
[Switch] telnet server enable
# Enable scheme authentication on the user lines for Telnet users.
[Switch] line vty 0 63
[Switch-line-vty0-63] authentication-mode scheme
[Switch-line-vty0-63] quit
Command
display role [ name role-name ]
display role feature [ name feature-name | verbose ]
display role feature-group [ name feature-group-name ] [ verbose ]
Figure
24, the switch performs local AAA authentication for the Telnet user at 192.168.1.58.
59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents