set ip next-hop verify-availability

From: Frank (ocsic@web.de)
Date: Fri Sep 15 2006 - 17:46:25 ART


Hi,

there is a question Task 4.6 Lab6 in the IE Workbook, asking for
reachability to neighbors and set the
"default-information originate subnet always" route an the availability
to these routers.

The Solution guids provides checking with a route-map for routes to both
in the local routing table.
But is there another solution for this. I felt like checking
availability by icmp ping to these routers
with "set ip next-hop verify-availability" and then withdraw or set the
default route. But there is no
Match clause for test rechability.
set ip next-hop verify-availability is only to set a next hop, if the
next-hop is available. So the route-map
won't count.

Frank

ip sla monitor 10
 type echo protocol ipIcmpEcho 192.10.1.254
ip sla monitor schedule 10 life forever start-time now
ip sla monitor 20
 type echo protocol ipIcmpEcho 204.12.1.254
ip sla monitor schedule 20 life forever start-time now
!
track 192 rtr 10 reachability
track 204 rtr 20 reachability

router ospf 1
 default-information originate route-map VERIFY

route-map VERIFY permit 10
 match policy-list VER
 set ip next-hop verify-availability 192.10.1.254 10 track 192
 set ip next-hop verify-availability 204.12.1.254 20 track 204
 set ip next-hop verify-availability
!

Rack1R3#sh route-map
route-map VERIFY, permit, sequence 10
  Match clauses:
  Set clauses:
    ip next-hop verify-availability 192.10.1.254 10 track 192 [down]
    ip next-hop verify-availability 204.12.1.254 20 track 204 [down]
    ip next-hop verify-availability
  Policy routing matches: 0 packets, 0 bytes
route-map LO2OSPF, permit, sequence 10
  Match clauses:
    interface Loopback0
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes
Rack1R3#

Is there another solution



This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART