zoukankan      html  css  js  c++  java
  • 华为lab-rs-v1-1.4_MSTP

    需求:

      SW1、SW2和SW3上均运行MSTP、vlan10,vlan15,vlan24在instance 1上,instance的根交换机是SW1、备份根交换机是SW2;

      vlan30、vlan35、vlan255在instance 2的根交换机是SW2、备份根交换机是SW1。

      MSTP的region-name为HW;

      SW1的g0/0/10接口连接PC,接口UP后需要立即处于转发状态,当接口收到BPDU报文以后,此接口可以自动关闭;

    拓扑:

    配置:

      SW1、SW2、SW3公共配置

    stp region-configuration
        region-name HW
        region-level 1
        instance 1 vlan 10 15 24
        instance 2 vlan 30 35 255
        active region-configuration

      指定SW1为instance 1的根,同时SW1也为instance 2的备份根

    stp instance 1 root primary
    stp instance 2 root secondary

      同理,SW2为instance 1的备份根,为instance 2的根交换机

    stp instance 1 root secondary
    stp instance 2 root primary

      最后,对于PC来说,SW1的接口g0/0/10为终端接口,不能接受bpdu

    stp bpdu-protection
    interface g0/0/10
        stp edged-port enable

    结果测试:

    知识点:

      *重点*:生成树原理:

      bpdu

      bpud防护

  • 相关阅读:
    微信公众号项目部署
    数据库存入年月日时分秒类型时间问题
    路径问题
    常用DOS命令
    解决Maven下载慢的问题
    害人不浅的数学翻译
    Webpack4 踩坑记
    React 踩坑记
    what's the problem of Object oriented programming
    为什么JVM调优?
  • 原文地址:https://www.cnblogs.com/BurnovBlog/p/10865231.html
Copyright © 2011-2022 走看看