An engineer is troubleshooting a newly configured IEEE 802.1Q trunk link on interface `GigabitEthernet 0/2` connecting two switches, `SW-DIST-01` and `SW-ACCESS-01`. Users connected to VLAN 50 report a total loss of inter-switch connectivity, whereas users on VLAN 10 and VLAN 20 experience normal operations across the trunk. The interface configuration on `SW-DIST-01` is shown below:
text
interface GigabitEthernet0/2
switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 10,20,99
Which configuration command should the engineer execute on `SW-DIST-01` to restore inter-switch connectivity for VLAN 50?
- switchport trunk allowed vlan add 50Answer
- Bswitchport trunk native vlan 50
- Cswitchport mode access
- Dswitchport trunk allowed vlan 50
Answer
Execute `switchport trunk allowed vlan add 50` on interface `GigabitEthernet 0/2` to permit VLAN 50 traffic while preserving existing trunked VLANs.
The command `switchport trunk allowed vlan add 50` appends VLAN 50 to the active trunk filter list. Because the current interface explicitly restricts allowed VLANs to 10, 20, and 99, VLAN 50 traffic is dropped until it is explicitly appended to the permitted list.
Step-by-Step Solution
Key Concept
802.1Q Trunk Allowed VLAN Filtering
Estimated Time:1m 30s