PBR With IP SLA

Policy based routing configuration example using ip sla to verify next hop reachability

akonkol
May 5, 2014
ip of host to check availability of


ip,tcp,udp





ip sla 10
 icmp-echo %{host_to_ping}% source-ip %{source_ip}%

ip sla schedule 10 life forever start-time now


track 10 ip sla 10


ip access-list extended PBR-MATCH
 permit %{protocol}% host %{source_host}% host %{destination_host}%



route-map PBR-ROUTING permit 10
 match ip address PBR-MATCH
 set ip next-hop verify-availability %{next_hop_ip}% track 100




interface %{interface_name}%
 ip policy route-map PBR-ROUTING