10-24-2021 03:00 AM
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
si
Thanks,
Manoj
10-24-2021 06:40 AM - edited 10-24-2021 06:42 AM
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.
Link Speed | Cost (Revised IEEE 802.1D-1998 Specification) |
---|---|
10 Gbps | 2 |
1 Gbps | 4 |
100 Mbps | 19 |
10 Mbps | 100 |
Best regards,
10-24-2021 07:22 AM
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
10-24-2021 07:34 PM
@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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide