Users Guide

Field Description
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
*> 66.0.0.0/24 172.16.0.2 0 200 i
Dell#
show ip bgp community-list
View routes that a specic community list aects.
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
aected by a specic 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 congured IP community list (maximum 140 characters).
exact-match Enter the keyword for an exact match of the communities.
398 Border Gateway Protocol