MSTP 实验1: MSTP简单配置
2026/8/11 5:51:52 网站建设 项目流程

MSTP的修订级别用来与MST域名和MST域的VLAN映射表来共同确定设备所属的MST域。

修订级别目前没什么实际作用,算是个保留参数吧。

只要记住MSTP同域的三要素就是域名、实例和vlan映射、修订级别就OK了

缺省情况下,MST域的MSTP修订级别为0。

配置MSTP

SW1:

undo ter mo

sy

sys SW1

vlan batch 10 20

int e0/0/1

port link-type trunk

port trunk allow-pass vlan all

int e0/0/2

port link-type trunk

port trunk allow-pass vlan all

int e0/0/3

port link-type access

port default vlan 10

stp instance 1 root primary

stp instance 2 root secondary

stp region-configuration

region-name huawei

revision-level 1

instance 1 vlan 10

instance 2 vlan 20

active region-configuration

SW2:

undo ter mo

sy

sys SW2

vlan batch 10 20

int e0/0/1

port link-type trunk

port trunk allow-pass vlan all

int e0/0/2

port link-type trunk

port trunk allow-pass vlan all

int e0/0/3

port link-type access

port default vlan 20

stp instance 1 root secondary

stp instance 2 priority 0

stp region-configuration

region-name huawei

revision-level 1

instance 1 vlan 10

instance 2 vlan 20

active region-configuration

SW3:

undo ter mo

sy

sys SW3

vlan batch 10 20

int e0/0/1

port link-type trunk

port trunk allow-pass vlan all

int e0/0/2

port link-type trunk

port trunk allow-pass vlan all

int e0/0/3

port link-type access

port default vlan 10

int e0/0/4

port link-type access

port default vlan 20

stp region-configuration

region-name huawei

revision-level 1

instance 1 vlan 10

instance 2 vlan 20

active region-configuration

查看一下 <SW1>display stp brief

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询