所有交换机需启用MSTP服务
[JR_SW7]stp region-configuration
[JR_SW7-mst-region]region-name aa
[JR_SW7-mst-region]revision-level 1
[JR_SW7-mst-region]instance 1 vlan 2 3 200
[JR_SW7-mst-region]instance 2 vlan 4 5 6
[JR_SW7-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
核心交换机1配置MSTP
[HX_SW1]stp region-configuration
[HX_SW1-mst-region]region-name aa
[HX_SW1-mst-region]revision-level 1
[HX_SW1-mst-region]instance 1 vlan 2 3 200
[HX_SW1-mst-region]instance 2 vlan 4 5 6
[HX_SW1-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
[HX_SW1-mst-region]dis this
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 6
active region-configuration
#
return
[HX_SW1-mst-region]
--------配置主次-----------------
[HX_SW1]stp instance 1 root primary
[HX_SW1]stp instance 2 root secondary
配置核心交换机2MSTP
[HX_SW2]stp region-configuration
[HX_SW2-mst-region]region-name aa
[HX_SW2-mst-region]revision-level 1
[HX_SW2-mst-region]instance 1 vlan 2 3 200
[HX_SW2-mst-region]instance 2 vlan 4 5 6
[HX_SW2-mst-region]display this
#
return
[HX_SW2-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
[HX_SW2-mst-region]display this
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 6
active region-configuration
#
return
---------配置主次-----
[HX_SW2]stp instance 1 root secondary
[HX_SW2]stp instance 2 root primary
配置结果测试
[HJ_SW3]display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/1 DESI FORWARDING NONE
0 GigabitEthernet0/0/1 ROOT FORWARDING NONE
0 GigabitEthernet0/0/2 ALTE DISCARDING NONE
0 Eth-Trunk1 DESI FORWARDING NONE
1 Ethernet0/0/1 DESI FORWARDING NONE
1 GigabitEthernet0/0/1 ALTE DISCARDING NONE
1 GigabitEthernet0/0/2 ROOT FORWARDING NONE
1 Eth-Trunk1 DESI FORWARDING NONE
2 GigabitEthernet0/0/1 ROOT FORWARDING NONE
2 GigabitEthernet0/0/2 ALTE DISCARDING NONE
[HJ_SW3]
标签:HX,vlan,BFD,region,mst,MSTP,NONE,instance,VRRP
From: https://blog.51cto.com/u_11726705/6275054