华为核心MSTP配置
核心1:
stp instance 0 root primary
stp instance 1 root primary
stp instance 2 root secondary
stp pathcost-standard dot1d-1998
stp region-configuration
region-name www
instance 1 vlan 1 to 50
instance 2 vlan 51 to 3000
active region-configuration
对接cisco的接口
interface GigabitEthernet2/0/14
stp config-digest-snoop
stp no-agreement-check
核心2:
stp instance 0 root secondary
stp instance 1 root secondary
stp instance 2 root primary
stp pathcost-standard dot1d-1998
stp region-configuration
region-name www
instance 1 vlan 1 to 50
instance 2 vlan 51 to 3000
active region-configuration
对接cisco的接口
interface GigabitEthernet2/0/14
stp root-protection
stp config-digest-snoop
stp no-agreement-check
cisco 接入层交换机 mst 配置
全局:
no spanning-tree vlan 1-4094
spanning-tree mode mst
spanning-tree mst configuration
name www
instance 1 vlan 1-50
instance 2 vlan 51-3000
exit
接口:
对接核心1
int g0/47
spanning-tree mst 2 cost 30000
对接核心2
int g0/48
spanning-tree mst 0 cost 30000
spanning-tree mst 1 cost 30000
H3C接入层交换机 mstp配置
全局:
stp enable
stp pathcost-standard dot1d-1998
stp region-configuration
region-name www
instance 1 vlan 1 to 50
instance 2 vlan 51 to 3000
active region-configuration
接口:
对接核心1
interface GigabitEthernet1/0/23
stp instance 2 cost 30000
对接核心2
interface GigabitEthernet1/0/24
stp instance 0 cost 30000
stp instance 1 cost 30000