Junos OS

Expand all | Collapse all

MSTP to RSTP

Jump to Best Answer
  • 1.  MSTP to RSTP

    Posted 04-16-2019 10:22

    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

     



  • 2.  RE: MSTP to RSTP
    Best Answer

    Posted 04-16-2019 10:56

    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



  • 3.  RE: MSTP to RSTP

    Posted 04-16-2019 11:25

    Why don't you simply rollback config?



  • 4.  RE: MSTP to RSTP

    Posted 04-16-2019 11:29

    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 !



  • 5.  RE: MSTP to RSTP

    Posted 04-16-2019 11:27

    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 .



  • 6.  RE: MSTP to RSTP

    Posted 04-16-2019 11:39

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

     

    Ron



  • 7.  RE: MSTP to RSTP

    Posted 04-16-2019 11:45

    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 !