beautypg.com

91 show ip bgp attribute-info, 92 show ip bgp community, Show ip bgp attribute – PLANET XGS3-24040 User Manual

Page 558: Info, Show ip bgp community

background image


35-271

Default: None.

Command Mode: Admin and configuration mode

Usage Guide: We can display BGP routing messages by different parameters (such as address-family

or IPv4 address), or a route covered by a prefix, or only the routing message don’t match the earliest IP

address-family (namely the route is not A or B or C type address.)

Example:

Switch#show ip bgp

BGP table version is 147, local router ID is 10.1.1.64

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

S Stale

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

Network Next Hop Metric LocPrf Weight Path

*> 12.0.0.0 10.1.1.121 0 32768 ?

*> 100.1.1.0/24 10.1.1.200 0 32768 ?

*> 100.1.2.0/24 10.1.1.200 0 32768 ?

*> 172.0.0.0/8 0.0.0.0 32768 i

Total number of prefixes 4

35.91 show ip bgp attribute-info

Command: show ip bgp attribute-info

Function: Display the BGP attributes messages.

Parameter: None.

Default: None.

Command Mode: Admin and configuration mode.

Usage Guide: For displaying the attribute messages permitted by BGP.

Example:

Switch#sh ip bgp attribute-info

attr[1] nexthop 0.0.0.0

attr[1] nexthop 10.1.1.64

attr[3] nexthop 10.1.1.64

attr[1] nexthop 10.1.1.121

attr[2] nexthop 10.1.1.200

35.92 show ip bgp community

Command: show ip bgp [] community [exact-match]

Function: For displaying route permitted by BGP with community information.

Parameter: : Address-family, such as “ipv4 unicast”

: Community attributes number show in AA:NN form or combination of local-AS,

no-advertise, and no-export.

Default: None