zoukankan      html  css  js  c++  java
  • RuiJie命令行划VLAN

    en  //进入用户模式
    conf t  //进入全剧模式
    vlan 101  //划VLAN
    exit  //退出,划VLAN
    vlan 102  //划VLAN
    exit  //退出,划VLAN---------------------------------------一下都是
    vlan 103
    exit
    vlan 104
    exit
    vlan 105
    exit
    vlan 106
    exit
    vlan 107
    exit
    vlan 108
    exit
    vlan 109
    exit
    vlan 110
    exit
    vlan 111
    exit
    vlan 112
    exit
    vlan 113
    exit
    vlan 114
    exit
    vlan 115
    exit
    vlan 116
    exit

    //结束,划VLAN


    interface fastEthernet 0/2  //进入2号口接口模式
    switch mode access
    switch access vlan 101  //给101划分到2接口
    exit
    interface fastEthernet 0/3  //进入3号口接口模式
    switch mode access
    switch access vlan 102  /给101划分到3接口
    exit
    interface fastEthernet 0/4
    switch mode access
    switch access vlan 103
    exit
    interface fastEthernet 0/5
    switch mode access
    switch access vlan 104
    exit
    interface fastEthernet 0/6
    switch mode access
    switch access vlan 105
    exit
    interface fastEthernet 0/7
    switch mode access
    switch access vlan 106
    exit

    interface fastEthernet 0/8
    switch mode access
    switch access vlan 107
    exit
    interface fastEthernet 0/9
    switch mode access
    switch access vlan 108
    exit
    interface fastEthernet 0/10
    switch mode access
    switch access vlan 109
    exit
    interface fastEthernet 0/11
    switch mode access
    switch access vlan 110
    exit
    interface fastEthernet 0/12
    switch mode access
    switch access vlan 111
    exit
    interface fastEthernet 0/13
    switch mode access
    switch access vlan 112
    exit
    interface fastEthernet 0/14
    switch mode access
    switch access vlan 113
    exit

    interface fastEthernet 0/15
    switch mode access
    switch access vlan 114
    exit
    interface fastEthernet 0/16
    switch mode access
    switch access vlan 115
    exit
    interface fastEthernet 0/17
    switch mode access
    switch access vlan 116
    exit

    //接口模式结束


    interface fastEthernet 0/1      //进入1号接口模式
    switch mode trunk  //串口模式
    switch trunk allowed vlan 101
    switch trunk allowed vlan 102
    switch trunk allowed vlan 103
    switch trunk allowed vlan 104
    switch trunk allowed vlan 105
    switch trunk allowed vlan 106
    switch trunk allowed vlan 107
    switch trunk allowed vlan 108
    switch trunk allowed vlan 109
    switch trunk allowed vlan 110
    switch trunk allowed vlan 111
    switch trunk allowed vlan 112
    switch trunk allowed vlan 113
    switch trunk allowed vlan 114
    switch trunk allowed vlan 115
    switch trunk allowed vlan 116
    exit
    exit
    wr

  • 相关阅读:
    About Dump File
    设置IIS延长Debug
    正则表达式中\d和[00]有什么区别
    理解程序语言语法的merge工具——semanticmerge
    大数据还是小数据
    如何在TFS中配置别的diff/merge的工具
    一个很cool的展示编程语言相互影响关系的网状图
    常见的算法的时间和空间复杂度
    C#的强迫执行域Constrained Execution Regions(CERs)
    C++的C4305和C4800的编译警告
  • 原文地址:https://www.cnblogs.com/ZHENGJUNupperclassman/p/7498698.html
Copyright © 2011-2022 走看看