Configuring an IPv4 PBR Policy by Setting a VRF-aware Next Hop in a Route Map
The following steps configure a next hop in a VRF for a route map.
A VRF must be configured and an interface must be assigned to the VRF before setting a VRF-aware next hop in a route map.
- Enter the
configure terminalcommand to enter global configuration mode. - Define the required IPv4 ACLs to be added to the route map.
- Enter the
route-mapcommand to define the route and specify the match criteria and the resulting action if all of the match clauses are met. - Add IPv4 ACLs to match the IP address that is permitted by the ACL.
- Set the configured VRF as the next hop for a route map.