Users Guide
 E2 - OSPF external type 2, i - IS-IS, L1 - IS-IS level-1,
 L2 - IS-IS level-2, IA - IS-IS inter area, * - candidate default,
 > - non-active route, + - summary route
Gateway of last resort is not set
 Destination Gateway Dist/Metric Last Change
 ----------- ------- ----------- -----------
C 2.0.0.0/24 Direct, Vl 192 0/0 00:20:55
C 20.0.0.0/24 Direct, Te 1/1/2/1 0/0 00:10:05
O 21.0.0.0/24 via 2.0.0.2, Vl 192 110/2 00:10:41
Dell#show ip route vrf green
Codes: C - connected, S - static, R - RIP,
 B - BGP, IN - internal BGP, EX - external BGP,LO - Locally Originated,
 O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
 N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
 E2 - OSPF external type 2, i - IS-IS, L1 - IS-IS level-1,
 L2 - IS-IS level-2, IA - IS-IS inter area, * - candidate default,
 > - non-active route, + - summary route
Gateway of last resort is not set
 Destination Gateway Dist/Metric Last Change
 ----------- ------- ----------- -----------
C 3.0.0.0/24 Direct, Vl 256 0/0 00:20:52
C 30.0.0.0/24 Direct, Te 1/1/3/1 0/0 00:09:45
S 31.0.0.0/24 via 3.0.0.2, Vl 256 1/0 00:09:06
======================================================================================
The following shows the output of the show commands on Router 2.
Router 2
Route Leaking VRFs
Static routes can be used to redistribute routes between non-default to default/non-default VRF and vice-versa.
You can conīgure route leaking between two VRFs using the following command: ip route vrf x.x.x.x s.s.s.s 
nh.nh.nh.nh vrf default.
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 1/1/6/1
 ip vrf forwarding VRF1
 ip address 120.0.0.1/24
interface TenGigabitEthernet 1/1/7/1
 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
Dynamic Route Leaking
Route Leaking is a powerful feature that enables communication between isolated (virtual) routing domains by segregating and sharing a 
set of services such as VOIP, Video, and so on that are available on one routing domain with other virtual domains. Inter-VRF Route Leaking 
enables a VRF to leak or export routes that are present in its RTM to one or more VRFs.
Dynamic Route Leaking enables a source VRF to share both its connected routes as well as dynamically learnt routes from various 
protocols, such as ISIS, OSPF, BGP, and so on, with other default or non-default VRFs.
Virtual Routing and Forwarding (VRF)
901










