Answers for 3.1.2.12 Lab - Building a Switched Network with Redundant Links
These are the answers to the questions in the lab, with the question each one answers. Work the lab first: the point of it is the capture you take yourself, and the numbers below came from somebody else’s network and will not match yours.
Can S1 ping S2? Yes Can S1 ping S3? Yes Can S2 ping S3?
Yes
Which switch is the root bridge?
Answers will vary, the above output shows S2 as the root bridge
Why did spanning tree select this switch as the root bridge?
The root bridge was chosen because it had the lowest bridge ID (Priority value + extended system ID (VLAN) + MAC address of switch)
Which ports are the root ports on the switches?
Answers will vary, the above output shows S1 – F0/2, and S3 – F0/2
Which ports are the designated ports on the switches?
Answers will vary, the above output shows S2 – F0/2 and F0/4, S3 – F0/4
What port is showing as an alternate port and is currently being blocked?
Answers will vary, the above output shows S1 – F0/4
Why did spanning tree select this port as the non-designated (blocked) port?
The spanning tree algorithm (STA) uses the root bridge as the reference point and then determines which ports to block based on path cost. If path costs are equal it then compares BIDs. Lower numbers are preferred. In the output above, the link between S1 and S3 has the highest cost to the root bridge. The path cost through both switches is the same, so STA selected the path through the switch with the lower BID, and blocked the port (F0/4) on the switch with the higher BID (S1)
Why did spanning tree change the previously blocked port to a designated port, and block the port that was a designated port on the other switch?
STP looks at path cost first. The port with the lower path cost will always be preferred over a port with a higher path cost
What port did STP select as the root port on each non-root switch? Answers will vary, but in the example above S1 – F0/1, and S3 – F0/1. Why did STP sele
The default port value of the ports is 128; therefore, STP used the port number to break the tie. It selected the lower port number as the root port, and blocked the higher-numbered port with the redundant path to the root bridge
1. After a root bridge has been selected, what is the first value STP uses to determine port selection?
Path cost. It selects the path with the lower accumulated cost
2. If the first value is equal on the two ports, what is the next value that STP uses to determine port selection?
BID by selecting the lower value
3. If both values are equal on the two ports, what is the next value that STP uses to determine port selection?
An aggregation of the port priority and the port number, the lower value is preferred
Notes for whoever is teaching it
Instructor Note: Red font color or Gray highlights indicate text that appears in the instructor copy only.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and reload devices.