Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 94
Which two commands prune VLAN 10 from a switch interface? (Choose two.)
Answer options
- A. switchport trunk native vlan 10
- B. switchport trunk allowed remove vlan 10
- C. switchport trunk allowed vlan add 10
- D. no vlan 10
- E. switchport trunk allowed except vlan 10
Correct answer: B, E
Explanation
The correct answers are B and E because 'switchport trunk allowed remove vlan 10' explicitly removes VLAN 10 from the allowed list on a trunk interface, while 'switchport trunk allowed except vlan 10' allows all VLANs except for VLAN 10. Options A, C, and D do not effectively prune VLAN 10 from the trunk interface, as they either set the native VLAN or add VLAN 10 instead of removing it.