
230
1.8.5.1.2 show ip bgp attribute-info
Command: show ip bgp attribute-info
Function:
Display the BGP attributes messages
Parameter:
None
Default:
None
Command Mode: All modes
.
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
1.8.5.1.3 show ip bgp community
Command: show ip bgp [<ADDRESS-FAMILY>] community <TYPE> [exact-match]
Function:
For displaying route permitted by BGP with community information
Parameter: <ADDRESS-FAMILY>
: Address-family, such as “ipv4 unicast”
<TYPE>
: Community attributes number show in AA:NN form or combination of local-AS,
no-advertise, and no-export.
Default:
None
Command Mode:
All mode
Usage Guide:
We can choose several communities at a time, exact-match shows only the
perfect match entries will be displayed.
Example:
Switch#show ip bgp community
BGP table version is 10, 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
* 100.1.1.0/24 0.0.0.0 32768 700 800 i
*> 172.0.0.0/8 0.0.0.0 32768 700 800 i
Total number of prefixes 2