组网图MSTP典型配置组网图:

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了组网图MSTP典型配置组网图:相关的知识,希望对你有一定的参考价值。

组网图MSTP典型配置组网图:_生成树

组网图MSTP典型配置组网图:_生成树_02


看第一个图,配置相应的vlan,然后接口trunk,放入相应的vlan


A:

[SWA]stp region-configuration

[SWA-mst-region]region-name example

[SWA-mst-region]instance 1 vlan 10

[SWA-mst-region]instance 3 vlan 30

[SWA-mst-region]instance 4 vlan 40

[SWA-mst-region]revision-level 0

[SWA-mst-region]active region-configuration   #激活MST域的配置

[SWA-mst-region]quit

[SWA]stp instance 1 root primary   #配置本设备为MSTI1的根桥

[SWA]stp global enable   #全局开启生成树协议



B:

[SWB]stp region-configuration

[SWB-mst-region]region-name example

[SWB-mst-region]instance 1 vlan 10

[SWB-mst-region]instance 3 vlan 30

[SWB-mst-region]instance 4 vlan 40

[SWB-mst-region]revision-level 0

[SWB-mst-region]active region-configuration   #激活MST域的配置

[SWB-mst-region]quit

[SWB]stp instance 3 root primary   #配置本设备为MSTI3的根桥

[SWB]stp global enable   #全局开启生成树协议

C:

[SWC]stp region-configuration

[SWC-mst-region]region-name example

[SWC-mst-region]instance 1 vlan 10

[SWC-mst-region]instance 3 vlan 30

[SWC-mst-region]instance 4 vlan 40

[SWC-mst-region]revision-level 0

[SWC-mst-region]active region-configuration   #激活MST域的配置

[SWC-mst-region]quit

[SWC]stp instance 4 root primary   #配置本设备为MSTI4的根桥

[SWC]stp global enable   #全局开启生成树协议

D:

[SWD]stp region-configuration

[SWD-mst-region]region-name example

[SWD-mst-region]instance 1 vlan 10

[SWD-mst-region]instance 3 vlan 30

[SWD-mst-region]instance 4 vlan 40

[SWD-mst-region]revision-level 0

[SWD-mst-region]active region-configuration   #激活MST域的配置

[SWD-mst-region]quit

[SWD]stp global enable   #全局开启生成树协议

测试:

组网图MSTP典型配置组网图:_生成树_03

这是正常的,要是把端口禁掉,sw2就会变成根桥,然后再开启端口,根桥就回来了


以上是关于组网图MSTP典型配置组网图:的主要内容,如果未能解决你的问题,请参考以下文章

云桌面场景的典型组网案例

MSTP典型配置

Huawei VRRP+MSTP组网实验-ensp

IKE典型配置

H3C_IRF_LACP配置

H3C_IRF_BFD配置