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.)
Suggested Answer:AB🗳️
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.
#Cisco1(config-if)#switchport trunk allowed vlan ?
WORD VLAN IDs of the allowed VLANs when this port is in trunking mode
add add VLANs to the current list
all all VLANs
except all VLANs except the following
none no VLANs
remove remove VLANs from the current list
To take out one vlan you should use:
except, Except
I think is a difference between "switchport trunk allowed vlan 1,80" and "switchport trunk allowed vlan 1-80", - so "B" is not a correct answer
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ReikiDude
4 years, 10 months agoBastex
5 years, 1 month agodepazs
5 years, 2 months agodepazs
5 years, 2 months agoMIi2604
5 years, 3 months agopeka71
5 years, 6 months ago