02-09-2006 04:15 AM - edited 03-03-2019 11:42 AM
I have misconception in the selection process of:
. Root bridge --> Lowest BID / Lowest Cost / Lowest Sender ID / Lowest port ID
. Root Port --> Lowest cost / Lowest port ID
. Designated Port --> Lowest cost / Lowest port ID
. Designated Switch (for a network segment) --> Lowest BID
. Best path to the root bridge --> Lowest Cost / Lowest Sender ID / Lowest port ID
Can anybody correct my info.
Thanks in advance.
02-09-2006 05:03 AM
Feel free to increase your knowledge of spanning tree with the following:
http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html
Regards,
Leo
02-09-2006 08:32 AM
I found these pdfs previously, but i needed to confirm what i've understood.
Thanks.
02-10-2006 10:35 AM
Hi,
First the root bridge will be selected based on the lowest Bridge ID (made of 2bytes priority and MAC address of the bridge). Once the root is slected other switches have to decide how they will get to the bridge. The parameters used are in the order:
1. Port-cost (lowest better) - This is as seen from the access switches towards the root.
2. Port-priority (lowest better) - Advertised by the root and affects downstream switches.
3. Port-ID (lowest better)- When you look at the output of show spann, for f0/4 you will see something like 128.4. 128 is the port priority and 4 is the port ID. See output below.
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/4 Root FWD 19 128.4 P2p
Fa0/5 Altn BLK 19 128.5 P2p
Fa0/6 Altn BLK 19 128.6 P2p
Port types:
Designated Port - Is the port which advertises superior BPDUs on its segment.
Root Port - Is the port used to access the root.
Blocked port/Alternate port - is one that is neigher a DR or RP.
Form the above it can be concluded that all ports on the root are DPs.Other switches ports not connecting to the root could be DP if transmitting superior BPDUs.
HTH
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: