[c-nsp] Conditionnal routing based on OSPF / IP SLA

Henry-Nicolas Tourneur hntourneur at autempspourmoi.be
Tue Nov 29 03:30:07 EST 2011


Hello David,

I tried the following, pretty straightforward setup.
I'v a full mesh iBGP running on 3 lab routers and OSPF between them (simple
triangle).

The IP to be checked is on a /30 in between R1 & R2, when this go down, I
want R1 to stop announcing the ip route (should disappear on R3).
The tag 1755 is to force the route to be advertised through iBGP and not
OSPF.

If the IP to be checked goes down, I can see that the SLA Monitor status
goes to down but yet, R1 keep advertising the route.

Any idea why? 

ip sla monitor 1
 type echo protocol ipIcmpEcho 10.0.1.2
 timeout 800
 frequency 2
!

ip sla monitor schedule 1 life forever start-time now
track 100 rtr 1 reachability

ip route 17.4.240.40 255.255.255.240 Se0/1:0 tag 1755 track 100

Thanks in advance :)

Henry-Nicolas Tourneur.


-----Original Message-----
From: David Prall [mailto:dcp at dcptech.com] 
Sent: jeudi 24 novembre 2011 19:20
To: 'Henry-Nicolas Tourneur'; cisco-nsp at puck.nether.net
Subject: RE: [c-nsp] Conditionnal routing based on OSPF / IP SLA

You can do this with track objects and static routing, then redistribute the
static into ospf. You could use a conditional route-map like they do in the
example for default as well. But I think putting a static in and
redistributing it will be much easier.

David

--
http://dcp.dcptech.com



-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Henry-Nicolas
Tourneur
Sent: Thursday, November 24, 2011 10:28 AM
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] Conditionnal routing based on OSPF / IP SLA

Hi all,

 

I'm currently trying to make a Cisco router to announce one network
statement based on the result of an IP Sla probe.

Currently, I found this tutorial:

 

http://hackingcisco.blogspot.com/2011/03/lab-33-ospf-conditional-default-rou
ting.html

 

But it's only for "default-information", I would need this for a particular
route.

 

Does anybody have an idea how to do this?

 

Thanks and regards,

 

Henry-Nicolas Tourneur.

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list