zoukankan      html  css  js  c++  java
  • 端口聚合下vlan之间数据的传递

    sw3:undo terminal monitor
    Info: Current terminal monitor is off.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname 1
    [1]user-interface console 0
    [1-ui-console0]idle-timeout 0 0
    [1-ui-console0]quit
    [1]int Eth-Trunk 1
    [1-Eth-Trunk1]p
    [1-Eth-Trunk1]port link-type trunk
    [1-Eth-Trunk1]port trunk allow-pass vlan 2
    [1-Eth-Trunk1]quit
    [1]int e0/0/1
    [1-Ethernet0/0/1]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1-Ethernet0/0/1]int e0/0/2
    [1-Ethernet0/0/2]eth
    [1-Ethernet0/0/2]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1-Ethernet0/0/2]int e0/0/3
    [1-Ethernet0/0/3]eth
    [1-Ethernet0/0/3]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1-Ethernet0/0/3]int e0/0/4
    [1-Ethernet0/0/4]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1-Ethernet0/0/4]undo shutdown
    Info: Interface Ethernet0/0/4 is not shutdown.
    [1-Ethernet0/0/4]quit
    [1]vlan batch 2
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1]int e0/0/5
    [1-Ethernet0/0/5]port link-type access
    [1-Ethernet0/0/5]port default vlan 2
    [1-Ethernet0/0/5]quit
    [1]display stp brief
    MSTID Port Role STP State Protection
    0 Ethernet0/0/5 DESI FORWARDING NONE
    0 Eth-Trunk1 DESI FORWARDING NONE
    [1]display eth-trunk 1
    Eth-Trunk1’s state information is:
    WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
    Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
    Operate status: up Number Of Up Port In Trunk: 4

    PortName Status Weight
    Ethernet0/0/1 Up 1
    Ethernet0/0/2 Up 1
    Ethernet0/0/3 Up 1
    Ethernet0/0/4 Up 1
    sw4
    undo terminal monitor
    Info: Current terminal monitor is off.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname 2
    [2]user-interface console 0
    [2-ui-console0]idle-timeout 0 0
    [2-ui-console0]quit
    [2]int Eth-Trunk 1
    [2-Eth-Trunk1]port link-type trunk
    [2-Eth-Trunk1]port trunk allow-pass vlan 2
    [2-Eth-Trunk1]quit
    [2]int e0/0/1
    [2-Ethernet0/0/1]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [2-Ethernet0/0/1]int e0/0/2
    [2-Ethernet0/0/2]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [2-Ethernet0/0/2]int e0/0/3
    [2-Ethernet0/0/3]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [2-Ethernet0/0/3]int e0/0/4
    [2-Ethernet0/0/4]eth-trunk 1
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [2-Ethernet0/0/4]undo shutdown
    Info: Interface Ethernet0/0/4 is not shutdown.
    [2-Ethernet0/0/4]quit
    [2]vlan batch 2
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [2]int e0/0/5
    [2-Ethernet0/0/5]port hybrid pvid vlan 2
    [2-Ethernet0/0/5]port hybrid untagged vlan 2
    [2-Ethernet0/0/5]undo shutdown
    Info: Interface Ethernet0/0/5 is not shutdown.
    [2-Ethernet0/0/5]quit
    [2]display stp brief
    MSTID Port Role STP State Protection
    0 Ethernet0/0/5 DESI FORWARDING NONE
    0 Eth-Trunk1 ROOT FORWARDING NONE
    [2]dis eth-trunk 1
    Eth-Trunk1’s state information is:
    WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
    Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
    Operate status: up Number Of Up Port In Trunk: 4

    PortName Status Weight
    Ethernet0/0/1 Up 1
    Ethernet0/0/2 Up 1
    Ethernet0/0/3 Up 1
    Ethernet0/0/4 Up 1
    备注
    链路捆绑端口范围 2-8 条
    应记命令
     [1]int Eth-Trunk 1
    [1-Eth-Trunk1]p 
    [1-Eth-Trunk1]port link-type trunk  
    [1-Eth-Trunk1]port trunk allow-pass vlan 2(自定义,可以修改)
    display eth-trunk 1
    display stp brief

  • 相关阅读:
    python多线程爬取图片二
    python多线程爬取图片实例
    python3的类
    简单的python爬虫实例
    简单的python多线程实例
    webapi 下载Ftp文件并返回流到浏览器完成文件下载
    .net 配置Swagger
    IDEA 发布Api
    MySql 查询表结构信息
    解决js的 Math取正弦值 余弦值不准确的问题
  • 原文地址:https://www.cnblogs.com/sobk/p/14009413.html
Copyright © 2011-2022 走看看