Cisco(config)#spanning-tree mode mst
[Huawei]stp mode mstp //配置交换设备的MSTP工作模式
Cisco(config)#spanning-tree mst configuration
[Huawei]stp region-configuration //进入MST域视图
Cisco(config-mst)#revision 1
[Huawei-mst-region]revision-level 0 //配置MST域的MSTP修订级别,缺省为0
Cisco(config-mst)#name a1
[Huawei-mst-region]region-name a1 //配置MST域的域名,缺省等于交换设备桥MAC的MAC地址
Cisco(config-mst)#instance 1 vlan 10
Cisco(config-mst)#instance 2 vlan 20
[Huawei-mst-region]instance 1 vlan 10 //配置多生成树实例和VLAN的映射关系
Cisco(config)#spanning-tree mst 1 root primary
[Huawei]stp instance 0 root primary //配置当前设备为根桥设备,配置后该设备优先级值自动为0,将不能更改设备优先级,如果不指定instance,则配置设备在实例0上为根桥设备
Cisco(config)#spanning-tree mst 2 root secondary
[Huawei]stp instance 0 root secondary //配置当前交换设备为备份根桥设备
[Huawei-mst-region]check region-configuration //确定未生效的域参数配置是否正确
[Huawei-mst-region]active region-configuration //激活MST域的配置,使域名、VLAN映射表和MSTP修订级别生效,如果不执行本操作,以上配置的域名、VLAN映射表和MSTP修订级别无法生效
Cisco#show spanning-tree mst
[Huawei]display stp region-configuration //查看已经生效的MST域的配置信息
标签:配置,思科,region,mst,MSTP,Huawei,华为,Cisco,config From: https://blog.51cto.com/u_13699905/5894829