Users Guide

Table Of Contents
Default None
Command Mode EXEC
Security and
Access
Netadmin, sysadmin, secadmin, and netoperator
Usage
Information
This command is used to display BGP routes that match the given community number.
Example
OS10# show ip bgp community 11:22
BGP local RIB : Routes to be Added , Replaced , Withdrawn
BGP local router ID is 10.1.1.2
Status codes:s suppressed,S stale,d dampened,h history,* valid,> best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>r 10.1.1.0/24 0.0.0.0 0 100 32768 ?
*>r 30.1.1.0/24 0.0.0.0 0 100 32768 ?
Supported
Releases
10.5.2.1 or later
show ip bgp community-list
Displays the BGP routes that match any of the standard community numbers from a standard community list.
Syntax
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [community-list
community-list-name]
Parameters
vrf vrf-name(Optional) Enter the name of the VRF to view routes that are related to a specific
community list corresponding to that VRF.
ipv4 unicastDisplays information that is related to IPv4 unicast routes.
ipv4 unicastDisplays information that is related to IPv6 unicast routes.
community-list community-list-nameEnter the name of a configured IP community list
(maximum 140 characters).
Default None
Command Mode EXEC
Security and
Access
Netadmin, sysadmin, secadmin, and netoperator
Usage
Information
This command is used to display BGP routes that match any standard community number from the given
standard community list.
Example
OS10# show ip bgp ipv6 unicast community-list std-com
BGP local RIB : Routes to be Added , Replaced , Withdrawn
BGP local router ID is 10.1.1.2
Status codes: s suppressed, S stale, d dampened, h history, * valid, >
best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight
Path
*>r 100::1/128 :: 0 100 32768 ?
*>r 2001:100:1:1::/64 :: 0 100 32768 ?
Supported
Releases
10.5.2.1 or later
Layer 3 869