100-150 Question 247
Select 2You are troubleshooting a network connectivity issue on a Cisco switch. A host connected to the switch is unable to reach its default gateway. You suspect there may be a problem with the VLAN configuration or trunking. Which of the following commands can help you identify the issue? (Select two.)
- A
show vlan brief
- B
show ip route
- C
show mac address-table
- D
show interfaces trunk
- E
show inventory
Show answer and explanation
Correct answers: A, D
Explanation
To troubleshoot VLAN or trunking issues, the 'show vlan brief' command can confirm whether the VLAN is properly configured and active, while the 'show interfaces trunk' command can verify if the trunking configuration is correct and operational. These commands are essential for isolating the problem and ensuring proper connectivity within the switch.
- A. Correct.
The 'show vlan brief' command displays the VLAN configuration on the switch, including whether the VLAN associated with the host is active and properly assigned to interfaces.
- B. Incorrect.
The 'show ip route' command is used to view the routing table, which is not directly relevant in diagnosing VLAN or trunking issues within the switch.
- C. Incorrect.
The 'show mac address-table' command shows the MAC addresses learned by the switch but does not provide information about VLAN configuration or trunking status.
- D. Correct.
The 'show interfaces trunk' command displays information about trunk ports, including whether the trunk is operational and which VLANs are allowed, which is critical for troubleshooting VLAN or trunking issues.
- E. Incorrect.
The 'show inventory' command provides details about the hardware components of the device, which is not helpful in diagnosing a VLAN or trunking issue.