Command Reference Basic Management Commands
Command
Mode
Line configuration mode
Usage Guide
This command is used to lock a terminal interface in the corresponding line. To lock the terminal, run
the lock command in EXEC mode.
Configuration
Examples
The following example enables terminal locking at the console port and locks the console:
Ruijie(config)# line console 0
Ruijie(config-line)# lockable
Ruijie(config-line)# end
Ruijie# lock
Password: <password>
Again: <password>
Locked
Password: <password>
Command Description Related
Commands
lock
Locks the terminal.
Platform
Description
None
login
If AAA is disabled, run the login command to enable simple login password authentication on the
interface. The no form of this command is used to delete the line login password authentication.
login
no login
Parameter Description
Parameter
Description
N/A N/A
Defaults
None
Command
Mode
Line configuration mode
Usage Guide
If the AAA security server is inactive, this command enables simple password authentication at login.
The password is configured for a VTY or console interface.