Troubleshooting guide
Troubleshooting
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 69
Use the show ip bgp summary command to display a summary of the BGP route table.
#show ip bgp summary
The following sample output of the show ip bgp summary command shows a summarized list of the
configured BGP neighbors, as well as their status and statistics.
#show ip bgp summary
BGP router identifier 192.168.3.1, local AS number 304
8 network entries, 5 paths, and 23 BGP path attribute entries
Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State/PfxRcd
10.22.131.1 4 302 95 104 0 0 01:30:06 9
10.22.131.9 4 302 97 105 0 0 01:30:07 21
10.22.132.9 4 303 200 179 0 0 02:43:09 21
10.22.134.1 4 304 166 178 0 0 02:43:15 3
10.22.134.10 4 304 174 179 0 0 02:43:24 7
10.22.134.26 4 304 172 174 0 0 02:41:43 10
10.22.134.34 4 304 164 174 0 0 02:41:40 4
Show IP BGP Community
Use the show ip bgp community command to display only those routes learned via BGP that match the
community numbers specified in the command. If no communities are specified, all BGP routes containing
a community attribute are shown.
#show ip bgp community [<number> | internet | local-as | no-advertise | no-export]
<number> Optional. Displays routes that contain this value in their community attribute. This is a numeric
value that can be an integer from 1 to 4294967295 or string in the form aa:nn, where the value of aa is the
AS number and the value of nn is the desired local preference to be used in the service provider network.
Multiple community-number parameters can be present in the command.
internet Optional. Displays routes that contain this value in their community attribute. This represents the
well-known reserved community string INTERNET.
local-as Optional. Displays routes that contain this value in their community attribute. This represents the
well-known reserved community string NO_EXPORT_SUBCONFED. Routes containing this attribute
should not be advertised to external BGP peers.
no-advertise Optional. Displays routes containing this value in the community attribute. This represents
the well-known reserved community string NO_ADVERTISE. Routes containing this attribute should not
be advertised to any BGP peer.
no-export Optional. Displays routes containing this value in the community attribute. This represents the
well-known reserved community number for NO_EXPORT. Routes containing this attribute should not be
advertised to BGP peers outside a confederation boundary.
The exact prefixes that are being transmitted and received are shown in this output. The o in
front of the 172.16.70.0/30 route indicates it is a received route. For received routes to be
exported to the route table, they must be the best valid route indicated with the *> for the
received route.