Administrator Guide

This command indicates that packets that are destined to x.x.x.x/s.s.s.s are reachable through nh.nh.nh.nh in the default VRF
table. Meaning, the routes to x.x.x.x/s.s.s.s are leaked from the default VRF routing table into the non-default VRF routing table.
The following example illustrates how route leaking between two VRFs can be performed:
interface TenGigabitEthernet 0/9
ip vrf forwarding VRF1
ip address 120.0.0.1/24
interface TenGigabitEthernet 0/10
ip vrf forwarding VRF2
ip address 140.0.0.1/24
ip route vrf VRF1 20.0.0.0/16 140.0.0.2 vrf VRF2
ip route vrf VRF2 40.0.0.0/16 120.0.0.2 vrf VRF1
Sample VRF Conguration
The following conguration illustrates a typical VRF set-up.
Figure 148. Setup OSPF and Static Routes
Virtual Routing and Forwarding (VRF)
1039