Users Guide
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
ip vrf forwarding VRF-green
ip address ip—address 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 route—import 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)
Dell# 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, Gi 1/11 0/0 22:39:59
Dell# 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, Gi 1/12 0/0 22:39:61
Dell# 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, Gi 1/13 0/0 22:39:61
Dell# show ip route vrf VRF-Shared
Virtual Routing and Forwarding (VRF) 1105