show ip bgp community
show bgp ipv6 community
â– Use to display all routes that are members of the specified BGP community. Does
not accept regular expressions.
â– Reports whether the indirect next hop of a route is unreachable; if not, displays
the IGP cost to the indirect next hop.
â– Specify the community number in AA:NN format:
■AA—Number that identifies the autonomous system
■NN—Number that identifies the community within the autonomous system
â– If you filter the display with field options, the usual introductory information
about BGP attributes is displayed only if you issue the intro fields option. See
show ip bgp for descriptions of the fields displayed by this keyword.
â– Field descriptions
■Local router ID—BGP router ID of the local router
■local AS—Local autonomous system number
■paths—Total number of routes stored in the BGP routing table. If several
peers have advertised a route to the same prefix, all routes are included in
this count.
■distinct prefixes—Number of routes to unique prefixes stored in the BGP
routing table. If several peers have advertised a route to the same prefix,
only the best route is included in this count.
■paths selected for route table installation—Number of routes in the BGP
routing table that have been inserted into the IP routing table
■path attribute entries—Number of distinct path attributes stored in BGP's
internal path attributes table. If BGP receives two routes for different prefixes
but with identical path attributes, BGP will create only one entry in its internal
path attribute table and share it between the two routes to conserve memory.
■Prefix—Prefix for the route table entry
■Peer—IP address of BGP peer
■Next-hop—IP address of the next hop
■MED—Multiexit discriminator
■CalPrf—Calculated preference
■Weight—Assigned path weight
■Origin—Origin of the route
â– Example
host1#show ip bgp community 999:999
Local router ID 192.168.1.153, local AS 100
Monitoring BGP â– 169
Chapter 1: Configuring BGP Routing