R211x-HP Flexfabric 11900 Security Configuration Guide
48
# Enable the SSH service.
[Switch] ssh server enable
# Enable scheme authentication for user lines VTY 0 through VTY 63.
[Switch] line vty 0 63
[Switch-line-vty0-63] authentication-mode scheme
[Switch-line-vty0-63] quit
# Enable the default user role feature to assign authenticated SSH users the default user role
network-operator.
[Switch] role default-role enable
Verifying the configuration
When the user initiates an SSH connection to the switch and enter the correct username and password,
the user successfully logs in and can use the commands for the network-operator user role.
Local authentication, HWTACACS authorization,
and RADIUS accounting for SSH users
Network requirements
As shown in Figure 12, configure the switch to do the following:
• Perform local authentication for SSH servers.
• Use the HWTACACS server and RADIUS server for SSH user authorization and accounting,
respectively.
• Assign the default user role network-operator to SSH users after they pass authentication.
Configure an account with the username hello for the SSH user. Configure the shared keys for secure
communication with the HWTACACS server and RADIUS server to expert. Configure the switch to
remove domain names from usernames sent to the servers.
Figure 12 Network diagram
Configuration procedure
1. Configure the HWTACACS server. (Details not shown.)










