Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

PBR with SLA track

Hi, I have 2 ISPs and I would like to navigate through one of them (ISP1) until the performance of the line is falling down (for example, I can test an Internet DNS server for icmp-echo > 200 ms), then I have to route to ISP2 until the perfomance on ISP1 is back

I have done this configuration:

ip sla 1

icmp-echo ip_internet

timeout 200

frecuency 30

ip sla schedule 1 start-time now life forever

track 1 rtr 1 reachability

ip route track 1

ip route Dialer1 10

My problem is that when track fails the router changes the route to ISP2, but in this moment the icmp-echo to an internet server its ok again through the new ISP2, so it changes the route again to ISP1, then track fails and changes to ISP 2, and so on.

How can I avoid that? I would like to track the Internet Server always through ISP1, not through the default route in that moment. Is this possible?

Is there a solution


Everyone's tags (4)
Hall of Fame Super Silver

Re: PBR with SLA track

Hello Jmprats,

I would consider to track IP reachability of an ISP1 public address, rather then checking a public DNS server somewhere in the Internet

The way you have built the test causes this bouncing effect

Hope to help


New Member

Re: PBR with SLA track

Yes, but ISP1 public Ip addressess are available from ISP2 too

, so when I'm tracking them from ISP2 I will have the same effect (a continous change of the default route)


New Member

Re: PBR with SLA track

Also, I would add a static route to the IP address you are monitoring with the SLA to make sure it always goes

via ISP1. e.g -

ip route ip_internet       (i'm assuming this is ISP1 from your config)

New Member

Re: PBR with SLA track

Very good idea. Thanks, I will try

CreatePlease to create content