华为设备与锐捷设备进行链路聚合对接

时间:    分类: 网工日志   标签: 没有

组网需求

华为设备与锐捷设备通过各自的二层以太网接口相互连接,要求在锐捷设备和华为设备上分别配置链路聚合,实现增加链路带宽、提高链路可靠性的目的。


配置过程

  1. 配置华为设备,创建链路聚合组,配置LACP模式并将接口加入Eth-Trunk

    system-view
    [~HUAWEI] interface eth-trunk 1
    [*HUAWEI-Eth-Trunk1] mode lacp
    [*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/3
    [*HUAWEI-Eth-Trunk1] commit
    [~HUAWEI-Eth-Trunk1] quit

  2. 配置锐捷设备,创建链路聚合组AG1并配置Active模式

    ruijie> enable
    ruijie# configure terminal
    ruijie(config)#interface range gigabitEthernet 0/1-3
    ruijie(config-if-range)#port-group 1 mode active
    ruijie(config-if-range)#exit

说明:华为交换机的LACP模式仅支持动态模式,需要手工配置,锐捷交换机配置模式为active,两端协商成功。


配置验证

  1. 在查看华为设备聚合链路状态
    [~HUAWEI] display eth-trunk 1
    Eth-Trunk1's state information is:    
    Local:    
    LAG ID: 1     Working Mode: Static     
    Preempt Delay: Disabled         Hash Arithmetic: profile default     
    System Priority: 32768          System ID: 0025-9e95-7c31  
    Least Active-linknumber: 1      Max Active-linknumber: 32     
    Operating Status: up            Number Of Up Ports In Trunk: 3
    Timeout Period: Slow
    --------------------------------------------------------------------------------     
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight     
    10GE1/0/1              Selected 1GE      32768   1      20289   10111100  1     
    10GE1/0/2              Selected 1GE      32768   2      20289   10111100  1     
    10GE1/0/3              Selected 1GE      32768   3      20289   10100000  1     
    
    Partner:    
    --------------------------------------------------------------------------------     
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState     
    10GE1/0/1              32768    000f-e267-6c6a  32768   1      20289   10111100     
    10GE1/0/2              32768    000f-e267-6c6a  32768   2      20289   10111100     
    10GE1/0/3              32768    000f-e267-6c6a  32768   3      20289   10100000
  1. 锐捷设备查看聚合链路状态
SW1(config)#show LACP summary
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Aggregate port 3:
Local information:
                LACP port Oper Port   Port
Port Flags State Priority Key Number State
--------------------------------------------------------------
GiO/1 SA    bndl 32768    0x3   0x1   0x3d
Gi0/2 SA    bndl 32768    0x3   0x2   0x3d
Gi0/3 SA    bndl 32768    0x3   0x3   0x3d
Partner information:
          LACP port                   Oper Port   Port
Port Flags Priority     Dev ID        Key Number State
--------------------------------------------------------------
GiO/1 SA    0        0d0.f800.0002    0x3   0x1   0x3d
GiO/2 SA    0        0d0.f800.0002    0x3   0x2   0x3d
Gi0/3 SA    0        0d0.f800.0002    0x3   0x3   0x3d

注:本文/图片来源于网络,侵删。
若内容涉及版权问题,请点击 发送邮件 联系删除。

添加新评论