zoukankan      html  css  js  c++  java
  • 华为lab-rs-v1-1.1_vlan需求

    需求:

      1、在SW1、SW2、SW3和SW4上分别创建VLAN10、VLAN15、VLAN24、VLAN30、VLAN35、VLAN255。

      2、把上述接口划入倒影的VLAN,接口均为access类型。

        vlan10  SW1  g0/0/10,g0/0/23

        vlan15  SW2  g0/0/1

             SW3  e0/0/23(g0/0/1)

             SW4  e0/0/5

        vlan24  SW2  g0/0/2,g0/0/4

        vlan30  SW2  G0/0/3

        vlan35  SW3  e0/0/3,e0/0/5

        vlan255   SW1  g0/0/2

              SW3  e0/0/24(g0/0/2)

    拓扑:

      

    配置:

    lldp enable    #开启邻居发现协议
    
    vlan batch 10 15 24 30 35 255
    interface xxxx    #进入到某个具体端口
        port link-type access
        port default vlan xx    #添加到某个具体的vlan中去

    需求验证:

    lldp enable

    display vlan  #查看四台交换机上的vlan配置情况

      SW1:

      SW2:

      SW3:

      SW4:

    知识点:

      VLAN基础知识  

  • 相关阅读:
    bzoj3237 cdq分治+可撤销并查集
    bzoj2957 奥妙重重的线段树
    bzoj3718 树状数组
    bzoj3991 LCA + set
    codeforces794D dfs+图上hash
    [ZJOI2010]数字计数/烦人的数学作业
    [SCOI2009]windy数
    数位DP(学习笔记)
    UVA10559 方块消除 Blocks
    采蘑菇
  • 原文地址:https://www.cnblogs.com/BurnovBlog/p/10864833.html
Copyright © 2011-2022 走看看