Solution
To resolve the problem:
Use the display current-configuration command to verify the current configuration, and verify that the peer's AS number is correct.
Use the display bgp peer ipv4 unicast or display bgp peer ipv6 unicast command to verify that the peer's IP/IPv6 address is correct.
If a loopback interface is used, verify that the loopback interface is specified with the peer connect-interface command.
If the peer is a non-direct EBGP peer, verify that the peer ebgp-max-hop command is configured.
If the peer ttl-security hops command is configured, verify that the command is configured on the peer. Verify that the hop-count values configured on them are greater than the number of hops between them.
Verify that a valid route to the peer is available.
Use the ping command to verify the connectivity to the peer.
Use the display tcp verbose or display ipv6 tcp verbose command to verify the TCP connection.
Verify that no ACL rule is applied to disable TCP port 179.
If the problem persists, contact Hewlett Packard Enterprise Support.