Viewing BGP routes
Display information about BGP routes.
Note
BGP stores route information on the AVL tree and this command retrieves that information. Information in the AVL tree is not sorted. The information returned by this command will not be displayed in any particular order.
Procedure
Variable Definitions
The following table defines parameters for the show ip bgp route command.
Variable |
Value |
---|---|
community <enable|disable> |
Enables or disables the display of community attributes. |
ip {A.B.C.D} |
Specifies an IP address. |
longer-prefixes |
Shows long prefixes. Longer-prefixes indicates the mask length from a specified prefix to 32 (for example, show from prefix a.b.c.d/len to a.b.c./32). |
<prefix/len> |
Shows paths with this prefix. The prefix is the IP address and exact mask length (must be an integer value from 0–32). |
vrf WORD<1–16> |
Specifies a VRF instance by name. |
vrfids WORD<0–512> |
Specifies a range of VRFs by ID number. |
Job Aid
Use the data in the following table to understand the show ip bgp route command output.
Field |
Description |
---|---|
NETWORK/MASK |
Specifies the path prefix address. |
PEER REM ADDR |
Specifies the remote peer address. |
NEXTHOP ADDRESS |
Specifies the BGP next hop address. |
ORG |
Specifies the source of a route:
|
LOCAL PREF |
Specifies the local preference. |