Troubleshooting guide

Router#show ip bgp neighbors
BGP neighbor is 192.168.0.25, remote AS 500, external link
Con
figured hold time is 180, keepalive interval is 60 seconds
Default minimum time between advertisement runs is 30 seconds
Connections established 2; dropped 1
Last reset: Peer closed connection
Connection ID: 5
BGP version 4, remote router ID 192.168.5.1
BGP state is Established, for 00:58:15
Negotiated hold time is 180, keepalive interval is 60 seconds
Message statistics:
InQ depth is 0, OutQ depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 0 2
Keepalives: 59 58
Unknown: 0 0
Total: 60 61
Local host: 192.168.0.34, Local port: 179
Foreign host: 192.168.0.25, foreign port: 1042
Flags: passive open
Neighbor ID
Local IP address
Neighbor IP address
Neighbor IPv4
address Neighbor AS
Troubleshooting
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 79
Figure 13. Viewing a BGP Neighbor
BGP Will Not Send Routes to a Neighbor
If a remote host cannot reach the local
network, it is possible that BGP might not be sending the remote
unit the correct routes. View the routes the AOS device is advertising to the neighbor by entering the
following command:
#show ip bgp neighbor <ipv4 address> advertised-routes
Verify that BGP has been configured to advertise the network by viewing the running configuration. Also,
check outbound filters (both prefix lists and route maps) as you would inbound filters.
If the AOS device still cannot send or receive routes, then it
is probably having trouble connecting to the
neighbor (refer to BGP Cannot Communicate with a Neighbor on page 77).
Troubleshooting a Prefix List
Use the following Enable mode command to view a prefi
x list:
#show ip prefix-list [detail | summary] <name>
The detail and summary keywords are optional and mutually exclusive. If only the name of the prefix list
is entered, then the permit and deny statements are displayed and listed by sequence number. The
summary keyword produces output that lists the number of statements, their sequence numbers, and the
number of these statements that include a range of valid prefixes. The detail keyword produces all the
information shown by the other two commands, as well as the number of times a BGP prefix has matched
each statement.