ICND2: Interconnecting Cisco Networking Devices Part 2 (legacy) — Question 63
Which command do you enter to verify that a VLAN has been removed from a trunk?
Answer options
- A. Switch(config-if)# switchport trunk allowed vlan none
- B. Switch(config-if)# switchport trunk except vlan 10
- C. Switch(config-if)# switchport trunk remove vlan 10
- D. Switch(config-if)# no switchport trunk allowed vlan add 10
Correct answer: A
Explanation
The correct command, 'Switch(config-if)# switchport trunk allowed vlan none', effectively removes all VLANs from the trunk, confirming their absence. The other options either attempt to modify the allowed VLANs incorrectly or do not remove any VLANs from the trunk at all.