Connectivity Guide

After you congure the source IP address in a leaked VRF, if ping is initiated without -I option, then the source IP address will be that
of loopback interface.
Route leaking using route targets
You can leak routes in one VRF instance to another using route targets.
NOTE: You can leak routes using route targets only on the default and non-default VRF instance. You cannot leak routes using
route targets on the management VRF instance.
To leak routes in one VRF instance using route targets:
1 Enter the VRF from which you want to leak routes using route targets.
CONFIGURATION
ip vrf source-vrf-name
2 Export the route that belongs to one VRF instance.
VRF CONFIGURATION
ip route-export 1::1
3 Enter the non-default VRF instance to which you want to leak the route.
CONFIGURATION
ip vrf destination-vrf-name
ip route-import 1::1
The routes that you exported from the source VRF instance are now available in the destination VRF instance.
NOTE
: When you congure static route leaking, only a single ECMP route- the best ECMP route - leaks to another VRF
instance. The other ECMP static routes are not leaked to the other VRF instances.
Route leaking using route maps
You can leak routes in one VRF instance to another VRF instance using route maps.
To leak routes in one VRF instance using route maps:
1 Enter the VRF from which you want to leak routes using route targets.
CONFIGURATION
ip vrf source-vrf-name
ip vrf VRF-A
2 Congure the IP prex.
CONFIGURATION
ip prefix-list prefix-list-name {permit | deny} ip-address
ip prefix-list abc permit 20.0.0.0/24
or
ip prefix-list abc deny 20.0.0.0/24
3 Congure the route-map.
CONFIGURATION
398
Layer 3