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

  • 相关阅读:
    java常用类-----String类的源码分析、可变和不可变序列
    java常用类-----包装类及自动装箱和拆箱
    java数组---------二分查找_折半检索
    java数组------冒泡排序和优化
    java数组--------多维数组及数组存储表格数据
    java数组------Arrays工具类使用
    Volley超时重试机制
    Volley框架原理
    模块化实现(好处,原因)
    Android系统显示原理
  • 原文地址:https://www.cnblogs.com/sobk/p/14009413.html
Copyright © 2011-2022 走看看