HCNA-MSTP

作者: Sec小玖 | 来源:发表于2018-01-03 00:15 被阅读0次

    1.首先在交换机S1、S2、S3上配置vlan,并将相应端口加入vlan中,以S2交换机为例

    [S2]vlan batch 10 20

    [S2]int e0/0/2

    [S2-Ethernet0/0/2]port link-type access

    [S2-Ethernet0/0/2]port default vlan 20

    [S2-Ethernet0/0/2]int e0/0/1

    [S2-Ethernet0/0/1]port link-t tr

    [S2-Ethernet0/0/1]port tr all vlan al

    [S2-Ethernet0/0/1]int e0/0/3

    [S2-Ethernet0/0/3]port link-t tru

    [S2-Ethernet0/0/3]port trunk allow-pass vlan all

    2.配置MSTP多实例

    [S1]stp region-configuration

    [S1-mst-region]region-name huawei

    [S1-mst-region]revision-level 1

    [S1-mst-region]instance 1 vlan 10

    [S1-mst-region]instance 2 vlan 20

    [S1-mst-region]active region-configuration

    [S2]stp region-configuration

    [S2-mst-region]region-name huawei

    [S2-mst-region]revision-level 1

    [S2-mst-region]instance 1 vlan 10

    [S2-mst-region]instance 2 vlan 20

    [S2-mst-region]active region-configuration

    [S3]stp region-configuration

    [S3-mst-region]region-name huawei

    [S3-mst-region]revision-level 1

    [S3-mst-region]instance 1 vlan 10

    [S3-mst-region]instance 2 vlan 20

    [S3-mst-region]active region-configuration

    3.配置完成后还需将S2交换机配置为实例2中的跟交换机

    [S2]stp instance 2 priority 0

    配置完成!

    相关文章

      网友评论

          本文标题:HCNA-MSTP

          本文链接:https://www.haomeiwen.com/subject/nbecnxtx.html