For the typical BGP networking, this describes the flow and detailed steps for the failure of BGP peer establishment troubleshooting.
On the network as shown in Figure 1, after FWs are configured, BGP peers cannot be established.
In the previous networking diagram:
Run the ping ip-address command to check whether the route is normal. You need to run the following command on FW_B:
ping 10.1.1.1
The following information indicates that the route is abnormal. You need to find the reason through the following procedure.
PING 10.1.1.1: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- 10.1.1.1 ping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
Check whether the ACL for disabling TCP port 179 is configured.
Run the display current-configuration command or the display acl all command to check whether the router is configured with the ACL for disabling TCP port 179. Port 179 is the listening port for the BGP peer to establish TCP connections. If port 179 is disabled, TCP connections cannot be established.
Run the display current-configuration configuration bgp command to view the BGP configuration information. Take FW_A as an example, you can check whether the peer 10.1.1.2 connect-interface LoopBack0 configuration is included.
Run the debugging bgp ipv4-address all command to enable the debugging of a certain peer. For example, connections cannot be established between FW_B and FW_A. You can run the debugging bgp 10.1.1.2 all command to enable the BGP debugging on FW_B, thus finding out the reason that FW_A cannot establish connections with FW_B.
Run the debugging bgp ipv4-address all command to enable the debugging of a certain peer. For example, connections cannot be established between FW_B and FW_A. You can run the debugging bgp 10.1.1.2 all command to enable the BGP debugging on FW_B, thus finding out the reason that FW_A cannot establish connections with FW_B.
If prompt information Might miss configing ebgp-max-hop for ebgp multi-hop peer is displayed, it indicates that EBGP peer is established without directly connecting with the interface; however, Ebgp-Max-Hop is not configured.