Connectivity Guide

Table Of Contents
ip route-import 1:1
5. Configure the export target in VRF-red.
ip route-export 2:2
6. Configure VRF-blue.
ip vrf vrf-blue
interface-type slot/port[/subport]
ip vrf forwarding VRF-blue
ip address ipaddress mask
A non-default VRF named VRF-blue is created and the interface 1/12 is assigned to it.
7. Configure the import target in VRF-blue.
ip route-import 1:1
8. Configure the export target in VRF-blue.
ip route-import 3:3
9. Configure VRF-green.
ip vrf vrf-green
interface-type slot/port[/subport]
ip vrf forwarding VRF-green
ip address ipaddress mask
A non-default VRF named VRF-green is created and the interface is assigned to it.
10. Configure the import target in the source VRF VRF-Shared for reverse communication with VRF-red and VRF-blue.
ip vrf vrf-shared
ip routeimport 2:2
ip route-import 3:3
The show run output for the above configuration is as follows:
ip vrf VRF-Red
ip route-export 2:2
ip route-import 1:1
!
ip vrf VRF-Blue
ip route-export 3:3
ip route-import 1:1
!
ip vrf VRF-Green
!
ip vrf VRF-shared
ip route-export 1:1
ip route-import 2:2
ip route-import 3:3
Show routing tables of all the VRFs (without any route-export and route-import tags being configured)
DellEMC# show ip route vrf VRF-Red
O 11.1.1.1/32 via 111.1.1.1 110/0 00:00:10
C 111.1.1.0/24 Direct, Te 1/11 0/0 22:39:59
DellEMC# show ip route vrf VRF-Blue
O 22.2.2.2/32 via 122.2.2.2 110/0 00:00:11
C 122.2.2.0/24 Direct, Te 1/12 0/0 22:39:61
DellEMC# show ip route vrf VRF-Green
O 33.3.3.3/32 via 133.3.3.3 110/0 00:00:11
C 133.3.3.0/24 Direct, Te 1/13 0/0 22:39:61
1086
Virtual Routing and Forwarding (VRF)