Closed QiweiWen closed 4 years ago
sorry for the spam. the root cause is that our system has a background script that continuously performs operations on BGP peers based on system configuration. "no ebgp-multihop" is the one that's causing the reset; although the configuration hasn't really changed, FRR seems to reset the peer regardless.
@QiweiWen Sorry can you please explain how you fix or identified the solution for your issue. I think I am seeing something very similar on our system where all our session are resetting periodically (at random)
Hi Yif,
Here's a bit more context about our system. We made an Ethernet switch that has FRR as part of the control plane. We rolled out own configuration management and API and a script runs in the background monitoring the configs and sends commands to the vtysh sockets when the configs change. The script wakes up every minute and syncs FRR configs with the switch running configuration also, if no change is detected during that minute.
What caused the neighbour flap was that the script kept sending "no ebgp multi-hop" down the socket during the per-minute callback. FRR 7.3.1 (mistakenly?) treats this command as sufficient ground to delete the peering and start again.
If your neighbours flapping issue is "random", I doubt this is the same issue.
-dave
On Sun, 24 Oct 2021, 10:51 pm Yif Swery, @.***> wrote:
@QiweiWen https://github.com/QiweiWen Sorry can you please explain how you fix or identified the solution for your issue. I think I am seeing something very similar on our system where all our session are resetting periodically (at random)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FRRouting/frr/issues/6464#issuecomment-950310168, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPWFXHYFA2TP7CNIPGBD5LUIPXLNANCNFSM4NKE5DCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I am testing a simple BGP use case with a Linux box running FRR 7.3 and a Cisco Nexus switch as the peer. I find that, while the peering succeeds and the network connectivity is up for a time, within a minute FRR will reset the connection with the reason "No AFI/SAFI activated for peer".
Below are the running configs on the FRR side:
Below is the output of "show ip bgp neigh"