×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Policy based routing over 2 hops with tracking

Unanswered Question
Jun 13th, 2012
User Badges:

We are looking to policy route traffic that enters an interface on one switch and send it to an ISP connected on an interface on another switch.


If we were not looking to ensure availability of the next hop, we could simply use set ip next-hop recursive, however, we need to ensure that the next hop is available along the path and I am trying to determine if this is possible.


If I understand correctly, in order to use a set ip next-hop verify-availability command in a route map, the next hop ip has be reachable from a directly connected interface.  This means in order to do what I am trying to accomplish I will need 2 policy routes, one on the switch where the ingress traffic to be policy routed originates that sends it over to the second router that is connected to the ISP that I want to send the traffic to, and the other on the router connected to the ISP to send the traffic to the ISP.


What is the best way to design these route maps to accomplish this?  Is their a better solution that accomplishes the same thing?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Richard Burts Mon, 06/18/2012 - 12:26
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Perhaps I am not understanding your comment about setting next-hop with verify-availability. You seem to say that it requires that the target be directly connected. But that is not the case. I have used verify-availability with a target that was several hops away and it worked just fine.


You are correct that you will need Policy Based Routing configured with its route map on the switch where the traffic enters. And you will probably need another PBR configured with its route map on the router that is connected to the ISP. (and if there are other layer 3 hops between the entering switch and the router then they may need PBR as well).


Without understanding more about the network I am not sure that there is much other advice that I can offer at this point. If you need additional advice then please provide more information about the network and what you are attempting to accomplish.


HTH


Rick

caplinktech Tue, 06/19/2012 - 07:03
User Badges:

I don't rmemeber where at this point, however I thought I remember reading that in order to use verify-availability it had to be a directly connected subnet.


If that is not the case (and if you are using it without issue it obviously is not the case), then nothing fancy really needs to be done for my configuration with the exception of 2 tracking objects (one for the "final" interface and one for our local link to ensure that is the route it is taking to get there).


I appreciate the assistance.

Actions

This Discussion