Troubleshooting guide
Troubleshooting
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 67
#show ip bgp neighbors
<ipv4 address> re
ceived-routes
Displays all IPv4 routes (accepted and rejected) advertised by
th
e specified neighbor.
#show ip bg
p neighbors
<ipv4 address> routes
Displays all accepted received IPv4 routes advertised by the
specified neighbor. Routes displayed have passed inbound
filtering.
#show ip bg
p regexp <expression> Displays a summary of the BGP route table that includes routes
whose AS path matches the specified expression.
#show running-config router bgp Displays only the BGP configuration of the router.
Table 12. Viewing BGP Messages
#debu
g ip bgp Displays general BGP events, such as sent/received message
summaries, route processing actions, and results. Keepalive
packets are not debugged with this command.
#debu
g ip bgp events Displays significant BGP events, such as neighbor state
changes.
#debu
g ip bgp [in | out] Displays the same information as debug ip bgp, but limits
messages to the specified direction.
#debu
g ip bgp keepalives Displays BGP keepalive packets.
#debu
g ip bgp updates [quiet] Displays detailed information on BGP updates for all
neighbors. The optional quiet keyword displays a one-line
summary with information about BGP neighbor updates.
The output of all show commands can be limited by appending the following modifiers to
the end of the command: | begin <text>, | exclude <text>, and | include <text>. The
include modifier limits output to lines that contain the specified text, the exclude modifier
excludes any lines with the specified text, and the begin modifier displays the first line of
output with the specified text and all lines thereafter.
Command Description
The bgp log-neighbor-changes command can be issued to log state changes of a BGP
neighbor. Refer to Log Neighbor Changes on page 19 for more information.
Table 11. Viewing BGP Information (Continued)
Command Description