Category: CCNA Study Guide
Command ESC – d Use Deletes any full word ahead of the cursor in the command console. Syntax ESC, then ‘d’ character Example For example, after typing the following command, the cursor is navigated to the beginning of the line, highliting the ‘s’. R4(config)#show ip route After using ESC, …
Command Ctrl – A Use Moves cursor to the beginning of the line in the command console. Syntax ctrl + A
Command Ctrl – F Use Advances the cursor one character forward in the command console. Syntax ctrl + f
Command Tab Use Allows users to complete commands that have not been fully typed. This hotkey is useful if you happen to forget the spelling of a command. Syntax Tab key Example In this example, the user uses the Tab key to complete a command. Notice that, after hitting Tab, a …
Command Show Interface Use Displays interface status on the switch. Syntax Switch#show interface Or Switch#show interface <int> Example In this example, the interface information is shown for fa0/2 on SW3. SW3#show interface fa0/2 FastEthernet0/2 is down, line protocol is down (err-disabled) Hardware is Fast Ethernet, address is 0019.060c.9404 (bia …
Command Show VTP Status Use Displays VTP information on the switch. Syntax Show# show vtp status Example Here is the output of the VTP status on SW3. SW3# show vtp status VTP Version : 2 Configuration Revision : 23 Maximum VLANs supported locally : 1005 Number of existing …
Command Show Interface-Trunk Use Displays the trunk information on the switch. Syntax Switch#show interface trunk Example Here’s the output of show interface trunk for SW3. SW3#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/19 auto n-802.1q trunking 1 Fa0/20 auto n-802.1q trunking 1 Fa0/21 auto n-802.1q trunking 1 Fa0/22 …
Command Show Mac-Address-Table Use Displays the mac address table on the switch. Syntax Switch#show mac-address-table Example In this example, the mac address table is displayed for SW3. SW3#show mac-address-table Mac Address Table ——————————————- Vlan Mac Address Type Ports —- ———– ——– —– All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd …
Command Show Spanning-Tree Vlan Use Shows the spanning tree information for a specific VLAN on the switch. Syntax Switch#show spanning-tree vlan <number> Example In this example, the spanning tree configuration for VLAN 1 is displayed on SW3. SW3#show spanning-tree vlan 1VLAN0001 Spanning tree enabled protocol ieee Root ID …
Command Show Vlan Brief Use Shows a basic summary of the VLAN information on the switch. Syntax Switch#show vlan brief Example Here is the show vlan brief output for SW3. SW3#show vlan brief VLAN Name Status Ports —- ——————————– ——— ——————————- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, …