Users Guide

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 2.0.0.0/24 Direct, Vl 192 0/0 00:26:44
O 20.0.0.0/24 via 2.0.0.1, Vl 192 110/2 00:14:22
C 21.0.0.0/24 Direct, Te 2/2 0/0 00:20:38
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:26:27
S 30.0.0.0/24 via 3.0.0.1, Vl 256 1/0 00:17:03
C 31.0.0.0/24 Direct, Te 2/3 0/0 00:20:19
Dell#
Route Leaking VRFs
Static routes can be used to redistribute routes between non-default to default/non-default VRF and vice-versa.
You can configure 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/9
ip vrf forwarding VRF1
ip address 120.0.0.1/24
interface TenGigabitEthernet 1/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
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.
You can also leak global routes to be made available to VRFs. As the global RTM usually contains a large pool of routes, when the
destination VRF imports global routes, these routes will be duplicated into the VRF's RTM. As a result, it is mandatory to use route-maps
to filter out leaked routes while sharing global routes with VRFs.
890
Virtual Routing and Forwarding (VRF)