赞
踩
Muliti stp
多生成树协议(华为交换机默认运行mstp)工作原理:将多个vlan 捆绑在一起,运行在一个stp 实例里面,不同实例间的stp 互相独立。注:默认情况下所有vlan 都在实例0 里面。
实验拓扑:
根据不同的vlan,走不同的线路
交换机需要提前创建vlan 和trunk
SW1:
[SW1]stp region-configuration # 进入MST 域视图
[SW1-mst-region]region-name hcnp #配置MST 域的域名
[SW1-mst-region]instance 1 vlan 10
[SW1-mst-region]instance 2 vlan 20
[SW1-mst-region]active region-configuration #激活配置
[SW1]stp instance 1 root primary #将其设置为vlan10的根桥
SW2:
[SW2]stp region-configuration
[SW2-mst-region] region-name hcnp
[SW2-mst-region] instance 1 vlan 10
[SW2-mst-region] instance 2 vlan 20
[SW2-mst-region] active region-configuration
[SW2]stp instance 2 root primary #将其设置为vlan20的根桥
SW3:
[SW3]stp region-configuration
[SW3-mst-region] region-name hcnp
[SW3-mst-region] instance 1 vlan 10
[SW3-mst-region] instance 2 vlan 20
[SW3-mst-region] active region-configuration
display stp region-configuration 显示已经生效的MST 域的配置信
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。