We need to capture LACP PDUs on a member link of an aggregated bundle link on Juniper MX connected with other router via DWDM link and save the output in .pcap format using write-file knob.
Can someone help us to show how to use 'monitor traffic interface' command and capture only the LACP packets? We have tried but failed. The .pcap file size doesn't increase which shows packets are not captured but no error displayed by 'monitor interface traffic' command itself.
- Is it possible to run the 'monitor traffic interface' on ae link as well as xe- link (member link)?
- Or we can only run the command on ae link only?
We solely want to do this for troubleshooting purposes by knowing in which state LACP protocol machine got stuck when there is an issue in underlying DWDM network.
We are also using mirco BFD over LAG. The configurations of LAG as well as loopback interface are shared below.
user@RIK-RIK-Edg-MX24-1-re0> show configuration interfaces ae24
apply-groups [ xge-if-parameters-core ubfd-ae ];
aggregated-ether-options {
bfd-liveness-detection {
neighbor 10.135.19.45;
local-address 192.168.1.40;
}
lacp {
periodic fast;
}
}
unit 3 {
apply-groups core-ifl-parameters;
vlan-id 3;
family inet {
address 10.176.141.90/30;
}
}
{master}
user@GKN-GKN-Edg-MX24-1-re0> show bfd session
Detect Transmit
Address State Interface Time Interval Multiplier
10.135.19.45 Up xe-2/0/1 0.900 0.300 3
10.135.19.45 Up xe-1/1/0 0.900 0.300 3
user@RIK-RIK-Edg-MX24-1-re0> show configuration interfaces lo0
unit 0 {
family inet {
filter {
input protect-re;
}
address 192.168.1.40/32;
}
family iso {
address 49.0000.1921.6800.1040.00;
}
}
Many Thanks !