linyonghang1@ru Publish time 2023-8-14 15:13:53

How to configure Multiple Spanning Tree (MSTP) on Ruijie Switch?

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

data/attachment/forum/202308/14/151041rl4ajj22iijkiejt.png

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

data/attachment/forum/202308/14/151048ir49rgqqb1gx9k7e.png

Ruijie(config-vlan)#exit

data/attachment/forum/202308/14/151056ltktckw0kvtca11c.png

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

data/attachment/forum/202308/14/151105tqnixnnjcqcni4ce.png

Ruijie(config-mst)#exit

Ruijie(config)#spanning-tree mst 1 priority 4096   // instance 1 priority is 4096. The smaller, the higher priorityis selected to be root. 32768 by default

data/attachment/forum/202308/14/151115om9tafbyutax3fmz.png

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

data/attachment/forum/202308/14/151121eh7r77phi7l6h6fr.png

Ruijie(config)#end

Ruijie#write

data/attachment/forum/202308/14/151126w0kpmcsvdmhr39oo.png

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 priorityis selected to be root. 32768 by default.

data/attachment/forum/202308/14/151132mt3vk3y73kk9zjkk.png

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

data/attachment/forum/202308/14/151147ofolnw3o4snwnrf4.png

Ruijie#show spanning-tree mst 1

data/attachment/forum/202308/14/151155xyqsw50fsyz4zfih.png

rikyfitriadi.pk Publish time 2023-8-28 17:10:42

what simulator did you use? kindly neet your help to send the link please. thank you in advance

guominxiang@rui Publish time 2023-8-29 12:15:57

Riky Fitriadi replied at 2023-8-28 17:10
what simulator did you use? kindly neet your help to send the link please. thank you in advance

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.

Pages: [1]
View full version: How to configure Multiple Spanning Tree (MSTP) on Ruijie Switch?