zoukankan      html  css  js  c++  java
  • GNS3 1.4.0b3 MSTP多生成树配置实验

    一、实验目标

      掌握MSTP多生成树配置,VLAN配置,trunk配置,etherchannel配置

    二、实验平台

      系统:WIN7以上windows,X64版本。CPU支持虚拟化,并在BIOS中开启虚拟化。内存最好3G以上.

      软件:GNS3 1.4.0b3, VMware Workstation Pro 12,VM虚拟机:GNS3 VM (GNS3:1.4.0b3,VM:0.9.6) ,

                  IOU: i86bi-linux-l2-adventerprisek9-15.1a.bin

    三、实验拓扑

    四、实验需求

     SW1/SW2之间启用etherchannel。

    trunk:SW1-SW2,SW1-SW3,SW2-SW4,SW2-SW3,SW1-SW4.

    交换机全部启用mst生成树.(name mst,revision 1.)

    instance 1:vlan 10

    instance 2:vlan 20

    SW1: mst 1 root,mst 2 sec

    SW2: mst  2 root,mst1 sec

    vlan 10:pc1,pc3

    vlan 20:pc2,pc4.

     五、实验配置

    SW1:

    en

    conf t

    hostname SW1
    no ip routing
    vlan 10
    vlan 20
     
    spanning-tree mode mst
    spanning-tree mst configuration
     name mst
     revision 1
     instance 1 vlan 10
     instance 2 vlan 20
     exit
    spanning-tree mst 1 root pri
    spanning-tree mst 2 root sec
     
     
    interface Ethernet0/0
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 1 mode on
     
    interface Ethernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 1 mode on
     
    interface Ethernet0/2
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/3
     switchport trunk encapsulation dot1q
     switchport mode trunk
     

    SW2:

    en

    conf t

     hostname SW2

    no ip routing
    vlan 10
    vlan 20
    spanning-tree mode mst
     
    spanning-tree mst configuration
     name mst
     revision 1
     instance 1 vlan 10
     instance 2 vlan 20
     
    spanning-tree mst 1 root sec
    spanning-tree mst 2 root pri
     
    interface Ethernet0/0
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 1 mode on
     
    interface Ethernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-group 1 mode on
     
    interface Ethernet0/2
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/3
     switchport trunk encapsulation dot1q
     switchport mode trunk
     

                  

    SW3:

    en

    conf t

     hostname SW3

    no ip routing
    vlan 10
    vlan 20
    spanning-tree mode mst
    spanning-tree mst configuration
     name mst
     revision 1
     instance 1 vlan 10
     instance 2 vlan 20
     
    interface Ethernet0/0
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/2
     switchport access vlan 10
     switchport mode access
     
    interface Ethernet0/3
     switchport access vlan 20
     switchport mode access
     
     
    SW4:

    en

    conf t

    hostname SW4
    no ip routing
    vlan 10
    vlan 20
    spanning-tree mode mst
    spanning-tree mst configuration
     name  mst
     revision 1
     instance 1 vlan 10
     instance 2 vlan 20
     
    interface Ethernet0/0
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     
    interface Ethernet0/2
     switchport access vlan 10
     switchport mode access
     
    interface Ethernet0/3
     switchport access vlan 20
     switchport mode access
     
    PC1:ip 192.168.1.1/24 192.168.1.254
    PC2:ip 192.168.2.1/24 192.168.2.254
    PC3:ip 192.168.1.2/24 192.168.1.254
    PC4:ip 192.168.2.2/24 192.168.2.254
     
    配置完毕,PC1和PC3可以ping通,PC2和PC4可以ping通。
    SW1是vlan 10的root bridge,SW2是vlan 20的root bridge.
  • 相关阅读:
    Vmware15的安装以及Ubunt的在虚拟机上的安装
    MYSQL数据库查询索引
    SpringBoot和mybatis整合报错:Caused by: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 152; columnNumber: 10; 元素类型为 "mapper"
    idea中导包出现import org.apach.*,提交代码老出现冲突,不想使用.*的设置
    idea打断点后发现被标记的断点处那一行整行被标记了其他颜色,前面没有断点标识的红点
    Intellj IDEA 光标显示insert状态解决办法
    AngularJS 单元测试 Karma jasmine
    npm 及安装
    AngularJS 承诺 Promise
    AngularJS 路由及SPA理解
  • 原文地址:https://www.cnblogs.com/qzqdy/p/8143069.html
Copyright © 2011-2022 走看看