IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    [原]交换、路由与防火墙手记(7)

    u010255642发表于 2015-11-18 17:13:20
    love 0

    1、 2台交换机使用access端口连接,在access端口上配置vlan。

     

     

     

    S1

     

    <Huawei>sy

    Entersystem view, return user view with Ctrl+Z.

    [Huawei]sysnames1

    [s1]vlan20

    [s1-vlan20]interfacegig 0/0/1

    [s1-GigabitEthernet0/0/1]portlink-type access

    [s1-GigabitEthernet0/0/1]portdefault vlan 20

    [s1-GigabitEthernet0/0/1]q

    [s1]interfacegig 0/0/2

    [s1-GigabitEthernet0/0/2]portlink-type access

    [s1-GigabitEthernet0/0/2]portdefault vlan 20

    [s1]ret

    <s1>save

    Thecurrent configuration will be written to the device.

    Are yousure to continue?[Y/N]y

    Nowsaving the current configuration to the slot 0.

    Nov  6 2015 12:04:37-08:00 s1%%01CFM/4/SAVE(l)[2]:The user chose Y when deciding

     whether to save the configuration to thedevice.

    Save theconfiguration successfully.

     

    本博客所有内容是原创,如果转载请注明来源

    http://blog.csdn.net/myhaspl/

    S2:

    <Huawei>sy

    Entersystem view, return user view with Ctrl+Z.

    [Huawei]sysnames2





沪ICP备19023445号-2号
友情链接