You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FRR Version 10.2.1-0~ubuntu24.04.1
Linux 6.8.1-1014-realtime #15-Ubuntu SMP PREEMPT_RT Fri Dec 6 22:24:34 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I created a BGP with BFD to AWS Direct Connection and would like to test the failover to AWS VPN by a test function from AWS "Bring down BGP".
Both BGP and BFD establish well.
However, when testing, the failover works well, but when recovering, BGP keeps Idle and BFD keeps down.
Jan 17 14:21:15 node1 bfdd[3055688]: [SEY1D-NT8EQ] state-change: [mhop:no peer:169.254.66.1 local:169.254.66.2 vrf:default ifname:vlan1622] up -> down reason:neighbor-down
Jan 17 14:21:15 node1 bgpd[3055678]: [Q4BCV-6FHZ5] zclient_bfd_session_update: 169.254.66.2/32 -> 169.254.66.1/32 (interface vlan1622) VRF default(0) (CPI bit yes): Down
Jan 17 14:21:15 node1 bgpd[3055678]: [MKVHZ-7MS3V] bfd_session_status_update: neighbor 169.254.66.1 vrf default(0) bfd state Up -> Down
Jan 17 14:21:15 node1 bgpd[3055678]: [HZN6M-XRM1G] %NOTIFICATION(Hard Reset): sent to neighbor 169.254.66.1 6/10 (Cease/BFD Down) 0 bytes
Jan 17 14:21:15 node1 bgpd[3055678]: [QFMSE-NPSNN] zclient_bfd_session_update: sessions updated: 1
Jan 17 14:21:15 node1 bgpd[3055678]: [ZWCSR-M7FG9] 169.254.66.1 [FSM] BGP_Stop (Established->Clearing), fd 25
Jan 17 14:21:15 node1 bgpd[3055678]: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Clearing established_peers 2
Jan 17 14:21:15 node1 bgpd[3055678]: [HKWM3-ZC5QP] 169.254.66.1 fd -1 went from Established to Clearing
Jan 17 14:21:15 node1 bgpd[3055678]: [ZWCSR-M7FG9] 169.254.66.1 [FSM] Clearing_Completed (Clearing->Idle), fd -1
Jan 17 14:21:15 node1 bgpd[3055678]: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Idle established_peers 2
Jan 17 14:21:15 node1 bgpd[3055678]: [HKWM3-ZC5QP] 169.254.66.1 fd -1 went from Clearing to Idle
Jan 17 14:22:08 node1 bgpd[3055678]: [ZGYKZ-X9JJR] 169.254.66.1 - incoming conn rejected - no AF activated for peer
Jan 17 14:22:31 node1 bgpd[3055678]: [ZGYKZ-X9JJR] 169.254.66.1 - incoming conn rejected - no AF activated for peer
Jan 17 14:22:33 node1 bgpd[3055678]: [ZGYKZ-X9JJR] 169.254.66.1 - incoming conn rejected - no AF activated for peer
If I do not enable BFD, BGP can recover well, but I believe it is slower when failover in real cases.
Try 1
AI suggests me to config "neighbor 169.254.66.1 activate" under "address-family ipv4 unicast", but it seems default, not show up in "show run" and not solving the issue, and still "no AF activated for peer"
Try 2
I had a very similar setup with VyOS which uses FRR 9.1.1, and that recovers well.
I looked into the frr.conf of this VyOS, and manually update my frr.conf accordingly, and finally neighbor activate is there by vim...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Background
FRR Version 10.2.1-0~ubuntu24.04.1
Linux 6.8.1-1014-realtime #15-Ubuntu SMP PREEMPT_RT Fri Dec 6 22:24:34 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I created a BGP with BFD to AWS Direct Connection and would like to test the failover to AWS VPN by a test function from AWS "Bring down BGP".
Both BGP and BFD establish well.
However, when testing, the failover works well, but when recovering, BGP keeps Idle and BFD keeps down.
Current Workaround
If I do not enable BFD, BGP can recover well, but I believe it is slower when failover in real cases.
Try 1
AI suggests me to config "neighbor 169.254.66.1 activate" under "address-family ipv4 unicast", but it seems default, not show up in "show run" and not solving the issue, and still "no AF activated for peer"
Try 2
I had a very similar setup with VyOS which uses FRR 9.1.1, and that recovers well.
I looked into the frr.conf of this VyOS, and manually update my frr.conf accordingly, and finally neighbor activate is there by vim...
Now, debug log does not show "no AF activated for peer" anymore, but still cannot recover BGP until I remove BFD configuration...
Try 3
I finally tried graceful-restart-disble, in case of confliction, but still cannot recover BGP peering, it keeps in Idle.
Question
What could be the possible cause?
Beta Was this translation helpful? Give feedback.
All reactions