This section explains the debugging steps if a BGP session does not come up.

  1. Double check the configuration on the router and Avi Load Balancer. Ensure that the peer IPs, subnets, and AS numbers are correct.

  2. Verify the MD5 passwords are the same on the router and Avi Load Balancer.

  3. Run show serviceengine bgp to determine the state of the BGP session initiated by the Avi Load Balancer SE.

    show serviceengine <se_name> bgp peer_status filter vrf_ref <vrf_name>
  4. Verify there are no ACLs/ route maps on the router preventing the sessions/ advertisements.

  5. Additionally, if needed, check the packet capture using tcpdump (tcpdump -M) on the router and check BGP negotiations.