当前位置:   article > 正文

ensp-MSTP配置_stp region-configuration instance 1 vlan 20 active

stp region-configuration instance 1 vlan 20 active region-configuration #

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的根桥
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

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的根桥
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

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
  • 1
  • 2
  • 3
  • 4
  • 5
display stp region-configuration     显示已经生效的MST 域的配置信
  • 1

在这里插入图片描述

VRRP +MSTP 实现二层和三层的冗余

在这里插入图片描述在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号