cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1837
Views
0
Helpful
3
Replies

Spanning Tree Protocol - Designated Port Role

Ariyarathna
Level 1
Level 1

I found following in one of the lectures.But I think following concept is not correct.As per my understanding cost is not the decision factor of following scenario.It should be port id value.Can you please help me to understand the correct logic..

Thankyou very much 

 

siimage.png

 

Thanks,

Manoj

3 Replies 3

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello my friend.

 

STP use COST to choose correct ports role. Look text below;

When the root bridge has been elected for the spanning-tree instance, STA starts determining the best paths to the root bridge.

Switches send BPDUs, which include the root path cost. This is the cost of the path from the sending switch to the root bridge. It is calculated by adding the individual port costs along the path from the switch to the root bridge. When a switch receives the BPDU, it adds the ingress port cost of the segment to determine its internal root path cost. It then advertises the new root path cost to its adjacent peers.

The default port cost is defined by the speed at which the port operates. As shown in Table 3-1, 10 Gbps Ethernet ports have a port cost of 2, 1 Gbps Ethernet ports have a port cost of 4, 100 Mbps Fast Ethernet ports have a port cost of 19, and 10 Mbps Ethernet ports have a port cost of 100.

Table 3-1 Revised IEEE Cost Values

Link Speed Cost (Revised IEEE 802.1D-1998 Specification)
10 Gbps 2
1 Gbps 4
100 Mbps 19
10 Mbps 100
Jaderson Pessoa
*** Rate All Helpful Responses ***

balaji.bandi
Hall of Fame
Hall of Fame

as per the diagram we are not sure what is confiured, if your config says switch to be root configured manually, rest all automatic election not valid, the auto root election if both the switches do not have any config only.

 

 

check this below good explanation :

 

https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/5234-5.html

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ariyarathna
Level 1
Level 1

@balaji.bandi and @Jaderson Pessoa  Thank you very much for reply.My actual confusion is with the quote "•Designated Port is the Port in the designated bridge connected to the LAN segment with the least cost" and it is also illustrated in the diagram.As per my understanding cost is not a desiding factor when designated switch connected to the LAN segment with multiple ports.It should be port priority + Port number  value.

Thanks,

Manoj