exam questions

Exam 300-115 All Questions

View all questions & answers for the 300-115 exam

Exam 300-115 topic 4 question 182 discussion

Actual exam question from Cisco's 300-115
Question #: 182
Topic #: 4
[All 300-115 Questions]

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.)

  • 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
Show Suggested Answer Hide Answer
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.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ReikiDude
4 years, 10 months ago
A are incorrect. Switch(config-if)#switchport trunk allowed vlan remove vlan 100 ^ % Invalid input detected at '^' marker. Switch(config-if)#
upvoted 1 times
...
Bastex
5 years, 1 month ago
I think there is mistyping in the text. So probably A B are correct.
upvoted 1 times
...
depazs
5 years, 2 months ago
#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
upvoted 1 times
depazs
5 years, 2 months ago
except and remove
upvoted 1 times
...
...
MIi2604
5 years, 3 months ago
the sytax shoud wrong as well ? switchport trunk allowed vlan {add | all | except | remove} vlan-list switchport trunk allowed vlan remove <vlan> Not "switchport trunk allowed vlan remove} vlan <Vlan>"
upvoted 1 times
...
peka71
5 years, 6 months ago
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
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago