Setup Guide

Table Of Contents
The show ip bgp community command without any parameters lists BGP routes with at least one
BGP community attribute and the output is the same as for the show ip bgp command output.
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 routes metric, if assigned.
LocPrf Displays the BGP LOCAL_PREF attribute for the route.
Weight Displays the routes weight.
Path Lists all the ASs the route passed through to reach the destination network.
Example
DellEMC# 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
DellEMC# 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
DellEMC# 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
*> 66.0.0.0/24 172.16.0.2 0 200 i
DellEMC#
show ip bgp community-list
View routes that a specific community list affects.
Syntax
show ip bgp [vrf vrf-name] [ipv4 {unicast | multicast} | ipv6 unicast]
community-list community-list-name [exact-match]
Parameters
vrf
vrf-name
(OPTIONAL) Enter the keywords vrf and then the name of the VRF to view
routes affected by a specific community list corresponding to that VRF.
ipv4
unicast
(OPTIONAL) Enter the keywords ipv4 unicast to view information only related
to ipv4 unicast routes.
ipv4
multicast
(OPTIONAL) Enter the keyword ipv4 followed by the keyword multicast to
view information related only to ipv4 multicast routes.
ipv6
unicast
(OPTIONAL) Enter the keyword ipv6 followed by the keyword unicast to view
information related only to ipv6 unicast routes.
community-list-
name
Enter the name of a configured IP community list (maximum 140 characters).
396 Border Gateway Protocol