show ip bgp

Displays BGP4 route information.

Syntax

show ip bgp
show ip bgp ip-addr [ /prefix ]
show ip bgp ip-addr [ /prefix ] [ longer-prefixes ] [ vrf vrf-name ]

Parameters

ip-addr
IPv4 address of a neighbor in dotted-decimal notation, with an optional mask.
/prefix
IPv4 mask length in CIDR notation.
longer-prefixes
Filters prefixes equal to or greater than that specified by prefix.
vrf vrf-name
Specifies a VRF instance.

Modes

Privileged EXEC mode

Examples

This example displays sample output from the show ip bgp command.

device# show ip bgp 

Total number of BGP Routes: 4
Status codes: s suppressed, d damped, h history, * valid, > best, i internal, S stale, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete
    Network            Next Hop        MED        LocPrf     Weight Path
*>i 110.110.110.0/24   50.50.50.10                150        0      i
*x  110.110.110.0/24   20.20.20.10                100        0      200 i
*   110.110.110.0/24   30.30.30.10                100        0      300 i
*   110.110.110.0/24   40.40.40.10                100        0      400 i