Command Reference Basic Configuration Management Commands
The following example locks a terminal interface.
Ruijie(config-line)# lockable
Ruijie(config-line)# end
Ruijie# lock
Password: <password>
Again: <password>
Locked
Password: <password>
Ruijie#
Supports terminal locking in the line.
Use this command to support the lock command at the terminal. Use the no form of this command to
restore the default setting.
This function is disabled by default.
This command is used to lock a terminal interface in the corresponding line. To lock the terminal, run
the lock command in EXEC mode. Run the lockable command before running the lock command.
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>