Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
12 Cards in this Set
- Front
- Back
What is STP?
|
prime function is to prevent rooting loops.
|
|
Common spanning tree (CST)
|
802.D
|
|
Rapid spanning tree (RSTP)
|
802.1W
- evolution of 802.1D that provides faster convergence of STP. - Uses alternate ports instead of blocking ports in discarding state. - RSTP defines port states as discarding, learning or forwarding. - preferred protocol for preventing layer 2 loops. - protocol info can be immediately aged on a port if hellos are not received for 3 consecutive hello times (6 seconds default), or if max age timer expires - Because BPDUs are used as a keepalive mechanism, three consecutively missed BPDUs indicate lost connectivity between a bridge and its neighboring root or designated bridge. this allows failures to be detected quickly. |
|
Multiple spanning tree (MSTP)
|
802.1S
-main purpose is to reduce total number of spanning tree instances to match the physical topology of the network which will reduce the CPU loading of a switch. - allows you to build multiple spanning trees over trunks by grouping VLANS and associating them with spanning tree instances. - To be a part of a common MSTP region, a group of switches must share the same config attributes. (config name (32 bytes), config revision number (two bytes), a 4096-element table that associates each of the potential 4096 VLANS supported on the chassis with a given instance) - creates the STP instances and then maps VLANS to those instances - To reduce the number if required STP instances, MSTP maps multiple VLANS that have the same traffic flow requirements into the same spanning-tree instance. |
|
PVST+
Per VLAN spanning tree + |
- CIsco enhancement of STP that provides a separate 802.1D spanning tree instance for each VLAN configured in the network.
- the seperate instance supports enhancement such as PortFast, BPDU guard, BPDU filter, root guard and loop guard. - Creating an instance for each VLAN increases CPU and memory requirements but allows for per-VLAN root bridges. -convergence is per VLAN -default in Cisco switches. - more than one trunk can block for a VLAN and load sharing can be implemented. -BID = priority + VLAN ID + MAC address ---- eg. BID = 32768 + 10 + 000A.0033.33 ---- BID = 32778 000A.0033.333 |
|
PVRST+
|
- Cisco enhancement of RSTP, that is similar to PVST+.
- Provides a seperate instance of 802.1w per VLAN. - The seperate instance supports; PortFast, BPDU guard, BPDU filter, root guard and loop guard. - This version addressed both the convergence issues and the suboptimal traffic flow issues. - This version has the largest CPU and memory requirements. |
|
Bridge protocol data unit (BPDU)
|
- Bridges pass spanning tree info between themselves using special frames known as a BPDU
- a bridge uses a four-step decision sequence to save a copy of the "best" BPDU seen on every port - When making this evaluation, it considers all the BPDUs received on the port as well as the BPDU that would be sent on that port - As every BPDU arrives, it is checked to see if it is more attractive (lower in value) than the existing BPDU saved for that port. - If the new BPDU is more attractive, the old value is replaced. |
|
BPDU's contain info that allow switches to perform specific actions:
|
- Select a single switch that will act as the root of the spanning-tree
- calculate the shortest path from itself to the root switch - designate one of the switches as the closest one to the root, for each LAN segment. This switch is called the designated switch. - the designated switch handles all communication from that LAN segment towards the root bride - Each non-root switch chooses one of its ports as its root port - the interface that gives the best path to the root switch. - select ports that are part of the spanning-tree. these ports are called designated ports. non designated ports are blocked. |
|
Bridge ID (BID)
|
- the BID consists of a bridge priority (default 32768) and the switch MAC address.
- The lower the priority the more chance the switch has of becoming the root. |
|
when the spanning tree is creating a loop-free topology, it always uses the same 4 step decision sequence.
|
- Lowest root bridge ID (BID)
- lowest path cost to root bridge - lowest sender bridge ID - Lowest port ID |
|
Root bridge election process
|
-
|
|
Spanning tree protection
|
Portfast - rapid transition to forwarding state for access ports.
BPDU guard - protects portfast ports from creating loops Root guard - controls which ports are eligible to participate in root election Unidirectional link detection (UDLD) - prevents links transitioning to forwarding state under unidirectional fault conditions loopguard - prevents links transitioning to forwarding under unidirectional fault conditions if designated port still operational. |