Command Reference Guide Enable Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 207

show ip bgp community [<community number> . . . <community number>

| internet | no export| local-as | no-advertise] [exact]

Use the show ip bgp community command to display only those routes learned via Border Gateway
Protocol (BGP) that match the community numbers specified in the command. If no communities are
specified, all BGP routes are shown.
Syntax Description
<community-number> Optional. Displays routes that con tain this va lue in their community attribute. This
is a numeric value that can be an integer from 1 to 4,294,967 ,295 or string in the
form “aa:nn", where th e value of "aa" is the AS number and the value of "nn" is the
community number. Multiple community-number parameters can b e present in the
command.
internet Optional. Displays routes that contain this value in their community attribute. This
represents the well-known reserved community number for the INTERNET
community.
local-as Optional. Displays routes that contain this value in their community attribute. This
represents the well-known reserved community number for
NO_EXPORT_SUBCONFED. Routes containing this attribute should not be
advertised to external BGP peers.
no-export Optional. Displays routes containing this value in the community attribute. This
represents the well-known reserved commu nity number for NO_EXPORT. Routes
containing this attribute should not be advertised to BGP peers outside a
confederation boundary.
no-advertise Optional. Displays routes containing this value in the community attribute. This
represents the well-known reserved community number for NO_ADVERTISE.
Routes containing this attribute should not be advertised to any BGP peer.
exact Optional. Displays BGP routes with the community numbers specified and only
those specified.
Default Values
By default, this command displays all BGP routes.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and Total Access 900
Series units.
Command History
Release 10.1 Command was introdu ced.