Route Leaking Vrfs - Dell S6100 Configuration Manual

Hide thumbs Also See for S6100:
Table of Contents

Advertisement

Dell#show ip route vrf orange
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
-----------
C
2.0.0.0/24
C
20.0.0.0/24
O
21.0.0.0/24
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
-----------
C
3.0.0.0/24
C
30.0.0.0/24
S
31.0.0.0/24
======================================================================================
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 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/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
Gateway
-------
Direct, Vl 192
Direct, Te 1/1/2/1
via 2.0.0.2,
Vl 192
Gateway
-------
Direct, Vl 256
Direct, Te 1/1/3/1
via 3.0.0.2, Vl 256
Dist/Metric
-----------
0/0
0/0
110/2
Dist/Metric
-----------
0/0
0/0
1/0
Virtual Routing and Forwarding (VRF)
Last Change
-----------
00:20:55
00:10:05
00:10:41
Last Change
-----------
00:20:52
00:09:45
00:09:06
1017

Advertisement

Table of Contents
loading

Table of Contents