Category: CCNA Study Guide

Password Command on CISCO Router/Switch

Command Password Use Sets the password for virtual terminal login. Syntax Router(config-line)#password <password> Example In this example a password is set for vty 0 4 login on R2. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line vty 0 4 R2(config-line)#password cisco The config is shown …

Exec-Timeout Command on CISCO Router/Switch

Command Exec-Timeout Use Sets the timeout period for virtual terminal session inactivity. Syntax Router(config-line)#exec-timeout <minutes> <seconds> <minutes> 0-35791 <seconds> 0-2147483 Example In this example an exec-timeout is set for console 0. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line vty 0 4 R2(config-line)#exec-timeout 15 50 R2(config-line)#

Logging synchronous Command on CISCO Router/Switch

Command Logging Synchronous Use When enabled on a virtual terminal, logging synchronous causes all router status messages to be displayed on a new line. Syntax Router(config-line)#logging synchronous Example For this example, logging synchronous was disabled for vty 1 on R2. R2(config-line)#no logging synchronous Notice now that, when status …

Lockable Command on CISCO Router/Switch

Command Lockable Use Enables console session locking. Syntax Router(config-line)#lockable Usage Before using the Lock command, you must first enable it by typing lockable under the console or VTY lines Type Lock You will be prompted to set a password. This is a one-time use password and shouldn’t be a password already on the …

History Size Command on CISCO Router/Switch

Command History Size Use Sets the amount of previous commands stored in the session history. These commands can be viewed by pressing the up arrow key. Syntax Router(config-line)#history size <0-256> Example In the example below, the history size is set for the console. R2#conf t Enter configuration commands, one per line. …

Privilege Command on CISCO Router/Switch

Command Privilege Use Sets the privilege level you run at upon logging in through the console. Syntax Router(config-line)#privilege level <0-15> Example In this example, privilege level 15 is used to set the console privilege to enable mode upon login. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. …

Length Command on CISCO Router/Switch

Command Length Use Sets the amount of lines outputted at once in a console session. Setting the line to 0 will mean that commands will print all of the output at once in the console screen. Syntax Router(config-line)#length <number> <number> 0-512 Example In this example, the line of the console is …

Password Command on CISCO Router/Switch

Command Lockable Use Enables console session locking. Syntax Router(config-line)#lockable Usage Before using the Lock command, you must first enable it by typing lockable under the console or VTY lines Type Lock You will be prompted to set a password. This is a one-time use password and shouldn’t be a password already on the …

Exec-Timeout Command on CISCO Router/Switch

Command Exec-Timeout Use Sets the timeout period for console session inactivity. Syntax Router(config-line)#exec-timeout <minutes> <seconds> <minutes> 0-35791 <seconds> 0-2147483 Example In this example an exec-timeout is set for console 0. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line con 0 R2(config-line)#exec-timeout 15 50 R2(config-line)#