Aleksander,

The problem is LACP periodic timer is not running as shown in your output. I 
wonder if lacp-process is launched properly or got stuck. Could you please do 
show run and check on the health of lacp-process?

     periodic timer: not running

Steven

From: <vpp-dev@lists.fd.io> on behalf of Aleksander Djuric 
<aleksander.dju...@gmail.com>
Date: Wednesday, August 15, 2018 at 12:11 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] LACP link bonding issue

Hi Steven,

Thanks much for the answer. Yes, these 2 boxes’ interfaces are connected back 
to back.
Both sides shows same diagnostics results, here is the output:

vpp# sh int
             Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter 
         Count
BondEthernet0                     5      up          9000/0/0/0
GigabitEtherneta/0/0              1      up          9000/0/0/0     tx-error    
                   1
GigabitEtherneta/0/1              2      up          9000/0/0/0     tx-error    
                   1
GigabitEtherneta/0/2              3     down         9000/0/0/0
GigabitEtherneta/0/3              4     down         9000/0/0/0
local0                            0     down          0/0/0/0       drops       
                   2
vpp# clear hardware
vpp# clear error
vpp# clear hardware
vpp# clear error
vpp# ping 10.0.0.1

Statistics: 5 sent, 0 received, 100% packet loss
vpp# show hardware
             Name                Idx   Link  Hardware
BondEthernet0                      5     up   BondEthernet0
 Ethernet address 00:0b:ab:f4:bd:84
GigabitEtherneta/0/0               1     up   GigabitEtherneta/0/0
 Ethernet address 00:0b:ab:f4:bd:84
 Intel e1000
   carrier up full duplex speed 1000 auto mtu 9202
   flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum
   rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
   cpu socket 0

GigabitEtherneta/0/1               2     up   GigabitEtherneta/0/1
 Ethernet address 00:0b:ab:f4:bd:84
 Intel e1000
   carrier up full duplex speed 1000 auto mtu 9202
   flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum
   rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
   cpu socket 0

GigabitEtherneta/0/2               3    down  GigabitEtherneta/0/2
 Ethernet address 00:0b:ab:f4:bd:86
 Intel e1000
   carrier down
   flags: pmd maybe-multiseg tx-offload intel-phdr-cksum
   rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
   cpu socket 0

GigabitEtherneta/0/3               4    down  GigabitEtherneta/0/3
 Ethernet address 00:0b:ab:f4:bd:87
 Intel e1000
   carrier down
   flags: pmd maybe-multiseg tx-offload intel-phdr-cksum
   rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
   cpu socket 0

local0                             0    down  local0
 local
vpp# show error
  Count                    Node                  Reason
        5                ip4-glean               ARP requests sent
        5            BondEthernet0-tx            no slave
vpp# show lacp details
 GigabitEtherneta/0/0
   debug: 0
   loopback port: 0
   port moved: 0
   ready_n: 0
   ready: 0
   Actor
     system: 00:0b:ab:f4:bd:84
     system priority: 65535
     key: 5
     port priority: 255
     port number: 1
     state: 0x7
       LACP_STATE_LACP_ACTIVITY (0)
       LACP_STATE_LACP_TIMEOUT (1)
       LACP_STATE_AGGREGATION (2)
   Partner
     system: 00:00:00:00:00:00
     system priority: 65535
     key: 5
     port priority: 255
     port number: 1
     state: 0x1
       LACP_STATE_LACP_ACTIVITY (0)
     wait while timer: not running
     current while timer: not running
     periodic timer: not running
   RX-state: EXPIRED
   TX-state: TRANSMIT
   MUX-state: DETACHED
   PTX-state: PERIODIC_TX

 GigabitEtherneta/0/1
   debug: 0
   loopback port: 0
   port moved: 0
   ready_n: 0
   ready: 0
   Actor
     system: 00:0b:ab:f4:bd:84
     system priority: 65535
     key: 5
     port priority: 255
     port number: 2
     state: 0x7
       LACP_STATE_LACP_ACTIVITY (0)
       LACP_STATE_LACP_TIMEOUT (1)
       LACP_STATE_AGGREGATION (2)
   Partner
     system: 00:00:00:00:00:00
     system priority: 65535
     key: 5
     port priority: 255
     port number: 2
     state: 0x1
       LACP_STATE_LACP_ACTIVITY (0)
     wait while timer: not running
     current while timer: not running
     periodic timer: not running
   RX-state: EXPIRED
   TX-state: TRANSMIT
   MUX-state: DETACHED
   PTX-state: PERIODIC_TX

vpp# trace add dpdk-input 50
vpp# show trace
------------------- Start of thread 0 vpp_main -------------------
No packets in trace buffer
vpp# ping 10.0.0.1

Statistics: 5 sent, 0 received, 100% packet loss
vpp# show trace
------------------- Start of thread 0 vpp_main -------------------
No packets in trace buffer

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10173): https://lists.fd.io/g/vpp-dev/message/10173
Mute This Topic: https://lists.fd.io/mt/24525535/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to