Re: snmp

From: ccie2be (ccie2be@nyc.rr.com)
Date: Wed May 19 2004 - 21:34:20 GMT-3


You need to have the snmp enable trap command. If you leave off bgp from
the enable trap command, by default, all traps are enabled.

Here are the combo's that will work:

snmp enable trap <--- all snmp traps are enabled,
snmp host x.x.x.x public bgp <---- but this command only allows the bgp
trap to be sent t this host

snmp enable trap bgp <--- only the bgp trap is enabled
snmp host x.x.x.x public <--- will send all enabled traps but only bgp is
enable, so that's the only sent

snmp enable trap bgp
snmp host x.x.x.x public bgp

snmp enable trap bgp
snmp host x.x.x.x public bgp config <--- won't send config trap since it's
not enabled in previous command (config might need to be on a separate
line).

As far as I know, the only time that the snmp enable traps command doesn't
have to be used for a device to send traps is when Rmon is configured to
send traps, but you'll still need to use the snmp host command so the device
knows where to send the traps.

HTH
----- Original Message -----
From: "Peng Zheng" <zpnist@yahoo.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, May 19, 2004 7:57 PM
Subject: snmp

> Hi,
>
> I have a question about snmp.
> The requirement is:
>
> TO generate snmp traps (use community string public
> )for changing relating to bgp.
>
> Is
> snmp host x.x.x.x public bgp
>
> enough or I still need to add:
>
> snmp enable traps bgp ?
>
> Thanks.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Domains  Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offer
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Jun 02 2004 - 11:12:14 GMT-3