How to lock operation terminal?
lock command is used for locking current user interface. Avoid un-authorization user operating this terminal interface. User interface contains Console port, AXU port and VTY virtual terminal and so on. Prompted to enter the password after enter the command, and prompted to enter the password again. If the two passwords are the same, then lock success. After that if you want to enter the system, you must press the Enter key. Prompted for a password, enter the password you just configured, can only be unlocked enter the system.
For example user login from Console port, lock current user interface.
It should be noted that this lock is only valid for the current terminal, such as telnet login device, terminal lock takes effect only for the current terminal, and other terminals telnet unaffected. After locked, the terminal has not unlocked, it will not timeout exit. For example, login device through console and lock, no matter how long, can be used only to enter the locked password before