cancel
Showing results for 
Search instead for 
Did you mean: 

Expulsion of a switch from mstp

Expulsion of a switch from mstp

gorn
New Contributor III

Hi!
How to safely shutdown the switch 2 from the MSTP and deploy a reserve on the redundant port?

****sw1(21)block-------(1)sw2(3)********(23)sw3*****

 

The difficulty is that I cannot do everything with a single command.

What is the correct sequence of commands in this case?

 

disable stpd mst0
disable stpd mst1

 sw1 and sw3 will behave as if there is just a link between them?
There is a way that will become more expensive without sw2. Apparently, here my ring will be rebuilt and the traffic will go through sw2. After every command?

configure port 1 redundant 3 link off
Here it will return as it was.

configure stpd mst1 delete vlan_2 ports 21
                                         … vlan_100 ports 21

configure stpd mst1 delete vlan_2 ports 23
                                         … vlan_100 ports 23

And if I start with this, then a broadcast storm will probably begin through the not yet properly configured sw2.

configure mstp region REGION_NAME
configure mstp revision 0
configure mstp format 0

create stpd mst0 description "CIST DOMAIN (NOT FOR VLAN BINDING)"
configure stpd mst0 mode mstp cist
configure stpd mst0 forwarddelay 15
configure stpd mst0 hellotime 2
configure stpd mst0 maxage 20
configure stpd mst0 max-hop-count 20
configure stpd mst0 priority 32768
configure stpd mst0 default-encapsulation dot1d

create stpd mst1 description "VLANS 2-100"
configure stpd mst1 mode mstp msti 1
configure stpd mst1 max-hop-count 20
configure stpd mst1 priority 32768
configure stpd mst1 default-encapsulation dot1d

create stpd s0
disable stpd s0 auto-bind vlan default
configure stpd s0 mode dot1d
configure stpd s0 forwarddelay 15
configure stpd s0 hellotime 2
configure stpd s0 maxage 20
configure stpd s0 priority 32768
disable stpd s0 rapid-root-failover
configure stpd s0 default-encapsulation dot1d
enable stpd s0 auto-bind vlan Default

configure stpd mst1 add vlan vlan_2 ports 1 dot1d
configure stpd mst1 add vlan vlan_3 ports 1 dot1d
....
configure stpd mst1 add vlan vlan_100 ports 1 dot1d

configure stpd mst1 add vlan vlan_2 ports 2 dot1d
configure stpd mst1 add vlan vlan_3 ports 2 dot1d
....
configure stpd mst1 add vlan vlan_100 ports 2 dot1d

enable stpd mst0
enable stpd mst1

configure stpd s0 tag 0
disable stpd s0
configure stpd flush-method vlan-and-port

1 ACCEPTED SOLUTION

gorn
New Contributor III

Maybe this will avoid interrupts:
 

disable ports 21


disable stpd
unconfigure stpd mst1
unconfigure stpd mst0
unconfigure mstp region
configure port 1 redundant 3 link off

 

configure stpd mst1 delete vlan_2 ports 23
                                         … vlan_100 ports 23



configure stpd mst1 delete vlan_2 ports 21
                                         … vlan_100 ports 21
enable ports 21

View solution in original post

2 REPLIES 2

gorn
New Contributor III

Yes, but it's better to use delete stpd mst1 than unconfunconf doesn't delete the config.

gorn
New Contributor III

Maybe this will avoid interrupts:
 

disable ports 21


disable stpd
unconfigure stpd mst1
unconfigure stpd mst0
unconfigure mstp region
configure port 1 redundant 3 link off

 

configure stpd mst1 delete vlan_2 ports 23
                                         … vlan_100 ports 23



configure stpd mst1 delete vlan_2 ports 21
                                         … vlan_100 ports 21
enable ports 21

GTM-P2G8KFN