Home » Cisco » 300-115 » Which two commands will remove VLAN 100 from the allowed VLAN list?
EXHIBIT – switchport trunk allowed vlan 1,80,99-250
Which two commands will remove VLAN 100 from the allowed VLAN list? (Choose two.)
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
D. switchport trunk remove vlan 100
Correct Answer: AB
Explanation/Reference:
A & B are right 1- after applying the question command:switchport trunk allowed vlan 1,80,99-250 Switch(config)#do show int trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1,80,99-250 Port Vlans allowed and active in management domain Fa0/1 1 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1 now after applying “except 100”: Switch(config-if)#switchport trunk allowed vlan except 100 Switch(config-if) #do show int trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1-99,101-1005 Port Vlans allowed and active in management domain Fa0/1 1 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 none You can see that except 100 , allowed all vlans except 100, which is against what is required in the question.