0% found this document useful (0 votes)
563 views1 page

Key Attributes STP Example Topology: STP (Spanning Tree Protocol) - Cheat Sheet - Part

This document provides a cheat sheet on the Spanning Tree Protocol (STP), including key attributes, functions, algorithms, multicast addresses, port states and roles, STP operations and path selection rules, BPDU types, and an example STP topology diagram. STP is a network protocol that runs at the data link layer to prevent switching loops and enable network redundancy. The algorithm elects a root bridge and blocks redundant paths to avoid broadcast radiation throughout the network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
563 views1 page

Key Attributes STP Example Topology: STP (Spanning Tree Protocol) - Cheat Sheet - Part

This document provides a cheat sheet on the Spanning Tree Protocol (STP), including key attributes, functions, algorithms, multicast addresses, port states and roles, STP operations and path selection rules, BPDU types, and an example STP topology diagram. STP is a network protocol that runs at the data link layer to prevent switching loops and enable network redundancy. The algorithm elects a root bridge and blocks redundant paths to avoid broadcast radiation throughout the network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

STP (Spanning Tree Protocol) – Cheat Sheet – Part q Version 2

Key Attributes
Protocol Type/Class:
Standards:
Network Protocol (Layer2)
IEEE 802.1D/W/S/Q, Cisco STP Example Topology
(Def on Cisco=PVST)
Function: L2 Loops Prevention, Root Bridge
Adapt to network changes & failures
Algorithm: STP by Radia Perlman DP
SW1 DP
Multicast Address: 01:80:C2:00:00:00 Fa0/2 Fa0/1

Port States: STP=5, RSTP=3 STP Cost Br ID: 32769.0001.C998.35C6


STP Cost
=19
Port Roles: STP=3, RSTP=4 =19

Author of this sheet: Waqas Karim CCIE

Fa0/1 Fa0/1
RP RP
Fa0/2 Fa0/2
DP X BP
STP Operations SW2
Br ID: 32769.0002.4AB3.3923
STP Cost =19 SW3
Br ID: 32769.0003.E499.257C

1. Elect Root Bridge (RB) Download the Packet Tracer Lab file of this STP Topology for practice: Link
First, one Switch is elected as Root Bridge which has lowest bridge ID

2. Select Root Ports (RP)


One RP is selected on each Switch which has:
Lowest cost to RB > Lowest Br ID of neighbor Switch

3. Select Designated Ports (DP) STP Bridge ID


One DP is selected for each segment which has: 4 12 48
www.waqaskarim.com

Lowest cost to RB > Lowest sender Bridge ID > Lowest sender Port
Priority > Lowest sender physical Port Number Pri Ext Sys ID MAC Address
www.waqaskarim.com
4. Block all remaining Ports
All remaining non-Root and non-Designated Ports are blocked Br ID = Priority.MAC
e.g. Br ID = 32768.AAAA.AAAA.AAAA
*Ext SysID is usually the VLAN no. in case of PVST

STP Path Selection Rules STP Port Roles


www.waqaskarim.com

1. Bridge with lowest Root ID becomes the root


STP RSTP
2. Always prefer the neighbor with the lowest cost to root Root Root
3. Always prefer the neighbor with the lowest Bridge ID Designated Designated
4. Always prefer the lowest sender Port ID Alternate
Blocking
Backup

STP Port States


BPDU Types STP RSTP BPDU Duration
Disabled – –
1. CBPDU (Configuration BPDU) Blocking Discarding Rx 20 sec
Used for Spanning Tree computation Listening Rx/Tx 15 sec
Learning Learning Rx/Tx/Learn 15 sec
2. TCN BPDU (Topology Change Notification BPDU)
Forwarding Forwarding Rx/Tx/Learn/Fwd –
Used to announce changes in the network topology www.waqaskarim.com

Visit my website & You Channel for more FREE resources like:
✓ Cheatsheets, Interview Questions & Answers, Quiz, VCE exams & much more
/ waqaskarim / waqaskarimccie / waqaskarim ✓ Labs & workbooks (Packet Tracer, GNS3, EVE-NG, …)

Your Feedback & Comments are always Welcomed

You might also like