exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 556 discussion

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


Refer to the exhibit. Assuming all links are functional, which path does PC1 take to reach DSW1?

  • A. PC1 goes from ALSW1 to DSW2 to CORE to DSW1.
  • B. PC1 goes from ALSW1 to DSW2 to ALSW2 to DSW1.
  • C. PC1 goes from ALSW1 to DSW2 to DSW1.
  • D. PC1 goes from ALSW1 to DSW1.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
tckoon
Highly Voted 2 years, 3 months ago
Selected Answer: C
Path cost from ALSW1 to root bridge(DSW2) via DSW1 is 2 + 2 = cost of 4. ( 10gbps+10Gbps) Path cost from ALSW1 to root bridge(DSW2) is 4 = cost of 4. ( 1Gbps) Therefore the patch cost equal and DSW2 is root bridge Therefore it will via Gi0/2. Answer is C. IF let say the question change the ALSW1 to DSW2 Gi0/2 interface to 100Mbps (cost=19) , the answer will be different. ALSW1 to DSW2 will be blocked. Answer will be D.
upvoted 15 times
...
chegii
Highly Voted 1 year, 11 months ago
Selected Answer: C
STP Rule 1—All ports of the root switch must be in forwarding mode. DSW2 is root because it has lowest priority 24576. Therefore, ALSW1 will block port Gi0/1 The path will be PC1 to ALSW1 to DSW2 to DSW1
upvoted 13 times
Alondrix
1 year, 2 months ago
True, but forwarding ports on the root switch would be misleading if considered alone. Path cost is considered by the downstream switch based on the received BPDU, not at the root.
upvoted 1 times
...
...
91fdc83
Most Recent 3 weeks, 5 days ago
Selected Answer: D
Cisco SWs use Rapid PVST by default which uses different cost values. That being the case , G0/1 becomes the root port because its cost to reach the root bridge (10g+10g= 2000+2000) is smaller than directly to the root thru g0/2 (1g = 20000), which enters the alternate state and doesn't forward traffic.
upvoted 1 times
...
Kan3184
5 months, 2 weeks ago
Selected Answer: D
Guys, the trick is how to calculate path costs. From ALSW1 to root bridge(DSW2) via DSW1 is 2 + 1 = cost of 3. ( 10gbps+20Gbps). This is because the link between DSW1 and DSW2 is Etherchannel 20Gbps. According to the table 2-2 from OSG, 20 Gbps gives us the cost 1, not 2!
upvoted 2 times
...
[Removed]
8 months ago
C is correct
upvoted 1 times
[Removed]
8 months ago
after i read some comments i see many people confused about this. don't make it hard on your self, just think simple. we have 3 switches forming a circle, we all know that DSW2 is the root bridge and all RB ports are forwarding. in this case, we know for sure that the only connection left is the one between ALSW1 and DSW1, this link should be blocking on 1 of it's ports.
upvoted 3 times
...
...
rami_mma
1 year, 9 months ago
Selected Answer: C
"spanning-tree pathcost method long" command is very important to answer this question.
upvoted 2 times
[Removed]
1 year, 6 months ago
Yeah... I got this answer wrong because I assumed otherwise. But we are supposed to know that short method is the default. SW-1#show spanning-tree pathcost method Spanning tree default pathcost method used is short
upvoted 1 times
...
...
owenshinobi
1 year, 9 months ago
I'm no sure but. NOTE The original IEEE specification did not account for links faster than 1 Gbps. Specifically, 1 Gbps links were assigned a port cost of 1, 100 Mbps link a cost of 10, and 10 Mbps links a cost of 100. Any link faster than 1 Gbps (i.e., 10 GE) was automatically assigned the same port cost of 1 Gbps links (i.e., port cost of 1). refer link: https://www.ciscopress.com/articles/article.asp?p=2832407&seqNum=4#:~:text=The%20default%20port%20cost%20is,a%20port%20cost%20of%20100.
upvoted 1 times
...
rafaelinho88
1 year, 11 months ago
Selected Answer: C
In the topology above, we see DSW2 has lowest priority 24576 so it is the root bridge for VLAN 10 so surely all traffic for this VLAN must go through it. All of DSW2 ports must be in forwarding state. And: + The direct link between DSW1 and ALSW1 is blocked by STP. + The direct link between DSW1 and ALSW2 is also blocked by STP. Therefore PC1 must go via this path: PC1 -> ALSW1 -> DSW2 -> DSW1
upvoted 6 times
...
StefanOT2
2 years ago
Selected Answer: C
C. is the answer. But NOT directly because DSW2 is root bridge. It does not matter, if ALSW1 is directly connected to the root bridge or not. The best path to the root is choosen and this has nothing to do with direct connection. When a switch has several ways to the root bridge, the port is chosen based on - The cost of the port (in this case both times 4, so it is equal) - port priority (also equal, as no info given) - switch ID (MAC) Because DSW2 has a lower MAC, the path via Gi0/2 is chosen.
upvoted 12 times
Leoveil
1 year, 8 months ago
well explained , well done
upvoted 1 times
...
...
kewokil120
2 years ago
Selected Answer: C
not sure why people are putting D due to Root Bridge Priority.
upvoted 3 times
StefanOT2
2 years ago
Because the Path to the Root Bridge and Root Bridge Priority are 2 different things.
upvoted 2 times
...
...
nushadu
2 years ago
Selected Answer: C
ALSW1 to DSW2 [ROOT] to DSW1
upvoted 2 times
...
nushadu
2 years, 1 month ago
C. this question about root priority, lower priority is root switch stp: sw2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 32769 Address aabb.cc00.1000 Cost 100 Port 65 (Port-channel2) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32769 (priority 32768 sys-id-ext 1) 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/0 Desg FWD 100 128.1 Shr Et0/2 Desg FWD 100 128.3 Shr Et0/3 Desg FWD 100 128.4 Shr Po2 Root FWD 100 128.65 Shr sw2#
upvoted 1 times
nushadu
2 years, 1 month ago
priority has been changed: sw2(config)#spanning-tree vlan 1 priority 24000 % 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 sw2(config)#spanning-tree vlan 1 priority 24576
upvoted 1 times
nushadu
2 years, 1 month ago
now it is root for vlan1 sw2(config)#do s spann VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 24577 Address aabb.cc00.4000 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 24577 (priority 24576 sys-id-ext 1) Address aabb.cc00.4000 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 15 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 Desg FWD 100 128.4 Shr Po2 Desg FWD 100 128.65 Shr sw2(config)#^Z sw2#sh
upvoted 1 times
...
...
...
nushadu
2 years, 1 month ago
Selected Answer: C
DSW2 is root stp switch (it has low priority), so all traffic goes over it
upvoted 2 times
...
bora4motion
2 years, 1 month ago
Selected Answer: C
I'm going with C.
upvoted 2 times
...
onkel_andi
2 years, 3 months ago
Selected Answer: C
Packets always goes to the root bridge first.
upvoted 2 times
91fdc83
3 weeks, 5 days ago
that's absolutely incorrect. it comes down to root port selection, which is the main issue in this question and depends on what calculation method and protocol are being used
upvoted 1 times
...
yousif387
2 years, 2 months ago
not mandatory, if the port is in FWD state it will check the MAC address based on that it will FWD the frame
upvoted 2 times
...
...
ivokol
2 years, 3 months ago
Selected Answer: C
PC1-ALSW1-DSW2-DSW1
upvoted 2 times
...
VergilP
2 years, 3 months ago
Selected Answer: C
I'm going for C In the topology above, we see DSW2 has lowest priority 24576 so it is the root bridge for VLAN 10 so surely all traffic for this VLAN must go through it. All of DSW2 ports must be in forwarding state. And: + The direct link between DSW1 and ALSW1 is blocked by STP. + The direct link between DSW1 and ALSW2 is also blocked by STP. Therefore PC1 must go via this path: PC1 -> ALSW1 -> DSW2 -> DSW1.
upvoted 3 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