为什么eth-trunk接口状态DOWN?

发布时间:  2015-03-27 浏览次数:  1755 下载次数:  0
问题描述
ME60与S9300eth-trunk对接接口状态DOWN,物理接口状态UP
处理过程

在ME60设备上查询eth-trunk状态信息,如下:
<4M.XA-tbl.HWme60-x8-2> dis eth-trunk 22
Eth-Trunk22's state information is:
Local:
LAG ID: 22                  WorkingMode: STATIC                              
Preempt Delay: Disabled     Hash arithmetic: According to flow               
System Priority: 32768      System ID: d46a-a89d-7b30                        
Least Active-linknumber: 1  Max Active-linknumber: 16                        
Operate status: down        Number Of Up Port In Trunk: 0                    
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet4/1/0   Unselect 1GE      32768   1      5681    11100010  1                       //状态是没选择
GigabitEthernet4/1/1   Unselect 1GE      32768   2      5681    11100010  1    

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet4/1/0   0        0000-0000-0000  0       0      0       10100011
GigabitEthernet4/1/1   0        0000-0000-0000  0       0      0       10100011

<4M.XA-tbl.HWme60-x8-2>dis interface Eth-Trunk 22
Eth-Trunk22 current state : DOWN                                       //eth-trunk接口状态DOWN
Line protocol current state : DOWN
Link quality grade : GOOD
Description:TO-glx-S9300
Route Port,Hash arithmetic : According to flow,Maximal BW: 2G, Current BW: 0M, The Maximum Transmit Unit is 1548
Internet Address is 10.16.1.169/29
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is d46a-a89d-7b30
Physical is ETH_TRUNK
Current system time: 2014-12-17 19:53:15
    Last 300 seconds input rate 0 bits/sec, 0 packets/sec
    Last 300 seconds output rate 2048 bits/sec, 2 packets/sec
    Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec
    Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec
    Input: 382813085035 packets,74152149948288 bytes
           381773753272 unicast,824896058 broadcast,214435705 multicast
           49460 errors,49460 drops
    Output:513498662146 packets,581353753180926 bytes
           513409613823 unicast,22405684 broadcast,66642639 multicast
           0 errors,0 drops
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%
-----------------------------------------------------
PortName                      Status      Weight
-----------------------------------------------------
GigabitEthernet4/1/0          DOWN        1
GigabitEthernet4/1/1          DOWN        1
-----------------------------------------------------
The Number of Ports in Trunk : 2
The Number of UP Ports in Trunk : 0

S9300和ME60的物理接口状态是UP,如下:
<4M.XA-tbl.HWme60-x8-2>   dis interface b
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
(b): BFD down
(B): Bit-error-detection down
(e): ETHOAM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface                   PHY   Protocol InUti OutUti   inErrors  outErrors
Aux0/0/1                    down  down        0%     0%          0          0
Eth-Trunk2                  up    up       6.22%    42%          0          0
  GigabitEthernet3/1/4      up    up       6.38%    42%          0          0
  GigabitEthernet3/1/5      up    up       6.22%    43%          0          0
Eth-Trunk22                 down  down        0%     0%      49460          0
  GigabitEthernet4/1/0      up    up          0%     0%      24443          0                        //物理接口状态UP
  GigabitEthernet4/1/1      up    up          0%     0%      25017          0

说明物理链路是没有问题的,配置使用LACP静态,如下,怀疑是ETH-TRUNK报文没有协商导致状态DOWN。
interface Eth-Trunk22
description TO-glx-S9300
mtu 1548
ip address 10.16.1.169 255.255.255.248
vrrp vrid 54 virtual-ip 10.16.1.172
admin-vrrp vrid 54
vrrp vrid 54 priority 120
vrrp vrid 54 track interface GigabitEthernet3/0/0
admin-vrrp vrid 55
vrrp vrid 55 track interface GigabitEthernet3/0/0
ospf cost 10
ospf authentication-mode md5 1 cipher %@%@I&&A"]fa//y#~J(+m!s3EZBk%@%@
mpls
mpls ldp
mode lacp-static                               //LACP静态模式
lacp timeout fast

在两端分别查看LACP报文统计,都只有发出的报文,都没有收到对端报文,信息如下:
<4M.XA-tbl.HWme60-x8-2> dis lacp statistics eth-trunk 22
Eth-Trunk22's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet4/1/0    7661213      7919780      0            0           
GigabitEthernet4/1/1    7661222      7919783      0            0           

<4M.XA-tbl.HWme60-x8-2> dis lacp statistics eth-trunk 22
Eth-Trunk22's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet4/1/0    7661213      7919782      0            0           
GigabitEthernet4/1/1    7661222      7919785      0            0           

<4M.XA-tbl.HWme60-x8-2> dis lacp statistics eth-trunk 22
Eth-Trunk22's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet4/1/0    7661213      7919784      0            0           
GigabitEthernet4/1/1    7661222      7919787      0            0   

<XIA-GLX-S-9306>    DIS lacp statistics eth-trunk 3
Eth-Trunk3's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet1/0/14   18419933     18935264     0            0           
GigabitEthernet1/0/15   18426593     18939724     0            0           


<XIA-GLX-S-9306>DIS lacp statistics eth-trunk 3
Eth-Trunk3's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet1/0/14   18419933     18935266     0            0           
GigabitEthernet1/0/15   18426593     18939726     0            0           


<XIA-GLX-S-9306>DIS lacp statistics eth-trunk 3
Eth-Trunk3's PDU statistic is:
------------------------------------------------------------------------------
Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
GigabitEthernet1/0/14   18419933     18935268     0            0           
GigabitEthernet1/0/15   18426593     18939728     0            0

 

根因

两端设备都发送了lacp报文,没有收到lacp的报文导致eth-trunk没有协商起来。

解决方案

最后,排查中间设备及链路解决。

END