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
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.
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
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.
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.
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
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 )
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.
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.
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
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.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
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.
Mac13
Highly Voted 4 years agoyoutri
3 years, 5 months agoMimimimimi
3 years, 6 months agoSandyIndia
3 years, 7 months agoAmansoor79
3 years, 5 months agovcvetkovski
3 years, 1 month agoCodicia
2 years, 9 months agoAsymptote
2 years, 5 months agoBroekie
Highly Voted 3 years, 10 months agoBuzzLightBeer
3 years, 6 months agovdsdrs
3 years, 7 months agoAdrenalina73
3 years, 7 months agoABC123
3 years, 9 months agobhover
Most Recent 1 month, 2 weeks agoBT22
7 months agoeoin1907g
9 months ago[Removed]
10 months, 2 weeks agoHansy_2024
10 months, 2 weeks agoHaidary
1 year agoIgorLVG
1 year, 2 months agoMarcinko
1 year, 2 months agoTadese
1 year, 4 months agomgiuseppe86
1 year, 7 months agoLanreDipeolu
1 year, 8 months agoJochenStacker
1 year, 8 months agodanman32
1 year, 9 months agoSplashisthegreatestmovie
1 year, 10 months agoMaxwellJK
1 year, 9 months agodanman32
1 year, 9 months agoChiaretta
2 years ago