How to configure Multiple Spanning Tree (MSTP) on Ruijie Switch? 1. Network requirements There are 4 vlans on the Intranet. The root bridge of vlan10 and 20 is on core switch A, and the root bridge of vlan30 and vlan40 is on core switch B 2. Topology 3. Configure tips Enable the spanning tree function first Create different instances Configure the priority for the instance 4. Configure steps Core switch A: Ruijie>enable Ruijie#configure terminal Ruijie(config)#vlan range 10,20,30,40 //create vlan 10, 20, 30 and 40 Ruijie(config-vlan)#exit Ruijie(config)#spanning-tree //enable spanning tree, mst is by default Ruijie(config)#spanning-tree mst configuration //configure mst Ruijie(config-mst)# instance 1 vlan 10, 20 //vlan 10 and 20 use instance1 Ruijie(config-mst)# instance 2 vlan 30, 40 //vlan 30 and 40 use instance2 Ruijie(config-mst)#exit Ruijie(config)#spanning-tree mst 1 priority 4096 // instance 1 priority is 4096. The smaller, the higher priority is selected to be root. 32768 by default Ruijie(config)#interface gigabitEthernet 0/1 Ruijie(config-if-GigabitEthernet 0/1)#switchport mode trunk Ruijie(config)#interface gigabitEthernet 0/2 Ruijie(config-if-GigabitEthernet 0/2)#switchport mode trunk Ruijie(config)#end Ruijie#write Core switch B: Ruijie>enable Ruijie#configure terminal Ruijie(config)#vlan range 10,20,30,40 //create vlan 10, 20, 30 and 40 Ruijie(config-vlan)#exit Ruijie(config)#spanning-tree //enable spanning tree, mst is by default Ruijie(config)#spanning-tree mst configuration //configure mst Ruijie(config-mst)# instance 1 vlan 10, 20 //vlan 10 and 20 use instance1 Ruijie(config-mst)# instance 2 vlan 30, 40 //vlan 30 and 40 use instance2 Ruijie(config-mst)#exi Ruijie(config)#spanning-tree mst 2 priority 4096 // instance 2 priority is 4096. The smaller, the higher priority is selected to be root. 32768 by default. Ruijie(config)#interface gigabitEthernet 0/1 Ruijie(config-if-GigabitEthernet 0/1)#switch mode trunk Ruijie(config)#interface gigabitEthernet 0/2 Ruijie(config-if-GigabitEthernet 0/2)#switch mode trunk Ruijie(config)#end Ruijie#write Access switch: Ruijie>enable Ruijie#configure terminal Ruijie(config)#vlan range 10,20,30,40 //create vlan 10, 20, 30 and 40 Ruijie(config-vlan)#exit Ruijie(config)#spanning-tree Ruijie(config)#spanning-tree mst configuration Ruijie(config-mst)# instance 1 vlan 10, 20 Ruijie(config-mst)# instance 2 vlan 30, 40 Ruijie(config-mst)#exit Ruijie(config)#interface gigabitEthernet 0/1 Ruijie(config-if-GigabitEthernet 0/1)#switch mode trunk Ruijie(config)#interface gigabitEthernet 0/2 Ruijie(config-if-GigabitEthernet 0/2)#switch mode trunk Ruijie(config)#end Ruijie#write 5. Verification Ruijie#show spanning-tree summary Ruijie#show spanning-tree mst 1 |
what simulator did you use? kindly neet your help to send the link please. thank you in advance |
Riky Fitriadi replied at 2023-8-28 17:10 Please kindly check the document here: https://pan.ruijie.com.cn/share/377a01433fb8ea4d22d48fb331 Please kindly note we do not have an official simulation tool, the document is for practice purposes only and we do not guarantee to solve any issues encountered during installing or using this tool. |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd