90
• A setting in user line class view does not take effect for current online users. It takes effect only
for new login users.
Examples
# Set the CLI connection idle-timeout timer to 15 minutes in VTY line class view.
<Sysname> system-view
[Sysname] user-interface class vty
[Sysname-line-class-vty] idle-timeout 15
# In AUX line class view, configure character s as the terminal session activation key.
<Sysname> system-view
[Sysname] user-interface class aux
[Sysname-line-class-aux] activation-key s
[Sysname-line-class-aux] quit
# In the view of AUX line 0, restore the default terminal session activation key.
[Sysname] user-interface aux 0
[Sysname-line-aux0] undo activation-key
Alternatively, you can use the following command:
[Sysname-line-aux0] activation-key 13
To verify the configuration:
1. Exit the session on AUX line 0.
[Sysname-line-aux0] return
<Sysname> quit
2. Log in again through the AUX line.
The following message appears:
Press ENTER to get started.
3. Press Enter.
Pressing Enter does not start a session.
4. Enter s.
A terminal session is started.
<Sysname>
Related commands
user-interface
user-role
Use user-role to assign a user role to a user line. The device assigns the user role to a user of the
line when the user logs in.
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.