In this example, one of the static routes in VRF "Blue" (10.50.2.0/24) is being allowed to communicate with one in VRF "Green" (10.55.2.0/24).
The ovals represent virtual partitions (VRFs) in the router. The destination VRF ("Green") is where the route is being leaked to, and the source VRF ("Blue") is where the route is being leaked from.
device(config)# vrf Green device(conf-vrf-Green)# address-family ipv4 unicast device(vrf-Green-ipv4-unicast)#
device(config)# vrf Blue device(conf-vrf-Blue)# address-family ipv4 unicast device(vrf-Blue-ipv4-unicast)#
device(config)# interface eth 0/2 device(conf-eth-0/2)# vrf forwarding Green device(conf-eth-0/2)# ip address 10.55.1.2/24
device(config)# interface eth 0/3 device(conf-eth-0/3)# vrf forwarding Blue device(conf-eth-0/3)# ip address 10.50.1.2/24
device(config)# vrf Blue device(conf-vrf-Blue)# address-family ipv4 unicast
Note
The destination VRF can also be a specific port on an Ethernet interface. Refer to the Extreme SLX-OS Command Reference for details on the ip route next-hop-vrf command.device(vrf-Blue-ipv4-unicast)# ip route 10.55.2.0/24 next-hop-vrf Green 10.55.1.1
device(vrf-Blue-ipv4-unicast)# ip route 20.0.0.0/24 next-hop-vrf default-vrf 10.1.1.1