588
<ip-address/M>
: IP address and the mask
Default:
None
Command Mode:
All 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
14.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
14.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