Users Guide
ip route-export 1:1
3  Congure VRF-red.
ip vrf vrf-red
interface-type slot/port[/subport]
ip vrf forwarding VRF-red 
ip address ip—address mask
A non-default VRF named VRF-red is created and the interface is assigned to this VRF.
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
942
Virtual Routing and Forwarding (VRF)










