Author: ITExamAnswers Editorial Team
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.
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. CopySW3# 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. CopySW3#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. CopySW3#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. CopySW3#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. CopySW3#show vlan brief VLAN Name Status Ports —- ——————————– ——— ——————————- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, …
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. CopySW3#show port-sec Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ————————————————————————— Fa0/2 1 1 2 Shutdown ————————————————————————— …
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. CopySW3#show spanning-tree vlan 1VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 32769 Address 0018.b973.fc80 Cost 19 Port …
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. CopyVLAN 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, …
Command Switchport Port-Security Violation Use Sets the action that occurs to the switch port when a violation is triggered. The violation types are: Protect: Ignores all traffic on the interface Restrict: Ignores all traffic on the interface, but sends SNMP trap. Shutdown (default): Shuts the port down and does not allow …
Command Switchport Port-Security Mac-Address Use Sets the mac-address(es) that causes port-security violation. Syntax Switch(config-if)#switchport port-security mac-address <h.h.h.h> Or Switch(config-if)#switchport port-security mac-address sticky Use sticky in conjunction with switchport port-security maximum to have the switch learn which mac-addresses to allow. For example, if you set switchport port-security maximum 5, then the switch will learn and allow …