Spanning Tree Flashcards
What are the two types of STP and which type do Cisco devices run by default?
IEEE Spanning Tree and DECK Spanning Tree
Cisco devices run IEEE
What is the purpose of spanning tree protocol?
The basic function of STP is to prevent bridge loops (situation in which frames are forwarded in a loop indefinitely). This makes hardier, more redundant network designs possible (w/o STP, ^redundancy can mean ^potential for loops).
How is a device’s Bridge ID determined?
By adding its bridge priority and its MAC address.
If not chosen manually, which switch will be designated as the root switch?
The one with the lowest bridge ID.
Why is it possible for frames to get stuck in an indefinite loop but not for packets the same?
Because packets have a time-to-live (TTL), after the expiration of which they drop off the network, but frames don’t have a TTL or any equivalent field.
In IEEE Spanning Tree, what is the default bridge priority #?
32768
In VLAN-specific spanning tree (PVST or per-VLAN spanning tree), how is a VLAN’s bridge priority # determined?
Adding the VLAN# to the default bridge priority #:
VLAN 99
Bridge Priority = 32869 (32768+99)
What does RSTP stand for?
What is the command to enable it?
Rapid Spanning Tree Protocol
spanning-tree mode rapid PVST
What command can you use to show spanning tree information on a particular VLAN?
show spanning-tree VLAN(#) # = the VLAN number
What command do you use to designate a switch as the primary root switch?
spanning-tree vlan(#) root primary
What is the first thing the spanning tree algorithm does?
Elects a root bridge.
What is the second thing the spanning tree algorithm does?
Elects a root port for each non-root switch.
What is the third thing the spanning tree algorithm does?
Elects a designated port for each segment.
What is the fourth thing the spanning tree algorithm does?
Puts each port into either a forwarding or blocking state.
What determines which port will be elected as the root port?
The root path cost of each port; the one with the lowest root path cost will be elected.