Category: CCNA Study Guide

Show IP Interfaces Command on CISCO Router/Switch

Command Show IP Interface Use This command displays a summary of the IP information on an interface. It is useful for quickly verifying configurations. Syntax Router#show ip interface  OR Router#show ip interface <interface> Example In the below example we use show ip interface to quickly see how interfaces are configured. R2#show …

Show Frame-Relay LMI Command on CISCO Router/Switch

Command Show Frame-Relay LMI Use This command displays any LMI information the router has learned about. Syntax Router#show frame-relay lmi Example In this example, we use show frame-relay lmi to display any LMI information the router has learned. R4(config)#do sh frame lmi LMI Statistics for interface Serial0/0 (Frame Relay DTE) …

Show Debug Command on CISCO Router/Switch

Command Show Debug Use Shows which debugging commands are active on the router. It is important to not leave unnecessary debugging on as it will eat up the CPU. Syntax Router#show debug Example In this example, we use the show debug command to see what debugging is enabled on the …

Show Access-Lists Command on CISCO Router/Switch

Command Show Access-Lists Use This command displays information about the access-lists that are configured on a router. It also shows information about what lines are matching in the ACL. Syntax Router#show access-lists OR Router#show access-lists <number or name> Example In the below example we use show access-lists to see what …

Access-Class Command on CISCO Router/Switch

Command Access-Class Use Specifies which hosts can telnet/ssh into the vty. Syntax Router(config-line)#access-class <list> <in or out> Options <in> Applies the access-list to inbound traffic on the interface. <out> Applies the access-list to traffic leaving the router. Example In this example, an access-class is created on R2.. R2#conf t …

Lockable (vty) Command on CISCO Router/Switch

Command Lockable Use Enables vty 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 number 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 vty. R2#conf t Enter configuration commands, one per line. …

Length Command on CISCO Router/Switch

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