VLAN 10 must be allowed only on SW1 and SW2, but VLAN 10 appeared on SW3. Which configuration fixes this?
Choose an answer
Tap an option to check your answer.
Correct answer: SW2(config)#int gi1/2 SW2(config)#switchport trunk allowed vlan 1-9,11-4094.
Why this is the answer
The correct answer restricts VLAN 10 from traversing the trunk link on SW2's gi1/2 interface by explicitly allowing all VLANs except 10. Since VLAN 10 should only exist on SW1 and SW2, preventing its propagation to SW3 via SW2's trunk ensures it doesn't appear where it shouldn't. The first incorrect option on SW1 would prevent VLAN 10 from leaving SW1, which is not the problem. The second incorrect option on SW2 would only allow VLAN 10 on that trunk, blocking all other necessary VLANs. The fourth incorrect option on SW1 would only allow VLAN 10 on that trunk, which is not the desired outcome for SW1's connection to other switches.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed