Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 45
A Cisco switch was configured using the "switchport trunk allowed vlan 1,80,99-250" command.
Which two commands will remove VLAN 100 from the allowed VLAN list? (Choose two.)
Answer options
- A. switchport trunk allowed vlan remove vlan 100
- B. switchport trunk allowed vlan 1-80,99,101-250
- C. switchport trunk allowed vlan except vlan 100
Correct answer: A, B
Explanation
Option A is correct because it specifically removes VLAN 100 from the allowed list. Option B is also correct as it redefines the allowed VLANs, excluding 100. Option C is incorrect because the 'except' keyword is not valid in this context for removing a specific VLAN.