HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

83
escape-key
history-command max-size
idle-timeout
protocol inbound
screen-length
set authentication password
shell
terminal type
user-role
Examples
# Set the user connection timeout to 15 minutes in VTY line class view.
<Sysname> system-view
[Sysname] user-interface class vty
[Sysname-line-class-vty] idle-timeout 15
Related commands
user-interface
user-role
Use user-role to assign a user role to a user line so users logged in through the user line get the user role
at login.
Use undo user-role to remove a user role or restore the default.
Syntax
user-role role-name
undo user-role [ role-name ]
Default
A console line user is assigned the user role network-admin. Users of other user lines are assigned the
user role network-operator.
Views
User line view, user line class view
Predefined user roles
network-admin
Parameters
role-name: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role can be
predefined (network-admin, network-operator, or level-0 to level-15) or user-defined. If you do not specify
this argument for the undo user-role command, the command restores the default user role.
Usage guidelines
You can assign up to 64 user roles to a user line. A user logged in through the user line gets all the user
roles.
For more information about user roles, see "Configuring RBAC."