The following describes the
show ip bgp community
command shown in the
following example.
Field
Description
Network
Displays the destination network prefix of each BGP route.
Next Hop
Displays the next hop address of the BGP router. If 0.0.0.0 is
listed in this column, then local routes exist in the routing
table.
Metric
Displays the BGP route’s metric, if assigned.
LocPrf
Displays the BGP LOCAL_PREF attribute for the route.
Weight
Displays the route’s weight.
Path
Lists all the ASs the route passed through to reach the
destination network.
Example
Dell#show ip bgp community ?
local-AS Do not export outside local AS (well-
known community)
no-advertise Do not advertise to any peer (well-
known community)
no-export Do not export to next AS (well-known
community)
aa:nn Community number in aa:nn format
| Pipe through a command
Dell#show ip bgp community
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 192.168.11.5
Status codes: s suppressed, S stale, d dampened, h history, *
valid, > best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*> 55.0.0.0/24
172.16.0.2 0 200 i
*> 66.0.0.0/24
172.16.0.2 0 200 i
Dell#show ip bgp community no-advertise
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 192.168.11.5
Status codes: s suppressed, S stale, d dampened, h history, *
valid, > best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
454
Border Gateway Protocol