Users Guide

Table Of Contents
OS10(conf-vrf)# ip route-export 2:2
Leak all IPv6 routes from one VRF to another VRF
Use the following procedure to export (leak) all IPv6 routes from all routing protocols from one VRF instance to another VRF
instance:
1. Enter the VRF from which you want to leak routes in CONFIGURATION mode.
ip vrf source-vrf-name
2. Export all routes that belong to one VRF instance in VRF-CONFIGURATION mode.
ipv6 route-export route-target
3. Enter the VRF instance to which you want to leak routes in CONFIGURATION mode.
ip vrf destination-vrf-name
4. Import routes from another VRF instance in VRF-CONFIGURATION mode using the same route target.
ipv6 route-import route-target
5. Export routes from the second VRF instance to the first VRF instance in VRF-CONFIGURATION mode using a different
route target.
ipv6 route-import route-target
6. Import routes to the first VRF instance from the second VRF instance in VRF-CONFIGURATION mode using the same route
target that you use to export from the second VRF instance.
ip route-import route-target
Example - Leak all IPv6 routes
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ipv6 route-export 1:1
OS10(conf-vrf)# ipv6 route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ip vrf vrf2
OS10(conf-vrf)# ipv6 route-import 1:1
OS10(conf-vrf)# ipv6 route-export 2:2
Leak specific IPv4 routes from one VRF to another VRF
Use the following procedure to export (leak) specific IPv4 routes from one VRF instance to another VRF instance:
NOTE: You can apply a route map either at the source VRF instance or the destination VRF instance.
Create a route map.
route-map route-map-name
Use any of the supported match or set attributes as required.
Enter the VRF from which you want to leak routes in CONFIGURATION mode.
ip vrf source-vrf-name
Export all routes that belong to one VRF instance in VRF-CONFIGURATION mode.
ip route-export route-target route-map route-map-name
738
Layer 3