You can configure the next hop of a
static route to be in a different VRF.
Before you begin
Ensure that VRFs in the route
configuration are valid VRFs.
Procedure
-
Access global configuration
mode.
device# configure terminal
-
Enter configuration mode for the
source VRF.
In this example, the source VRF is "red."
-
Create a Route Descriptor.
device(config-vrf-red)# rd 1:1
-
Specify that IPv4 addressing is to be used on the route.
device(config-vrf-red)# address-family ipv4 unicast
-
Configure the destination address and mask, the next hop VRF, and its IP address.
device(config-vrf-red-ipv4-unicast)# ip route 10.128.2.69/24 next-hop-vrf blue 10.1.1.1