1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 思科华为设备MSTP配置命令对比

思科华为设备MSTP配置命令对比

时间:2021-05-09 11:02:42

相关推荐

思科华为设备MSTP配置命令对比

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域的配置信息

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。