exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 170 discussion

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

Refer to the exhibit.

Which two commands ensure that DSW1 becomes root bridge for VLAN 10? (Choose two.)

  • A. DSW1(config)#spanning-tree vlan 10 priority 4096
  • B. DSW1(config)#spanning-tree vlan 10 priority root
  • C. DSW2(config)#spanning-tree vlan 10 priority 61440
  • D. DSW1(config)#spanning-tree vlan 10 port-priority 0
  • E. DSW2(config)#spanning-tree vlan 20 priority 0
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
J2DFW
Highly Voted 4 years, 1 month ago
The answers should be DSW1(config)#spanning-tree vlan 10 priority 4096 < -- This is listed DSW1(config)#spanning-tree vlan 10 priority root < -- this is not valid DSW1(config)#spanning-tree vlan 10 root primary < -- This is not listed, but should be the correct command
upvoted 24 times
ciscogear
3 years, 4 months ago
In that case B is incorrect. You must select best answers, not best config.
upvoted 1 times
...
...
Furiel
Highly Voted 4 years ago
A and C
upvoted 17 times
Hugh_Jazz
3 years, 7 months ago
Concur, A & C
upvoted 3 times
...
raizer
3 years, 8 months ago
Yes. A&C 61440 is a valid (and "low/bad") priority SW1(config)#spanning-tree vlan 10 priority 32767 % Bridge Priority must be in increments of 4096. % Allowed values are: 0 4096 8192 12288 16384 20480 24576 28672 32768 36864 40960 45056 49152 53248 57344 61440 Option B is not correct. it is just simmilar to: spanning-tree vlan 10 root primary
upvoted 12 times
...
...
AbdullahMohammad251
Most Recent 8 months, 2 weeks ago
Selected Answer: AC
Bridge priority must be multiples of 4096 (default is 32,768) The bridge with the lowest priority value becomes the root bridge. Option 'A' ensures that DSW1 is selected as the "root" bridge. Option 'C' also ensures that switch "DSW1" is the root bridge by modifying DSW2 priority. We can use either of these 2 methods to influence the root bridge selection. Option B uses the wrong syntax, it should be "DSW1(config)#spanning-tree vlan 10 root" Option D is incorrect, port priority is configured under the interface settings "DSW1(config-if)# spanning-tree VLAN 10 port-priority 0" which is used to influence root port selection in non-root bridges. Option E ensures DSW2 is the root for VLAN 20 which doesn't match our requirement.
upvoted 1 times
AbdullahMohammad251
8 months, 2 weeks ago
In option B, you must specify that the root is primary (we have primary and secondary roots). "DSW1(config)#spanning-tree vlan 10 root primary" With this command, DSW1 will look for the primary root, which is DSW2 in our case. It will check DSW2’s priority of 24,576 and set its own priority to a lower multiple of 4,096, which is 20,480. https://www.ciscopress.com/articles/article.asp?p=2995351&seqNum=2#:~:text=You%20can%20modify%20the%20port,VLAN%2Dby%2DVLAN%20basis. https://networklessons.com/spanning-tree/spanning-tree-root-bridge-configuration
upvoted 1 times
...
...
[Removed]
1 year ago
Selected Answer: AC
A & C are correct
upvoted 1 times
...
Marcinko
1 year, 3 months ago
A. is correct: the lower prio will win B is not correct due to there is missing subcommand after root (primary/secondary) Switch(config)#spanning-tree vlan 10 root ? primary Configure this switch as primary root for this spanning tree secondary Configure switch as secondary root C is correct, if you modifiy DSW2 prio to 61440 DSW1 will have the best prio
upvoted 2 times
...
slacker_at_work
1 year, 4 months ago
Option B is not valid, priority is an integer number (with steps of 4096). You can make the switch root by making the statement: "spanning-tree vlan 10 root" but without priority. SW1(config)#spanning-tree vlan 10 ? forward-time Set the forward delay for the spanning tree hello-time Set the hello interval for the spanning tree max-age Set the max age interval for the spanning tree priority Set the bridge priority for the spanning tree root Configure switch as root
upvoted 1 times
...
youfromparis
1 year, 6 months ago
A and D! D is better response than A!
upvoted 1 times
...
MaxwellJK
1 year, 10 months ago
Selected Answer: AC
B is no correct. DSW1(config)#spanning-tree vlan 10 priority ? <0-61440> bridge priority in increments of 4096 DSW1(config)#spanning-tree vlan 10 priority root ^ % Invalid input detected at '^' marker.
upvoted 1 times
...
techriese
1 year, 11 months ago
Selected Answer: AC
A & C is correct
upvoted 1 times
...
floodhound
2 years ago
Selected Answer: AC
B is an invalid command only A & C are valid here
upvoted 1 times
...
Cesar12345
2 years, 1 month ago
Selected Answer: AC
Switch(config)#spanning-tree vlan 10 priority ? <0-61440> bridge priority in increments of 4096 0 Is the lowest possible so the best available priority for the STP root bridge election.
upvoted 1 times
...
rami_mma
2 years, 2 months ago
Sorry A and B is correct
upvoted 1 times
...
rami_mma
2 years, 2 months ago
A and D is correct.
upvoted 2 times
...
Chiaretta
2 years, 3 months ago
Selected Answer: AC
Concur, A & C
upvoted 1 times
...
FelipePadilha
2 years, 4 months ago
Selected Answer: AC
A and C are the correct answers. For B to be valid, the command should be: spanning-tree vlan 10 root primary
upvoted 1 times
...
Ayman_B
2 years, 5 months ago
Selected Answer: AC
choosing A and C give two values to vlan 10 in DSW1(4096) and DSW2(61440) The root bridge is chosen based on the lowest bridge priority value, with the switch having the lowest priority becoming the root bridge and in this case DSW1 (496)
upvoted 1 times
...
nushadu
2 years, 5 months ago
Selected Answer: AC
sw1(config)#do s spann vla 10 VLAN0010 Spanning tree enabled protocol rstp Root ID Priority 24586 Address aabb.cc00.4000 Cost 100 Port 4 (Ethernet0/3) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32778 (priority 32768 sys-id-ext 10) Address aabb.cc00.1000 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Et0/0 Desg FWD 100 128.1 Shr Et0/2 Desg FWD 100 128.3 Shr Et0/3 Root FWD 100 128.4 Shr sw1(config)#
upvoted 1 times
nushadu
2 years, 5 months ago
sw2(config)#spanning-tree vlan 10 priority 4096 sw2(config)#do s spann vla 10 VLAN0010 Spanning tree enabled protocol rstp Root ID Priority 4106 Address aabb.cc00.4000 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 4106 (priority 4096 sys-id-ext 10) Address aabb.cc00.4000 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Et0/3 Desg FWD 100 128.4 Shr Po2 Desg FWD 100 128.65 Shr sw2(config)#
upvoted 1 times
nushadu
2 years, 5 months ago
sw1(config)#spanning-tree vlan 10 priority 61440 sw1(config)#do s spann vla 10 VLAN0010 Spanning tree enabled protocol rstp Root ID Priority 4106 Address aabb.cc00.4000 Cost 100 Port 4 (Ethernet0/3) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 61450 (priority 61440 sys-id-ext 10) Address aabb.cc00.1000 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- -------------------------------- Et0/0 Desg FWD 100 128.1 Shr Et0/2 Desg FWD 100 128.3 Shr Et0/3 Root FWD 100 128.4 Shr sw1(config)#
upvoted 1 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 ...