A network administrator is troubleshooting communication between two switches connected via a trunk port. The trunk link is up/up, but devices in VLAN 20 cannot communicate across the trunk. The administrator has verified that both switches have VLAN 20 created and that the access ports are configured correctly. Which command should the administrator run on each switch to verify the trunk's allowed VLAN list?
This command is the most effective for troubleshooting VLAN communication issues over a trunk link because it provides a comprehensive overview of the trunk's operational status. It explicitly lists the allowed VLANs on the trunk interface, the native VLAN, and the trunking encapsulation type (e.g., 802.1Q). By checking the "Vlans allowed on trunk" output, an administrator can quickly determine if the specific VLAN experiencing communication problems (e.g., VLAN 20) is permitted to traverse the link.
Why this answer
The 'show interfaces trunk' command displays the trunking status, including the allowed VLAN list on the trunk port. Since the trunk link is up/up but VLAN 20 traffic fails, the most likely cause is that VLAN 20 is not included in the allowed VLAN list on one or both switches. This command directly shows which VLANs are permitted, pruned, or active on the trunk.
Exam trap
The N10-009 exam often tests the distinction between 'show vlan brief' (which shows VLAN existence and access port assignments) and 'show interfaces trunk' (which shows trunk-specific VLAN permissions), leading candidates to mistakenly check VLAN existence instead of trunk VLAN filtering.
Why the other options are wrong
The 'show vlan brief' command displays VLAN membership and ports assigned to each VLAN, but it does not show the allowed VLAN list on a trunk port. The trunk's allowed VLAN list is specifically shown by 'show interfaces trunk'.
The 'show running-config interface' command displays the current configuration of an interface, including VLAN assignments and trunk settings, but it does not show the dynamically learned allowed VLAN list or the operational trunk status. For verifying the trunk's allowed VLAN list, 'show interfaces trunk' is needed.
The 'show mac address-table' command displays MAC address entries learned by the switch, not the allowed VLAN list on a trunk port. It does not provide information about which VLANs are permitted on the trunk link.