CE5855 lacp聚合eth-trunk down,但业务正常

发布时间:  2017-03-29 浏览次数:  427 下载次数:  0
问题描述
CE5855  V100R005C10SPC200
Eth-Trunk2与友商服务器(192.168.17.3)对接
#
interface Eth-Trunk2
 port link-type trunk
 port trunk allow-pass vlan 101 to 107 117
 mode lacp-dynamic
#
interface GE1/0/2
 eth-trunk 2
#
CE上可以学到服务器的ARP,但是接口信息显示为成员口GE1/0/2,不是从ET2上学到的:
<GDWL-AAA-5800>disp arp
ARP Entry Types: D - Dynamic, S - Static, I - Interface
EXP: Expire-time

IP ADDRESS      MAC ADDRESS    EXP(M) TYPE/VLAN INTERFACE       VPN-INSTANCE
------------------------------------------------------------------------------ 
192.168.17.3    0050-5694-2a13   20   D/107     GE1/0/2
同时ETH2状态是DOWN的,理论上无法转发数据:
[~GDWL-AAA-5800-GE1/0/2]disp int et 2
Eth-Trunk2 current state : DOWN (ifindex: 126)
Line protocol current state : DOWN
Description: Vsphere-2-data
Switch Port, PVID :    1, TPID : 8100(Hex), Hash Arithmetic : profile default, Maximal BW : 2Gbps, Current BW : 0Mbps, The Maximum Frame Length is 9216
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 883f-d39f-d8c1
Current system time: 2017-02-14 16:04:32
Physical is ETH_TRUNK
    Last 300 seconds input rate 173819 bits/sec, 50 packets/sec
    Last 300 seconds output rate 116284 bits/sec, 87 packets/sec
    Input: 6167264 packets,2367771999 bytes
           6140820 unicast,22135 broadcast,4309 multicast
           0 errors,0 drops
    Output:15089850 packets,2576572615 bytes
           5672222 unicast,8909293 broadcast,508335 multicast
           0 errors,0 drops
    Last 300 seconds input utility rate:  0.00%
    Last 300 seconds output utility rate: 0.00%
----------------------------------------------------------
PortName                      Status              Weight 
----------------------------------------------------------
GE1/0/2                       DOWN                1      
GE2/0/2                       DOWN                1      
----------------------------------------------------------
The Number of Ports in Trunk : 2
The Number of Up Ports in Trunk : 0
目前服务器的相关业务均正常: 
[~GDWL-AAA-5800-Vlanif107]ping 192.168.17.3
  PING 192.168.17.3: 56  data bytes, press CTRL_C to break
    Reply from 192.168.17.3: bytes=56 Sequence=1 ttl=64 time=2 ms
    Reply from 192.168.17.3: bytes=56 Sequence=2 ttl=64 time=3 ms
处理过程
业务转发正常,说明端口物理状态正常,当前查看聚合模式为动态lacp,初步分析动态lacp协商失败导致成员口转发状态down,查看报文收发情况:
<HUAWEI> display lacp statistics eth-trunk 2
  Eth-Trunk4's PDU statistics is:                                                
 -------------------------------------------------------------------------------
 Port                      LacpRevPdu  LacpSentPdu  MarkerRevPdu  MarkerSentPdu
 GE1/0/2                        0          5361             0              0            
 GE2/0/2                                 5371             0              0  
通过报文收发可以确定对端服务器聚合模式非lacp;
查看具体成员口状态:
Eth-Trunk2's state information is:
Local:
LAG ID: 2                       Working Mode: Dynamic
Preempt Delay: Disabled         Hash Arithmetic: profile default
System Priority: 32768          System ID: 883f-d39f-d8c1
Least Active-linknumber: 1      Max Active-linknumber: 16
Operating Status: down          Number Of Up Ports In Trunk: 0
Timeout Period: Slow         
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GE1/0/2                Indep    1GE      32768   28     561     10100010  1    
GE2/0/2                Indep    1GE      32768   14     561     10100010  1    

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GE1/0/2                0        0000-0000-0000  0       0      0       10100011
GE2/0/2                0        0000-0000-0000  0       0      0       10100011
当前动态LACP模式eth-trunk协商失败,端口状态Indep:Indep表示物理口是相互独立的,可以转发数据,但是Eth-Trunk接口状态表现为down,Eth-Trunk接口中状态为Up的成员口为0。
所有物理口单独工作,所以当前学习到的arp为物理接口学习,因为本身当前就是物理接口独立转发数据,与eth-trunk无关。
通过以上信息可以确认,两端聚合模式不匹配,和服务器厂商确认,其当前为手工聚合模式,更改本端为手工聚合,问题解决
根因

服务器非lacp模式,两端聚合模式不匹配

解决方案
更改为手工eth-trunk

END