show ip bgp route

Display information about BGP routes.

Syntax

Command Parameters

<prefix/len>
Shows paths with this prefix. The prefix is the IP address and exact mask length (must be an integer value between 0 and 32).
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. The longer-prefixes indicate the mask length from any specified prefix to 32 (for example, show from prefix a.b.c.d/len to a.b.c./32).
vrf WORD<1-16>
Specifies a VRF instance by name.
vrfids WORD<0-512>
Specifies a range of VRFs by ID number.

Default

None

Command Mode

User EXEC

Command Output

The show ip bgp route command displays the following information:

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:

  • IGP — the route is interior to the originating AS that inserts this route into the BGP table (0 = IGP).

  • EGP — the route is learned through an Exterior Gateway Protocol (EGP) before it is inserted into the BGP table (1 = BGP).

  • Incomplete — the origin of the route is unknown or learned by some other means. For example, the router learns these routes through RIP, OSPF, or static routes (2 = Incomplete).

LOCAL PREF

Specifies the local preference.