Title: How to configure stp on Ruijie Switch? [Print this page] Author: linyonghang1@ru Time: 2023-8-15 13:09 Title: How to configure stp on Ruijie Switch? 1. Networking topology:
2. Configuration points:
1)Enable the spanning tree function
2)Create different instances
3)Configure the priority for the instance
3. Configuration procedure:
Note: Before configuration, you are advised to run the Ruijie#show interface status command to check the interface name. The common interface names are FastEthernet (Gigabit), GigabitEthernet(Gigabit), and TenGigabitEthernet(Gigabit). The following configurations use Gigabit interfaces as an example.
Core switch A configuration:
Ruijie>enable //Enter privileged mode
Ruijie#configure terminal //Enter global configuration mode
Ruijie(config)#vlan 10 //create vlan 10, 20, 30 and 40
Ruijie(config-vlan)#vlan 20
Ruijie(config-vlan)#vlan 30
Ruijie(config-vlan)#vlan 40
Ruijie(config-vlan)#exit
Ruijie(config)#spanning-tree //enable spanning tree, default mode is mst
Ruijie(config-mst)# instance 1 vlan 10, 20 //vlan 10 and 20 use instance (instance) 1
Ruijie(config-mst)# instance 2 vlan 30, 40 //vlan 30 and 40 use instance (instance) 2
Ruijie(config-mst)#spanning-tree mst 1 priority 4096 //instance (instance) 1 has a priority of 4096, the smaller the priority the higher the priority, the default priority is 32768