尧图建网站 尧图建网站 YAOTU WEB BUILD 免费咨询
ARTICLE DETAIL

资讯详情

深耕网站建设与建站编程的一线实战洞察。

MSTP 实验1: MSTP简单配置

MSTP 实验1: MSTP简单配置 MSTP的修订级别用来与MST域名和MST域的VLAN映射表来共同确定设备所属的MST域。修订级别目前没什么实际作用算是个保留参数吧。只要记住MSTP同域的三要素就是域名、实例和vlan映射、修订级别就OK了缺省情况下MST域的MSTP修订级别为0。配置MSTPSW1:undo ter mosysys SW1vlan batch 10 20int e0/0/1port link-type trunkport trunk allow-pass vlan allint e0/0/2port link-type trunkport trunk allow-pass vlan allint e0/0/3port link-type accessport default vlan 10stp instance 1 root primarystp instance 2 root secondarystp region-configurationregion-name huaweirevision-level 1instance 1 vlan 10instance 2 vlan 20active region-configurationSW2:undo ter mosysys SW2vlan batch 10 20int e0/0/1port link-type trunkport trunk allow-pass vlan allint e0/0/2port link-type trunkport trunk allow-pass vlan allint e0/0/3port link-type accessport default vlan 20stp instance 1 root secondarystp instance 2 priority 0stp region-configurationregion-name huaweirevision-level 1instance 1 vlan 10instance 2 vlan 20active region-configurationSW3:undo ter mosysys SW3vlan batch 10 20int e0/0/1port link-type trunkport trunk allow-pass vlan allint e0/0/2port link-type trunkport trunk allow-pass vlan allint e0/0/3port link-type accessport default vlan 10int e0/0/4port link-type accessport default vlan 20stp region-configurationregion-name huaweirevision-level 1instance 1 vlan 10instance 2 vlan 20active region-configuration查看一下 SW1display stp brief
返回列表