Displaying VPNv4/VPNv6 route information for a specified IP address

To display only the routes to a specified network, enter a command such as the following at any level of the CLI.

        device# show ip bgp vpnv4 routes 200.2.1.0/24
Route Distinguisher: 1:1
Number of BGP Routes matching display condition : 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
       Prefix             Next Hop        MED        LocPrf     Weight Status
1      200.2.1.0/24       1.1.1.1          none      100        0      bI
         AS_PATH: 70
       Route is not advertised to any peers

Syntax: show ip bgp vpnv4 routes ip-address/mask

The ip-address/mask parameter specifies a particular route. When the user also uses the optional longer-prefixes parameter, then all statistics for routes that match the specified route or have a longer prefix than the specified route are displayed. For example, when the user specifies 10.157.0.0 longer, then all routes with the prefix 10.157 or that have a longer prefix (such as 10.157.22) are displayed.

The number of BGP routes matching display conditions field in this display is described in the table below.

Table 1. Route flap dampening statistics
This field... Displays...
Number of BGP Routes matching display conditions The number of routes to the network specified as a parameter in the show ip bgp vpnv4 routesip-addr command.