[j-nsp] Can the QFX5100 log LACP state changes?
Karl Gerhard
karl_gerh at gmx.at
Mon Nov 19 06:37:30 EST 2018
Hello
I need to check interfaces for LACP flaps on a QFX5100.
On an EX4550 and EX4300 it is very easy to do that. Every LACP state change would get logged and the syslog messages would look like this:
Nov 16 14:44:15 ex4550-test /kernel: %KERN-5-KERN_LACP_INTF_STATE_CHANGE: lacp_update_state_userspace: cifd xe-0/0/16 - DETACHED state - will not carry traffic
Nov 16 14:44:24 ex4550-test /kernel: %KERN-5-KERN_LACP_INTF_STATE_CHANGE: lacp_update_state_userspace: cifd xe-0/0/16 - ATTACHED state - acting as standby link
Nov 16 14:44:24 ex4550-test /kernel: %KERN-5-KERN_LACP_INTF_STATE_CHANGE: lacp_update_state_userspace: cifd xe-0/0/16 - CD state - ready to carry traffic
However, with QFX5100 I don't see those syslog entries any more. Best thing I can find when I disable an interface is this:
Nov 19 11:55:48 qfx5100-test /kernel: %KERN-7: lag_set_dcd_link_state: ifd=ge-0/0/36, ifd flags=0xc002
Nov 19 11:55:48 qfx5100-test /kernel: %KERN-7: lag_set_dcd_link_state: DCD Down received for ifd=ge-0/0/36
Unfortunately "ifd" refers to the physical interface that is being shut down, therefore I think the message when LACP flaps without the physical interface going up/down (an example for this would be packet loss) will look different (or there is none at all).
Does anyone know whether the QFX5100 logs LACP state changes at all or whether it is possible to configure that?
Regards
Karl
More information about the juniper-nsp
mailing list