Troubleshooting guide
Troubleshooting
66 Copyright © 2012 ADTRAN, Inc. 61200860L1-29.4E
Troubleshooting
After configuring BGP, several different commands can be issued from Enable mode in the CLI to assist in
troubleshooting. The following tables contain the show and debug commands that are implemented
specifically for BGP.
Please note that as of AOS firmware release 18.3, the command syntax, organization, and
configuration of BGP changed. If you are using firmware 18.3 or later, please refer to the
configuration guide Configuring BGP in AOS (for AOS data products using firmware 18.3
or later and voice products using firmware R10.1.0 or later). The guide is available online
at http://kb.adtran.com (article number 3524).
Table 11. Viewing BGP Information
Command Description
#show ip as-path-list <name> Displays any AS path lists that have been configured in the
router, along with any permit and deny clauses in each list.
Optionally, enter the <name> of a specific AS path list to display
only the list matching the specified AS path list name.
#show ip bgp Displays the local router ID and AS, plus detailed information
about all BGP routes. Information provided for each route
includes: origin, destination, next hop, AS path, and whether
selected as best.
#show ip bgp <ipv4 address>
<subnet mask>
Displays BGP information about a specific IPv4 route, including:
advertising router IPv4 address, advertising router ID, and
neighbors to which the route is advertised.
#show ip bgp summary Displays summarized BGP information. This includes the local
router ID and AS, the number of paths received and the number
of BGP attribute entries. All BGP neighbors are summarized in a
table that displays the remote ID, remote AS, and the number of
messages sent and received.
#show ip bgp community
[<number> | internet | local-as |
no-advertise | no-export]
Displays routes known by the router that contain the specified
<number> or well-known community string: internet, local-as,
no-advertise, or no-export in their community attribute.
#show ip bgp community-list
<name> [exact]
Displays the BGP routes that are permitted by the specified
community list. The optional exact keyword restricts the routes
displayed to only those whose community lists exactly match
those specified in the named community list. If this parameter is
omitted, all routes matching any part of the specified community
list will be displayed.
#show ip bgp neighbors
<ipv4
address>
Displays information for all BGP neighbors. Information for each
neighbor includes: neighbor IPv4 address, neighbor ID, remote
AS, settings for BGP intervals, connection status, number of
messages, and the local BGP interface IPv4 address. Optionally,
limit the information displayed by entering the <ipv4 address> of
a specific neighbor.
#show ip bgp neighbors
<ipv4
address> advertised-routes
Displays all IPv4 BGP routes being advertised to the specified
neighbor.