Administrator Guide

Layer 3 Routing Commands 1404
Example
The following example shows all available VPNv4 information in a BGP
routing table:
console#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
*> 26.95.16.0/24 130.10.1.1 10 100 20 10 i
*> 26.14.8.0/24 130.10.1.1 10 100 20 10 i
The following example shows VPNv4 routing entries for VRF named red:
(R1) # show ip bgp vpnv4 vrf red
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
The following example shows the attributes for network 172.20.1.0 that
include multi-paths and best path (Use like any of the below formats):
(R1) # show ip bgp vpnv4 vrf red 172.20.1.0/24
Prefix/Prefix Length....................... 1:100:172.20.1.0/24
Generation ID.............................. 2056
Forwarding................................. Yes
Advertised to Update Groups................ 1, 5