9. Spanning Tree Protocol Concepts Flashcards
What is the standard for STP
802.1D
What are two goals of STP
- All devices in a VLAN can send frames to all other devices by making sure STP does not block too many ports
- Frames have a short life and do not loop around the network indefinitely
How does STP/RSTP prevent loops
Add an additional check on each interface
If port is in STP/RSTP forwarding state in that VLAN, use as normal
If port is in STP/RSTP blocking state, block all user traffic and do not send or receive traffic on that interface in that VLAN
Does STP/RSTP affect the interface’s connected or operational state?
No
What is a broadcast storm
When any kind of ethernet frames loop around a LAN indefinitely which saturate all the links with copies of that single frame crowding out good frames
What is a broadcast storm
The forwarding of a frame repeatedly on the same links, consuming
significant parts of the links’ capacities
What is MAC table instability
The continual updating of a switch’s MAC address table with
incorrect entries, in reaction to looping frames, resulting in frames
being sent to the wrong locations
What are three problems by not using STP on redundant links
Broadcast storms
MAC table instability
Multiple frame transmission
What is multiple frame transmission
A side effect of looping frames in which multiple copies of one frame are delivered to the intended host, confusing the host
How does STP/RSTP prevent loops
STP/RSTP prevents loops by placing each switch port in either a forwarding state or a blocking
state.
Interfaces in the forwarding state act as normal, forwarding and receiving frames.
However, interfaces in a blocking state do not process any frames except STP/RSTP messages
(and some other overhead messages).
Interfaces that block do not forward user frames,
do not learn MAC addresses of received frames, and do not process received user frames.
What is STP convergence
process by which the switches collectively
realize that something has changed in the LAN topology and determine whether they need
to change which ports block and which ports forward.
Which ports does STP place into forwarding state
- All the root switch’s ports
- Each nonroot switch’s root port
- Each LAN’s designated port
What is a root port
for a nonroot switch, the port with the least administrative cost back to the root switch
What is a root port
for a nonroot switch, the port with the least administrative cost (root cost) back to the root switch
What is a designated port
On a single link between two switches, the port with the lowest root cost
What is STP/RSTP disabled state
failed or not connected interfaces not considered in the spanning tree algorithm
Which ports does STP place into forwarding state
- All the root switch’s ports
- Each nonroot switch’s root port
- Each LAN’s designated port
What is a root port
For a nonroot switch, the port with the least administrative cost (root cost) back to the root switch
There is only one root port on each switch
What are the fields inside a Hello BPDU
Root Bridge ID
Sender’s bridge ID
Sender’s root cost
Timer values on the root switch
What is the root bridge ID in a Hello BPDU
Bridge ID of the of the switch that the sender believes is the root switch
What are the timer values inside a Hello BPDU
Hello timer
MaxAge timer
forward delay timer
Which switch becomes the root switch
Switch with the lowest BID =
Switch with the lowest priority. If priority is tied then switch with the lowest MAC