Re: How to generate SNMP traps upon SLA (or RTR) events (IEWB

From: Radoslav Vasilev (deckland@gmail.com)
Date: Wed Aug 16 2006 - 12:09:08 ART


Hi Sabrina,

My configuration:

snmp-server enable traps rtr
snmp-server host 155.1.46.4 public rtr

ip sla monitor 1
 type echo protocol ipIcmpEcho 155.1.46.4
 request-data-size 100
 timeout 1000
 threshold 200
 frequency 20

ip sla monitor reaction-configuration 1 react timeout threshold-type
immediate action-type trapOnly
ip sla monitor schedule 1 start-time now

I shut the fa0/0 interface of the remote node being probed by our local
router:

*Aug 16 14:04:38.876: SNMP: Queuing packet to 155.1.46.4
*Aug 16 14:04:38.876: SNMP: V1 Trap, ent rttMonNotificationsPrefix, addr
155.1.46.6, gentrap 6, spectrap 2
 rttMonCtrlAdminTag.1 =
 rttMonHistoryCollectionAddress.1 = 9B 01 2E 04
 rttMonCtrlOperTimeoutOccurred.1 = 1

Rado

On 8/14/06, sabrina pittarel <sabri_esame@yahoo.com> wrote:
>
> Hi all,
> I realize this is not the most trendy topic, but I'd
> appreciate some help.
> I was trying to solve IEWB Lab 9 volume 2 Task 10.1
> that asks, in addition to regular SLA configuration,
> to export collected data to an SNMP server.
> The proposed solution only enables SNMP rtr traps and
> configures the SNMP host, but with only that
> configuration I cannot see any trap being generated.
> I browsed the documentation and I noticed that:
>
> ip sla monitor reaction-configuration <...>
>
> command is also required.
>
> I've played around with it a bit but still no lack on
> generating these traps.
> Last configuration I tried (see previous email) was
> supposed to generate a trap when the ping timeout
> expired, but nothing.
>
> Any idea ?
>
> Sabrina
>
>
>
> --- sabrina pittarel <sabri_esame@yahoo.com> wrote:
>
> > Hi,
> > I cannot make my router generate SLA traps.
> > I have the following config:
> >
> > ip sla monitor logging traps
> > ip sla monitor 10
> > type echo protocol ipIcmpEcho 128.1.125.5
> > source-interface Serial1/0
> > timeout 500
> > threshold 400
> > frequency 1
> > ip sla monitor reaction-configuration 10 react
> > timeout
> > action-type trapOnly
> > ip sla monitor schedule 10 start-time now
> >
> > <snip>
> >
> > snmp-server enable traps rtr
> > snmp-server host 150.1.1.1 CISCO rtr
> >
> >
> > Sabrina
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:57 ART