Use this command to specify the VRF that will perform the next hop lookup, when the next hop of a policy IP address match belongs to a different VRF.
vrf-name | Specifies the VRF instance that will determine the next hop based upon its route lookup. |
None.
Policy-based routing configuration.
If the next hop of a policy IP address match, specified in the set next-hop command, belongs to a different VRF, use this command to configure the next hop VRF to perform the route lookup.
The “no” form of this command deletes the specified set VRF router configuration for this route map.
This example shows how to set VRF vr2 to determine the next hop based upon its route table lookup:
System(rw-vr1-config)->route-map policy 101 permit 20 System(rw-vr1-config-route-map-pbr)->match ip address 1 System(rw-vr1-config-route-map-pbr)->set vrf vr2