show ip bgp neighbors

Display information about BGP peer advertised routes, peer routes, and IP VPN BGP peers.

Syntax

Command Parameters

{A.B.C.D}
Specifies the IP address.
<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).
advertised-routes
Displays information about BGP peer advertised routes.
community
Enables the display of community attributes.
ext-community
Enables the display of extended community attributes.
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.d/32).
routes
Displays information about BGP peer routes.
stats
Displays statistics information for BGP peers.
vpnv4
Displays information about IP VPN BGP peers.
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