[talk] LACP debug question

Sujit K M kmsujit at gmail.com
Sun Jul 12 06:22:11 EDT 2020


On Sat, Jul 11, 2020, 10:03 PM Mark Saad <nonesuch at longcount.org> wrote:

> All
>   This is a repost from net . I am looking for someone who can help me
> better understand this LACP disconnect that I am seeing on 12-stable . The
> server is a router with Solarflare nics attached to a Pair of arista 7050’s
> .
>
> Can you help me understand what I am looking at here. I enabled the lacp
> debug until I finally saw the issue I noted before. Due to some log
> rotation part of the message is clipped.
> Here is a part the full thing is on patebin https://pastebin.com/BGtbxcBf
>
>
> 30 2020-07-09T15:47:04.145885+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacp_sm_rx_timer: CURRENT -> EXPIRED
> 31 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> Interface stopped DISTRIBUTING, possible flapping
> 32 2020-07-09T15:47:04.145895+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> collecting enabled
>

https://en.m.wikipedia.org/wiki/Link_aggregation#:~:text=Within%20the%20IEEE%20specification%2C%20the,form%20a%20single%20logical%20channel
.

The expired and stopped distribution might beat the purpose of LACP.

>
> 33 2020-07-09T15:47:04.145896+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> disable distributing on aggregator
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,0000,0000)],
> nports 2 -> 1
> 34 2020-07-09T15:47:04.145911+00:00 ch1-c104-sdn02-mgmt kernel: sfxge1:
> lacp_select_tx_port: waiting transit
> 35 2020-07-09T15:47:04.145912+00:00 ch1-c104-sdn02-mgmt kernel: marker
> transmit, port=6, sys=00:0f:53:69:7c:20, id=487
> 36 2020-07-09T15:47:04.145912+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> sfxge1: lacp_select_tx_port: waiting transit
> 37 2020-07-09T15:47:04.145913+00:00 ch1-c104-sdn02-mgmt kernel: marker
> transmit, port=5, sys=00:0f:53:69:7c:20, id=487
> 38 2020-07-09T15:47:04.145914+00:00 ch1-c104-sdn02-mgmt kernel: marker
> response, port=6, sys=00:0f:53:69:7c:20, id=487
> 39 2020-07-09T15:47:04.145914+00:00 ch1-c104-sdn02-mgmt kernel:
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,0000,0000)],
> speed=10000000000, nports=1
> 40 2020-07-09T15:47:04.145922+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacp_select_tx_port: waiting transit
> 41 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 42 2020-07-09T15:47:04.145923+00:00 ch1-c104-sdn02-mgmt kernel: active
> aggregator not changed
> 43 2020-07-09T15:47:04.145924+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 44 2020-07-09T15:47:04.145925+00:00 ch1-c104-sdn02-mgmt kernel: marker
> response, port=5, sys=00:0f:53:69:7c:20, id=487
> 45 2020-07-09T15:47:04.145925+00:00 ch1-c104-sdn02-mgmt kernel:
> lacp_select_tx_port: waiting transit
> 46 2020-07-09T15:47:04.145926+00:00 ch1-c104-sdn02-mgmt kernel: new
> [(8000,00-0F-53-69-7C-20,00F2,0000,0000),(8000,46-4C-A8-68-13-47,006A,0000,0000)]
> 47 2020-07-09T15:47:04.145926+00:00 ch1-c104-sdn02-mgmt kernel: Set table
> 1 with 1 ports
> 48 2020-07-09T15:47:04.145927+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> mux_state 4 -> 3
> 49 2020-07-09T15:47:04.145928+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> collecting disabled
> 50 2020-07-09T15:47:04.145930+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> mux_state 3 -> 2
> 51 2020-07-09T15:47:04.145931+00:00 ch1-c104-sdn02-mgmt kernel: sfxge0:
> lacpdu transmit
> 52 2020-07-09T15:47:04.145931+00:00 ch1-c104-sdn02-mgmt kernel:
> actor=(8000,00-0F-53-69-7C-20,00F2,8000,0005)
> 53 2020-07-09T15:47:04.145932+00:00 ch1-c104-sdn02-mgmt kernel:
> actor.state=8d<ACTIVITY,AGGREGATION,SYNC,EXPIRED>
> 54 2020-07-09T15:47:04.145932+00:00 ch1-c104-sdn02-mgmt kernel:
> partner=(8000,46-4C-A8-68-13-47,006A,8000,0006)
> 55 2020-07-09T15:47:04.145933+00:00 ch1-c104-sdn02-mgmt kernel:
> partner.state=37<ACTIVITY,TIMEOUT,AGGREGATION,COLLECTING,DISTRIBUTING>
> 56 2020-07-09T15:47:04.145935+00:00 ch1-c104-sdn02-mgmt kernel: maxdelay=0
> 57 2020-07-09T15:47:04.145937+00:00 ch1-c104-sdn02-mgmt kernel: queue
> flush complete
> ---
> Mark Saad | nonesuch at longcount.org
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org:8080/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20200712/8a68fc39/attachment.htm>


More information about the talk mailing list