Users Guide

*>r 31.1.1.0/24 0.0.0.0 0 100
32768 ?
*> 41.1.1.0/24 ethernet 1/1/1 0 100
32768 ?
When you filter routes by IP addresses, if the system does not find a match, it displays the following error
message:
OS10# show ip bgp 40.40.40.0/24
%Error: Prefix does not exist.
Supported
Releases
10.3.0E or later
show ip bgp community
Displays the BGP routes that match a standard community number.
Syntax
show ip bgp [vrf vrf-name] [{ipv4 | ipv6} unicast] [community community-
number | {internet | local-AS | no-advertise | no-export}]
Parameters
vrf vrf-name(Optional) Enter the name of the VRF to view information either on all routes with
community attributes or specific BGP community routes corresponding to that VRF.
ipv4 unicast(Optional) Displays information that is related only to IPv4 unicast routes.
ipv6 unicast(Optional) Displays information that is related only to IPv6 unicast routes.
community community-numberEnter the community number in AA:NN format where AA is the
AS number (2 bytes) and NN is a value specific to that autonomous system.
internetDisplays all routes that are part of the well-known community INTERNET.
local-ASDisplays routes that are advertised only to local peers.
no-advertiseDisplays routes that are not advertised to any peer.
no-exportDisplays routes that are advertised only within BGP AS boundary.
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]
864 Layer 3