
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, Gi 9/20
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 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
Virtual Routing and Forwarding (VRF)
927
Komentáře k této Příručce