API Guide

Using the following PBR configuration, you can re-direct traffic ingresssing to VRF RED to a destination that is reachable
through the next-hop IP address 2.2.2.2 in VRF BLUE:
1. Create a route-map.
OS10(config)# route-map test
2. Enter the IP address to match the specified access list.
OS10(config-route-map)# match ip 4.4.4.4 acl1
3. Set the next-hop address to 2.2.2.2, which is reachable through VRF BLUE.
OS10(config-route-map)#
OS10(config-route-map)# set ip vrf BLUE next-hop 2.2.2.2
OS10(config-route-map)# exit
4. Apply this rule to the interface where the traffic ingresses, in this case VLAN40.
OS10(config)# interface vlan 40
OS10(conf-if-vl-40)#
OS10(conf-if-vl-40)# ip policy route-map test
5. (Optional) View the PBR configuration on the interface.
OS10(conf-if-vl-40)# show configuration
!
interface vlan40
no shutdown
ip policy route-map test
!
Track route reachability
Track IPv4 or IPv6 reachablility using object tracking. To configure tracking over the routes that are reachable through a VRF
instance:
1. Configure object tracking.
track track-id
OS10(config)# track 200
2. Configure reachability of the next-hop address through the VRF instance.
Layer 3
757