cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
620
Views
0
Helpful
4
Replies

Quick Spanning-tree Question

Abdullah Net
Level 1
Level 1

Hello there,

I'm  trying to understand how spanning-tree works and i do understand that  the link between switch 22 and switch 17 should have one port blocked by  spanning tree. So far so good, but that link should choose its  designated port based on the switch with the lowest bridge_ID, which in  this case is switch 22.

So,  switch 22 int g1/2 should be a designated port and switch 17 int g1/1  should be block by spanning tree (non-designated). But, according to  cisco packet tracer it is the other way around. Why is that?

Note: all links have a cost of 4

spann.jpg

Thanks,

Abdy,

4 Replies 4

daniel.dib
Level 7
Level 7

I think you posted at CLN as well. Looks like a bug to me. Show output from show spanning-tree

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

Daniel,

Information shown by "show spanning-tree" only improves my point. But, i have noticed when i was analyzing the STP packets send from each switch that STP used the mac address of the gigabit interface ports and not the mac address of the switch, which is displayed as the mac address of vlan 1. Is that a bug? because bridge_ID has the mac address information of the switch and not the indiviual ports.

Kindly see the picture

Abdy,

That's just the encapsulated frame. The BID should be contained in the payload of that frame so that is fine. If you change the priority does the topology converge correctly then?

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

You got the right reply on CLN now. Actually PT is behaving correctly here.

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.
Getting Started

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:

Review Cisco Networking products for a $25 gift card