华为或H3C MSTP设置脚本(绝对原创)
单数VLAN ONE为主。双数VLAN。 TWO为主。
vlan 2-10
SWITCH ONE
===================
stp region-configuration
region-name huawei
instance 1 vlan 2 3 4 5
instance 2 vlan 6 7 8 9 10
active region-configuration
stp instance 1 root primary
stp instanc 2 root secondary
stp mode mstp
stp enable
======================
switch two
====================
stp region-configuration
region-name huawei
instance 1 vlan 2 3 4 5
instance 2 vlan 6 7 8 9 10
active region-configuration
stp instance 2 root primary
stp instanc 1 root secondary
stp mode mstp
stp enable