100-150 Question 242
Single answerYou are troubleshooting a connectivity issue on a Cisco switch. You suspect that the issue is related to incorrect VLAN configuration on a specific port. Which 'show' command would provide the most relevant information to confirm the VLAN assignment on the port?
- A
show vlan brief
- B
show running-config interface
- C
show mac address-table
- D
show ip interface brief
Show answer and explanation
Correct answer: B
Explanation
The 'show running-config interface
- A. Incorrect.
This command provides an overview of all VLANs configured on the switch and their associated ports, but it does not show the specific configuration details for a single interface.
- B. Correct.
This command displays the detailed configuration for a specific interface, including its VLAN assignment and other settings, making it the most relevant for confirming port VLAN configuration.
- C. Incorrect.
This command shows the MAC addresses learned on the switch and their associated VLANs, but it is not specific to the configuration of an individual port.
- D. Incorrect.
This command provides a summary of all interfaces on the switch, including their IP addresses and status, but it does not include VLAN assignment details.