Burnov

导航

华为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基础知识  

 

posted on 2019-05-20 12:09  Burnov  阅读(351)  评论(0编辑  收藏  举报