Configuration Guide Basic Management
The session connecting to a remote host will be disconnected and the host be restored to Idle if no output is detected
during the timeout time.
Perform this configuration when you need to increase or reduce the session timeout time.
Locking a Session
(Optional) Perform this configuration when you need to temporarily exit a session on a device.
To lock a session, first enable terminal lock in line configuration mode, and then run the lock command to lock the
terminal.
Verification
Run the show running-config command to display the configuration.
In the case that AAA is disabled, after local user information and line-based local authentication are configured, check
whether users are prompted for username and password input for access to the CLI.
In the case that AAA is enabled, after local user information and local AAA authentication are configured, check
whether users are prompted for username and password input for access to the CLI.
Run the show user command to display the information about the users who have logged in to the CLI.
Telnet clients can connect to devices enabled with the Telnet Server service.
When a user presses Enter on a locked CLI, the user is prompted for password input. The session is unlocked only
when the entered password is the same as the configured one.
Run the show sessions command to display every established Telnet client instance.
Related Commands
Configuring Local User Information
username name [ login mode { console | ssh | telnet } ] [ online amount number ] [ permission
oper-mode path ] [ privilege privilege-level ] [ reject remote-login ] [ web-auth ] [ pwd-modify ]
[ nopassword | password [ 0 | 7 ] text-string ]
name: Indicates a user name.
login mode: Indicates the login mode.
console: Sets the login mode to Console.
ssh: Sets the login mode to SSH.
telnet: Sets the login mode to Telnet.
online amount number: Indicates the maximum number of online accounts.
permission oper-mode path: Configures the file operation permission. op-mode indicates the operation
mode, and path indicates the directory or path of a specific file.
privilege privilege-level: Indicates the account privilege level, ranging from 0 to 15.
reject remote-login: Rejects remote login by using the account.
web-auth: Allows only Web authentication for the account.
pwd-modify: Allows the account owner to change the password. This option is available only when