For one of our customer,we have one ADSL link and Lrased line on the same router.I configured policy map so that all the hhtp traffic will go through ADSL link.Leased line is used for accessing public webservers in DMZ and for remote access VPN from outside.I need to configure such a way that when ADSL link fails http trafffic should go through leased line.If it possible please help me
What is the default-route pointing to. If it is down the leased line then if you have configured PBR to send http traffic via the ADSL, if the ADSL line goes down then it will revert back to the routing table and use the leased line.
If the default-route is not the leased line then in your PBR config simply add the leased line as a second next-hop ip eg.
set ip next-hop
If the ADSL line fails but traffic does not switch over then you may need to use IP SLA to track the availability of the ADSL next-hop.