82 show ip bgp community, 83 show ip bgp community-info – CANOGA PERKINS 9175 Command Reference User Manual

Page 299

Advertising
background image

CanogaOS Command Reference

16-54

Switch# show ip bgp cidr-only

BGP table version is 0, local router ID is 10.10.10.50

Status codes: s suppressed, d damped, h history, p stale, * valid, > best, i -

internal

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

*> 3.3.3.0/24 10.10.10.10 0 11 i

*> 6.6.6.0/24 0.0.0.0 32768 i

Total number of prefixes 2

16.82 show ip bgp community

Use this command to display routes matching the communities.

Command Syntax

show ip bgp community TYPE (exact-match)

show ip bgp community ipv4 PREFIX TYPE (exact-match)

TYPE = AA:NN|local-AS|no-advertise|no-export

AA:NN Specifies a valid value for a community number.

local-AS Do not send 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).

exact-match Specifies that ZebOS display the exact match of the communities.

ipv4 Specifies the address family. The type of address family determines the routing table that is

displayed.

PREFIX = multicast|unicast

unicast Specifies a IPv4 unicast address family. This is the default option.

multicast Specifies a IPv4 multicast address family.

Command Mode

Privileged Exec mode and Exec mode

Examples

Switch# show ip bgp community 10:23 exact-match

Switch# show ip bgp ipv4 multicast community 10:23 exact-match

16.83 show ip bgp community-info

Use this command to list all BGP community information.

Command Syntax

show ip bgp community-info

Advertising