show ip bgp vrf neighbors

Displays configuration information and statistics for BGP4 neighbors of the device for a virtual routing and forwarding (VRF) instance.
Syntax
show ip bgp vrf vrf-name neighbors [ ip-addr ]
show ip bgp vrf vrf-name neighbors last-packet-with-error
show ip bgp vrf vrf-name neighbors routes-summary
show ip bgp vrf vrf-name neighbors ip-addr advertised-routes [ detail ] [ ip address /mask ]
show ip bgp vrf vrf-name neighbors ip-addr flap-statistics
show ip bgp vrf vrf-name neighbors ip-addr last-packet-with-error [ decode ]
show ip bgp vrf vrf-name neighbors ip-addr received [ prefix-filter ]
show ip bgp vrf vrf-name neighbors ip-addr received-routes [ detail ]
show ip bgp vrf vrf-name neighbors ip-addr rib-out-routes [ detail ] [ ipv6 address /mask ]
show ip bgp vrf vrf-name neighbors ip-addr routes
show ip bgp vrf vrf-name neighbors ip-addr routes { best | not-installed-best | unreachable }
show ip bgp vrf vrf-name neighbors ip-addr routes detail { best | not-installed-best | unreachable }
show ip bgp vrf vrf-name neighbors ip-addr routes-summary
Parameters
vrf-name
Specifies the name of a VRF instance.
neighbors
Specifies a neighbor.
ip-addr
IPv4 address of a neighbor in dotted-decimal notation.
last-packet-with-error
Displays the last packet with an error.
routes-summary
Displays routes received, routes accepted, number of routes advertised by peer, and so on.
advertised-routes
Specifies the routes that the device has advertised to the neighbor during the current BGP4 session.
detail
Specifies detailed information.
ip address /mask
Specifies an IP address and mask.
flap-statistics
Specifies the route flap statistics for routes received from or sent to a BGP4 neighbor.
last-packet-with-error
Specifies the last packet with an error.
decode
Decodes the last packet that contained an error from any of a device's neighbors.
received
Specifies Outbound Route Filters (ORFs) received from BGP4 neighbors of the device.
prefix-filter
Displays the results for ORFs that are prefix-based.
received-routes
Specifies all route information received in route updates from BGP4 neighbors of the device since the soft-reconfiguration feature was enabled.
rib-out-routes
Displays information about the current BGP4 Routing Information Base (Adj-RIB-Out) for specific neighbors and specific destination networks.
routes
Displays a variety of route information received in UPDATE messages from BGP4 neighbors.
best
Displays routes received from the neighbor that are the best BGP4 routes to their destination.
not-installed-best
Displays routes received from the neighbor that are the best BGP4 routes to their destination but were not installed in the route table because the device received better routes from other sources.
unreachable
Displays routes that are unreachable because the device does not have a valid RIP, OSPF, or static route to the next hop.
routes-summary
Displays all route information received in UPDATE messages from BGP4 neighbors.
Modes

User EXEC mode

Examples

The following example shows how to display configuration information and statistics for BGP4 neighbors of the device for a VRF instance.

device> show ip bgp vrf red neighbors
History