show ip bgp vrf routes

Displays statistics for the routes in the BGP4 route table of a device for a virtual routing and forwarding (VRF) instance.
Syntax
show ip bgp vrf vrf-name routes [ detail ] [ num | ip-address/prefix | age num | as-path-access-list name | as-path-filter number | best | cidr-only | community-access-list name | community-filter number | community-reg-expression expression | local | neighbor ip-addr | nexthop ip-addr | no-best | not-installed-best | prefix-list string | regular-expression name | route-map name | summary | unreachable ]
Parameters
vrf-name
Specifies the name of a VRF instance.
detail
Displays detailed information.
num
Table entry at which the display starts. For example, if you want to list entries beginning with table entry 100, specify 100.
ip-address/prefix
Specifies an IP address and prefix.
age num
Displays BGP4 route information that is filtered by age.
as-path-access-list name
Displays BGP4 route information that is filtered by autonomous system (AS)-path access control list (ACL).
as-path-filter number
Displays BGP4 route information that is filtered using the specified AS-path filter.
best
Displays BGP4 route information that the device selected as best routes.
cidr-only
Displays BGP4 routes whose network masks do not match their class network length.
community-access-list name
Displays BGP4 route information for an AS-path community access list.
community-filter number
Displays BGP4 route information that matches a specific community filter.
community-reg-expression expression
Displays BGP4 route information for an ordered community list regular expression.
local
Displays BGP4 route information about selected local routes.
neighbor ip-addr
Displays BGP4 route information about selected BGP neighbors.
nexthop ip-addr
Displays BGP4 route information about routes that are received from the specified next hop.
no-best
Displays BGP4 route information that the device selected as not best routes.
not-installed-best
Displays BGP4 route information about best routes that are not installed.
prefix-list string
Displays BGP4 route information that is filtered by a prefix list.
regular-expression name
Displays BGP4 route information about routes that are associated with the specified regular expression.
route-map name
Displays BGP4 route information about routes that use the specified route map.
summary
Displays BGP4 summary route information.
unreachable
Displays BGP4 route information about routes whose destinations are unreachable through any of the BGP4 paths in the BGP4 route table.
Modes

User EXEC mode

Examples

The following example shows how to display information for the routes in the BGP4 route table of a device for a VRF instance.

device> show ip bgp vrf red routes
History