Re: SNMP trap to monitor a specific route in route table?

From: manjeetschawla <manjeetschawla_at_gmail.com>
Date: Mon, 01 Feb 2010 21:19:13 -0500

It is version specific but you can enable the traps from rtr process.

In the reaction configuration, configure e.g.:

rtr reaction-conf 1 react timeout action-type traponly

and
 
snmp-server enable traps rtr

You can tie this to the route lookup. Only caveat that I know is that
the route lookup has to suceed at least once for trap to be sent. If the
route does not exist when the sript is fired, the trap is never sent.

Hope that helps

-Manjeet

Marko Milivojevic wrote:
> On Mon, Feb 1, 2010 at 20:10, Hans None <acsyao_at_hotmail.com> wrote:
>
>> All,
>>
>> Does anyone know if SNMP can be configured to monitor a specific route in the
>> route table? If that a route is gone a trap will be sent.
>>
>
> Hi,
>
> You can poll Cisco router for the presence of a specific prefix,
> but... As far as I remember (and it has been few years), there was no
> way to ensure proper mask. I.e. MIB will contain only the prefix, but
> not the length.
>
> The more important question here is - what are you trying to
> accomplish? Perhaps, there is a better approach?
>
> --
> Marko Milivojevic - CCIE #18427
> Senior Technical Instructor - IPexpert
>
> Mailto: markom_at_ipexpert.com
> Telephone: +1.810.326.1444
> Fax: +1.810.454.0130
> Community: http://www.ipexpert.com/communities
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Mon Feb 01 2010 - 21:19:13 ART

This archive was generated by hypermail 2.2.0 : Mon Mar 01 2010 - 06:28:35 ART