Command:

lockable


Mode:

Router(config-line)#


Syntax:

lockable

no lockable


Syntax Description:

This command has no arguments or keywords.


Command Description:

To enable the lock EXEC command, use the lockable global configuration command. This command enables a terminal-locking mechanism that allows a terminal to be temporarily locked.  Use the no form of this command to reinstate the default. This allows a user to lock a privilege exec session using the lock command. A locked session allows the user to leave a privilege exec session and not leave it available for someone to change. When a lock command is issued, the user will be prompted for a password and a conformation of that password. When the password and conformation is entered, the session is locked. The user must press the Enter key and enter this password to resume the session.


Example:

The following example is the dialog of the use of the lockable and lock commands 

Router#conf t
Router(config)#line console 0
Router(config-line)#lock
Router(config-line)#lockable
Router(config-line)#^z
Router#lock

Password:

Again:

Locked

Password:

Misconceptions:
None

Related Commands:
lock
line

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)