Tab keyboard on CISCO Router/Switch

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 …

Show Interface Command on CISCO Router/Switch

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 …

Show Interface-Trunk Command on CISCO Router/Switch

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 …

Show Mac-Address-Table Command on CISCO Router/Switch

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 …

Show Spanning-Tree Vlan Command on CISCO Router/Switch

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 …

Show Vlan Brief Command on CISCO Router/Switch

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, …

Show Port-Security Command on CISCO Router/Switch

Command Show Port-Sec Use Shows the port-security status on the switch / interface. Syntax Show#show port-sec Or Show#show port-sec <int> Example This first example is the output of show port-sec on SW3. SW3#show port-sec Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ————————————————————————— Fa0/2 1 1 2 Shutdown ————————————————————————— …

Show Spanning-Tree Command on CISCO Router/Switch

Command Show Spanning-Tree Use Displays the spanning tree configuration on the switch. Syntax Switch#show spanning-tree 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 Priority 32769 Address 0018.b973.fc80 Cost 19 Port …

Show Vlan Command on CISCO Router/Switch

Command Show Vlan Use Displays the current VLAN configuration on the switch. Syntax Switch#show vlan Example Here, the VLAN configuration is displayed for SW3. VLAN Name Status Ports —- ——————————– ——— ——————————- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, …