exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 185 discussion

Actual exam question from Cisco's 350-401
Question #: 185
Topic #: 1
[All 350-401 Questions]


Refer to the exhibit. All switches are configured with the default port priority value. Which two commands ensure that traffic from PC1 is forwarded over the Gi1/3 trunk port between DSW1 and DSW2? (Choose two.)

  • A. DSW2(config)#interface gi1/3
  • B. DSW1(config-if)#spanning-tree port-priority 0
  • C. DSW2(config-if)#spanning-tree port-priority 128
  • D. DSW1(config)#interface gi1/3
  • E. DSW2(config-if)#spanning-tree port-priority 16
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
Mac13
Highly Voted 4 years ago
The correct answers would look to be A & E. Priority is chosen based on the upstream port, therefore we need to make this change on DSW2. This means answers B and D are out. Port priority is set in increments of 16: Switch(config-if)#spanning-tree port-priority ? <0-240> port priority in increments of 16 This leaves us with C or E. C is the default, so won't change the behaviour here, so it's out too. The only two still standing are A & E.
upvoted 84 times
youtri
3 years, 5 months ago
you are right, i was using an IOS switch en eve ng and the incremnt is 64
upvoted 4 times
...
Mimimimimi
3 years, 6 months ago
I trust the answer from Mac13. If you change port-priority, you do it on designated ports/upstream devices. (i.e. DSW2) If you would change DSW1, you would have to work with port costs on root ports/downstream devices. Source: https://community.cisco.com/t5/routing/spanning-tree-with-port-priority/td-p/1815059
upvoted 2 times
...
SandyIndia
3 years, 7 months ago
DSW2 is root bridge. Port-priority always change on far end switch for root port & blocking port which is SW1. B & D are correct.
upvoted 8 times
Amansoor79
3 years, 5 months ago
far end from root PORT. not from root bridge. AE is the correct answer
upvoted 5 times
...
...
vcvetkovski
3 years, 1 month ago
DSW2 is the Root Bridge, so everything should be observe from its point of view. STP works in the following way: 1. Root Bridge election >>> all ports on the RB are designated 2. Root Port election each switch from its perspective chooses the best path cost to the root bridge. election criteria is the port cost, which consists of: 1-port priority (0-255) 2-port number the only thing that we can manipulate to change the STP result is changing the port cost of Gi1/3 of the DSW1.
upvoted 2 times
Codicia
2 years, 9 months ago
Actually, AL SW2 is the RB since MAC 0013 < 0018
upvoted 1 times
Asymptote
2 years, 5 months ago
RB election based on lowest BID > lowest MAC
upvoted 2 times
...
...
...
...
Broekie
Highly Voted 3 years, 10 months ago
Correct Answer here is B, D DSW2 will be elected as root bridge. So all the ports of a root bridge are in forwarding mode. DSW1 has to make the decision to block redundant ports. Default port priority is 128, so interface number breaks the tie. In this case Gi1/3 on DSW1 will be blocked. To prefer Gi1/3 over Gi1/2 the port priority has to be lower than 128. the most appropriate answer is DSW1(config-if)#spanning-tree port-priority 0. Before applying this command you need to apply DSW1(config)#interface gi1/3 The priority values are 0, 32, 64, 96, 128, 160, 192, and 224. All other values are rejected. https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/spanning-tree-port-priority.html#:~:text=The%20priority%20values%20are%200,is%20the%20default%20STP%20mode.
upvoted 24 times
BuzzLightBeer
3 years, 6 months ago
Negative. Setting port priority changes what is ADVERTISED to neighboring switch. The change must be made on SW2 to influence SW1 blocking.
upvoted 9 times
...
vdsdrs
3 years, 7 months ago
Correct ans are B and D. Small clarification regarding port priority values. In ENT Core exam we learn about IOS-XE not IOS-XR (n5k). IOS-XE: 'For priority, the range is 0 to 240, in increments of 16; the default is 128. Valid values are 0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, and 240. All other values are rejected. The lower the number, the higher the priority.' https://www.cisco.com/en/US/docs/switches/lan/catalyst3650/software/release/3se/consolidated_guide/configuration_guide/b_consolidated_3850_3se_cg_chapter_01001001.html#ID828
upvoted 2 times
...
Adrenalina73
3 years, 7 months ago
I confirm B,D tested on GNS3 lab
upvoted 4 times
...
ABC123
3 years, 9 months ago
Make sense
upvoted 1 times
...
...
bhover
Most Recent 1 month, 2 weeks ago
IMO B&D should be the correct answer unless if DSW1 is the RB for vlan 10, then A&E become correct
upvoted 1 times
...
BT22
7 months ago
Answer is B&D . Since DSW2 is root bridge and all its ports disgnated. We need to change the configuration on DSw1
upvoted 1 times
...
eoin1907g
9 months ago
ANS B&D.. DSW2 is the root bridge , it has the lowest priority , the port priority needs to be changed on SW1 , as all ports on DSW2 are FWD , DSW1 Gi1/3 is BLK so it needs to have a lower port priority than DSW1 gi1/2 setting Gi1/3 to 0 will make it the RP as it should be lower than the default port priority on Gi1/2 ( assume Gi1/2 is configured with the default value )
upvoted 2 times
...
[Removed]
10 months, 2 weeks ago
Selected Answer: AE
A & E are correct
upvoted 1 times
...
Hansy_2024
10 months, 2 weeks ago
If you think BD is right, please read Asymptote explantion. For sure AE is the only option. If you still think BD you misunderstand the fare end port priority.
upvoted 1 times
...
Haidary
1 year ago
A&E are the correct answers
upvoted 1 times
...
IgorLVG
1 year, 2 months ago
the answer is A/E. the reference: https://www.ciscopress.com/articles/article.asp?p=2995351&seqNum=2
upvoted 1 times
...
Marcinko
1 year, 2 months ago
Selected Answer: AE
In the DSW1,DSW2,ASW1,ASW2 STP domain the DSW2 has the best prio:24576 port priority has to be modified on the upstream switch (DSW2).
upvoted 2 times
...
Tadese
1 year, 4 months ago
The correct answer is A&E
upvoted 1 times
...
mgiuseppe86
1 year, 7 months ago
I am having a tough time with this one. The answer can be B or E. (but definitely A) DSW2(config-if)#spanning-tree port-priority ? <0-240> port priority in increments of 16 you can actually set it to 0 or 16 and DSW1 will see it as a root port. Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Gi1/2 Altn BLK 4 128.1 P2p Gi1/3 Root FWD 4 128.2 P2p So im not too sure what the right answer is.
upvoted 1 times
...
LanreDipeolu
1 year, 8 months ago
Selected Answer: AE
You should open the interface you want to configure. "A" opens the correct interface and "E" configures it. AE are the correct answers
upvoted 2 times
...
JochenStacker
1 year, 8 months ago
Selected Answer: AE
Is the only answer I can see that makes sense
upvoted 2 times
...
danman32
1 year, 9 months ago
One thing we can all agree on, can't be DE as given answer says. D is starting configuration on SW1, E continues the interface configuration on SW2. Mismatched pairs. Only choice pairs that can be chosen are AE or BD. Choice C is default port priority so that's out if you think you should configure SW2, not relevant if you think you should configfure SW1. I misread the text saying all PORT priorities are at defaults, thinking it said all switch priorities are defaults, though the exhibit shows the two distribution switches have different priorities. Either way, switch priorities same or as exhibited, bridge MAC makes SW2 root. That makes all its ports designated, so it is SW1 that needs to decide whether either of the ports between then are RP or blocked. Only way to do this is by setting port priority. But SW1 will be going by the port priority it sees reported by SW2, NOT by what SW1 ports are set to. So must make configuration change at SW2. Answer therefore must be AE
upvoted 2 times
...
Splashisthegreatestmovie
1 year, 10 months ago
Selected Answer: BD
You're all mistaken. To change the port priority on a switch you have to change the adjacent port on the upstream switch. It's B&D. It's page 64 of the OCG.
upvoted 1 times
MaxwellJK
1 year, 9 months ago
Read it again. You will figure it out. it is A & E. "Both the port priority and port number are controlled by the upstream switch" in this case DSW2.
upvoted 2 times
...
danman32
1 year, 9 months ago
Upstream from root bridge, not upstream from packet stream. Direction of frames has no bearing on what STP blocks or doesn't blocks.
upvoted 3 times
...
...
Chiaretta
2 years ago
Selected Answer: AE
A and E
upvoted 2 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