Junos
Highlighted
Junos

MSTP to RSTP

‎04-16-2019 10:22 AM

Hello,

 

We have an EX2300 switch which have been configured with this command :

 

delete protocols rstp
set protocols mstp configuration-name region1
set protocols mstp revision-level 20
set protocols mstp interface all edge
set protocols mstp bpdu-block-on-edge

 

How could we get back the default RSTP protocol please with the default options ?  please put the command if you could...

 

Thanks a lot !

 

Bye

 

6 REPLIES 6
Highlighted
Junos
Solution
Accepted by topic author Fabi974
‎04-16-2019 12:11 PM

Re: MSTP to RSTP

‎04-16-2019 10:55 AM

It depends a bit on how many ports the switch has, but the general commands would look something like this:

 

delete protocols mstp

wildcard range set protocols rstp interface ge-0/0/[0-23] 

wildcard range set protocols rstp interface ge-0/1/[0-3]

wildcard range set protocols rstp interface xe-0/1/[0-3]

 

The 23 above is for a 24-port switch, and would be replaced by 47 for a 48-port model.

 

Ron

JNCIE-SEC #127
JNCIE-ENT #489
Highlighted
Junos

Re: MSTP to RSTP

‎04-16-2019 11:24 AM

Why don't you simply rollback config?

Highlighted
Junos

Re: MSTP to RSTP

‎04-16-2019 11:26 AM

Hello back,

 

So it's not necesseray to make this command : 

 

wildcard range delete protocols mstp interface ge-0/0/[0-X]

 

and things like :

 

delete protocols mstp bpdu-block-on-edge
delete protocols mstp revision-level 20
delete protocols mstp configuration-name region1

 

The "delete protocols mstp" do all ?

 

 

Thanks again .

Highlighted
Junos

Re: MSTP to RSTP

‎04-16-2019 11:29 AM

I just have to manage this EX2300 and i looking just to change to rstp without searching in all the rollback things that could be necesseray for the switch...

 

Bye !

Highlighted
Junos

Re: MSTP to RSTP

‎04-16-2019 11:39 AM

You are correct, "delete protocols mstp" will delete everything "under" mstp as well.

 

Ron

JNCIE-SEC #127
JNCIE-ENT #489
Highlighted
Junos

Re: MSTP to RSTP

‎04-16-2019 11:45 AM

OK..

 

and endlly..... It's not necesseray to run this general command after the "delete protocols mstp"  :  "set protocol rstp"

 

If it exists....

 

Thanks again and again !

Feedback