Spanning Tree Flashcards
What are the three types of BPDUs?
- Configuration
- TCN (topology change notification)
- TCA (topology change acknowledgement)
What are Configuration BPDUs used for?
Used to identify the root bridge, root ports, designated ports, and blocking ports.
What are TCN BPDUs used for and who sends them?
Used when a bridge discovers a change in topology, usually because of a link failure, bridge failure, or port transitioning to the forwarding state. It is forwarded on the root port toward the root bridge.
What are TCA BPDUs used for and who sends them?
Used by the upstream bridge to respond to the receipt of a TCN.
What does the BID consist of?
Bridge ID contains the Bridge Priority (Bridge priority + VLAN ID) and the MAC address.
If all switches in the network topology have the same priority, who becomes the root bridge?
The one with the lowest MAC address.
If a switch has two equal port costs to the bridge, what determines which interface becomes the root port?
The interface with the lowest port ID.
What is the port ID?
Port ID is a combination of port priority (128 is the default) and port number.
How is STP cost calculated?
STP cost is calculated from the bandwidth of a link.
Between two non-root bridges, what determines which part of the segment is blocked and other designated?
If there are two paths to the root bridge with equal cost, STP uses the following criteria for best path determination and consequently for determining the designated and non-designated ports on the segment:
Lowest root path cost to the root bridge
Lowest sender BID
Lowest sender port ID
What are the STP Port States?
STP Port States are:
- Blocking
- Listening
- Learning
- Forwarding
- Disabled
What are the RSTP Port Roles?
RSTP Port Roles are:
- Root
- Designated
- Alternate
- Disabled
- Backup
What are the RSTP Port States?
The RSTP Port states are:
- Discarding
- Learning
- Forwarding
What is Root Guard?
Root guard is a feature that prevents another switch with a superior BPDU from becoming the root bridge. Once enabled on the port, it can make the port go into root-inconsistent STP state.
What is Loop Guard?
Loop Guard is a loop prevention mechanism that when a non-designated port no longer receives BPDUs, it will move into a loop-inconsistent state rather than remain in forwarding.
What is UDLD and what does it do?
Unidirectional Link Detection (UDLD) s a Cisco-proprietary protocol that detects unidirectional links and prevents Layer 2 loops from occurring across fiber-optic cables.
What is CST and what does it do?
Common Spanning Tree (CST) is the entire spanning tree topology in an enterprise which can integrate all forms of STP that might be in use.
What is IST?
Internal Spanning Tree (IST) is a MST instance within a region that communicates to the outside CST at the boundary to maintain a single STP topology. In other words, a locally significant CST, bounded by the edges of a region.