ICND2: Interconnecting Cisco Networking Devices Part 2 (legacy) — Question 76
Which command do you enter to allow a new VLAN across a trunk?
Answer options
- A. Switch(config-if)# switchport trunk except vlan10
- B. Switch(config-if)# no switchport trunk remove vlan10
- C. Switch(config-if)# switchport trunk allowed vlan add10
- D. Switch(config-if)# switchport trunk allowed vlan10
Correct answer: C
Explanation
The correct command is 'Switch(config-if)# switchport trunk allowed vlan add10', which adds VLAN 10 to the allowed list on a trunk. Option A incorrectly uses 'except', which would block the VLAN. Option B does not add a VLAN but attempts to remove it, which is not relevant to the question. Option D specifies the VLAN without the 'add' keyword, which does not modify the allowed VLANs.