Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 371
Example
Figure 12-9. show ip bgp community Command Example (Partial)
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.
Command
History
show ip bgp community-list
c e s
View routes that are affected by a specific community list.
Syntax
show ip bgp [ipv4 unicast] community-list community-list-name [exact-match]
>show ip bgp community
BGP table version is 3762622, local router ID is 63.114.8.48
Status codes: s suppressed, d damped, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed, n - network
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i 3.0.0.0/8 205.171.0.16 100 0 209 701 80 i
*>i 4.2.49.12/30 205.171.0.16 100 0 209 i
* i 4.21.132.0/23 205.171.0.16 100 0 209 6461 16422 i
*>i 4.24.118.16/30 205.171.0.16 100 0 209 i
*>i 4.24.145.0/30 205.171.0.16 100 0 209 i
*>i 4.24.187.12/30 205.171.0.16 100 0 209 i
*>i 4.24.202.0/30 205.171.0.16 100 0 209 i
*>i 4.25.88.0/30 205.171.0.16 100 0 209 3561 3908 i
*>i 6.1.0.0/16 205.171.0.16 100 0 209 7170 1455 i
*>i 6.2.0.0/22 205.171.0.16 100 0 209 7170 1455 i
*>i 6.3.0.0/18 205.171.0.16 100 0 209 7170 1455 i
*>i 6.4.0.0/16 205.171.0.16 100 0 209 7170 1455 i
*>i 6.5.0.0/19 205.171.0.16 100 0 209 7170 1455 i
*>i 6.8.0.0/20 205.171.0.16 100 0 209 7170 1455 i
*>i 6.9.0.0/20 205.171.0.16 100 0 209 7170 1455 i
*>i 6.10.0.0/15 205.171.0.16 100 0 209 7170 1455 i
*>i 6.14.0.0/15 205.171.0.16 100 0 209 7170 1455 i
*>i 6.133.0.0/21 205.171.0.16 100 0 209 7170 1455 i
*>i 6.151.0.0/16 205.171.0.16 100 0 209 7170 1455 i
--More--
Table 12-3. Command Example Fields: show ip bgp community
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.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series