Users Guide
4 Congure the import target in VRF-red.
ip route-import 1:1
5 Congure the export target in VRF-red.
ip route-export 2:2
6 Congure VRF-blue.
ip vrf vrf-blue
interface-type slot/port[/subport]
ip vrf forwarding VRF-blue
ip address ip—address mask
A non-default VRF named VRF-blue is created and the interface 1/12 is assigned to it.
7 Congure the import target in VRF-blue.
ip route-import 1:1
8 Congure the export target in VRF-blue.
ip route-import 3:3
9 Congure VRF-green.
ip vrf vrf-green
interface-type slot/port[/subport]
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 Congure 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 conguration 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 congured)
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, Te 1/1/1/1 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
Virtual Routing and Forwarding (VRF)
903










