10-12-2021 10:39 PM
Hello All,
I have a 4331 router that has been configured with BGP. Presently BGP is flapping and giving error no support AFI/SAFI.
Could you let me what could be a reason for it?
Thanks.
Log-
Oct 13 00:40:13: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 passive Down AFI/SAFI not supported
Oct 13 00:41:51: %BGP-3-NOTIFICATION: received from neighbor 192.168.251.242 4/0 (hold time expired) 0 bytes
Oct 13 00:41:51: %BGP-5-NBR_RESET: Neighbor 192.168.251.242 reset (BGP Notification received)
Oct 13 00:41:51: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Down BGP Notification received
Oct 13 00:41:51: %BGP_SESSION-5-ADJCHANGE: neighbor 192.168.251.242 IPv4 Unicast topology base removed from session BGP Notification received
Oct 13 00:42:02: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Up
10-12-2021 11:15 PM
Hello,
how is your BGP confgured, are you using 'address family', and is the other side configured in the same way ? Would be helpful to see the configs from both BGP neighbors...
10-12-2021 11:33 PM
10-13-2021 12:24 AM
Hello,
it looks like your neighbors are directly connected ? In that case, you don't need the next hop self, try and remove that from both routers.
10-13-2021 01:21 AM
Hello @MilanVerma17 ,
the error says that the other peer is attempting to negoatiate an unsupported ( by local device) address family AFI sub address family SAFI.
>> Oct 13 00:40:13: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 passive Down AFI/SAFI not supported
Oct 13 00:41:51: %BGP-3-NOTIFICATION: received from neighbor 192.168.251.242 4/0 (hold time expired) 0 bytes
Oct 13 00:41:51: %BGP-5-NBR_RESET: Neighbor 192.168.251.242 reset (BGP Notification received)
Oct 13 00:41:51: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Down BGP Notification received
Oct 13 00:41:51: %BGP_SESSION-5-ADJCHANGE: neighbor 192.168.251.242 IPv4 Unicast topology base removed from session BGP Notification received
Oct 13 00:42:02: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Up
The AFI/subAFI that was not supported is likely the one I have highlighted IPv4 Unicast topology base.
the local device is an ISR 4331 running IOS XE . what is the peer 192.168.251.242 ?
Is now the session stable after the initial issues or it is still flapping ?
Hope to help
Giuseppe
10-13-2021 04:14 AM - edited 10-13-2021 04:29 AM
Hello
@MilanVerma17 wrote:
Hello All,
I have a 4331 router that has been configured with BGP. Presently BGP is flapping and giving error no support AFI/SAFI.
Could you let me what could be a reason for it?
Thanks.
Log-
Oct 13 00:40:13: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 passive Down AFI/SAFI not supported
Oct 13 00:41:51: %BGP-3-NOTIFICATION: received from neighbor 192.168.251.242 4/0 (hold time expired) 0 bytes
Oct 13 00:41:51: %BGP-5-NBR_RESET: Neighbor 192.168.251.242 reset (BGP Notification received)
Oct 13 00:41:51: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Down BGP Notification received
Oct 13 00:41:51: %BGP_SESSION-5-ADJCHANGE: neighbor 192.168.251.242 IPv4 Unicast topology base removed from session BGP Notification received
Oct 13 00:42:02: %BGP-5-ADJCHANGE: neighbor 192.168.251.242 Up
A-end
router bgp 65105
bgp log-neighbor-changes
neighbor 192.168.251.242 remote-as 65361
neighbor 192.168.251.242 next-hop-self
neighbor 192.168.251.242 send-community
neighbor 192.168.251.242 soft-reconfiguration inboundB-end
router bgp 65361
bgp log-neighbor-change
neighbor 192.168.251.241 remote-as 65105
neighbor 192.168.251.241 next-hop-self
neighbor 192.168.251.241 send-community
neighbor 192.168.251.241 soft-reconfiguration inbound
try the following:
router bgp xxx
no bgp default ipv4 multicast
no bgp default ipv4 unicast
address-family ipv4 unicast
neighbor x.x.x.x activate
05-17-2023 03:52 AM
Hi all
I am presently facing an issue alike while processing iBGP between cisco and juniper device.
The "dont−capability−negotiate" doesn't solve the issue. VPNV4 prefixes are not exchanged with the juniper peer.
The only way to establish the bgp session is to delete the "family inet-vpn unicast"
command from the juniper side whereas it is used to set the vpnv4 AF.
From the cisco' side i have
Route refresh: advertised and received(new)
Four-octets ASN Capability: advertised and received
Address family IPv4 Unicast: advertised and received
Address family VPNv4 Unicast: advertised
From the cisco' side i have
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast inet-vpn-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Is there a way to solve this interoperability issue?
Regards
05-17-2023 05:51 AM - edited 05-17-2023 05:55 AM
Hi @paul mebale ,
Can you please share more information about te issue itself, like logs, error messages, configuration snapshot and versions used on both sides.
It is generally preferable to open a new thread, rather than reopening an old one.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide