5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1126
Pfxs Wd
Displays the number of prefixes withdrawn
11-125 show ip bgp vpnv4
This command displays the VPNv4 address information from the BGP table. If an optional VRF is
specified, the address information pertaining to that VRF is displayed.
show ip bgp vpnv4 {all | rd route-distinguisher | vrf vrf-name} [ip-prefix/length]
Parameters
all
Displays the complete VPNv4 database.
rd route-distinguisher
Displays NLRI prefixes that match the named route distinguisher.
vrf vrf-name
Displays NLRI prefixes associated with the named VRF instance.
ip-prefix/length
(Optional) IP address (in dotted decimal format) and the length of the
mask (0 to 32). The slash (/) mark must be included.
Default
The default is None.
Command Mode
Privileged EXEC
Example
The following example shows all available VPNv4 information in a BGP routing table.
(Routing)#show ip bgp vpnv4 all
BGP table version is 5, local router ID is 20.1.1.1
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? – incomplete
Network
Next Hop
Metric
LocPrf
Path
Route Distinguisher : 1:10 (for VRF red)
*> 172.20.1.0/24
100.10.1.1
10
100
20 10
i
*> 24.95.16.0/24
100.10.1.1
10
100
20 10
i
*> 24.14.8.0/24
100.10.1.1
10
100
20 10
i
Route Distinguisher : 2:20 (for VRF blue)
*> 173.20.1.0/24
120.10.1.1
10
100
20 10
i
*> 25.95.16.0/24
120.10.1.1
10
100
20 10
i
*> 25.14.8.0/24
120.10.1.1
10
100
20 10
i
Route Distinguisher : 3:30 (for VRF yellow)
*> 174.20.1.0/24
130.10.1.1
10
100
20 10
i