show ip bgp neighbors
Display information about BGP peer advertised routes, peer routes, and IP VPN BGP
peers.
Syntax
-
show ip bgp neighbors
[{A.B.C.D}] [advertised-routes][<prefix/len>] [vrf WORD<1-16>]
[vrfids WORD<0-512>]
-
show ip bgp neighbors
[{A.B.C.D}][vrf WORD<1-16>][vrfids WORD<0-512>]
-
show ip bgp neighbors
{A.B.C.D} routes [<prefix/len>][community <disable|enable>]
[longerprefixes] [vrf WORD<1-16>] [vrfids WORD<0-512>]
-
show ip bgp neighbors
{A.B.C.D} stats [vrf WORD<1-16>][vrfids WORD<0-512>]
-
show ip bgp neighbors
{A.B.C.D} vpnv4 [<prefix/len>][community <disable|enable>]
[extcommunity][longer-prefixes] [vrf WORD<1-16>] [vrfids
WORD<0-512>]
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.