cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
450
Views
5
Helpful
2
Replies

manipulate spanning tree

as00001111
Level 1
Level 1

Hi all,

I got a network with a mix of cat9500 and Nexus switches. All links are 10Gig Layer2 trunk links.

SW1 is the root. All other switches got default priority.

I would like that link between SW4 and SW5 is blocked.

in other words, I would like that SW4 takes the path to the root through SW3.

Can you tell me how to achieve that?

Thank you.

Capture.PNG

2 Replies 2

Hi @as00001111,

 

Check the path cost using the command "show spanning-tree vlan 1" and Increase the path cost on SW4 at a port connected to SW5.

 

***Please rate all helpful posts***

Spooster IT Services Team

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

The STP path cost to the root bridge via SW5 will be 4 while via SW3 will be 6. Increasing the link cost as @Spooster IT Services  suggests, on the SW4 interface connecting SW5 to a value >=5 will cause STP to reconverge to your preferred topology.

 

! SW4
!
int te1/x/x
  spanning-tree cost 5
!

cheers,

Seb.

Review Cisco Networking for a $25 gift card