Re: enabling trap with an SNMP server

From: Tyson Scott (tscott@ipexpert.com)
Date: Thu Jun 26 2008 - 11:36:49 ART


Sorry I am giong to have to correct my statement. There is no
difference. The reason for the option is there is the option to
specify informs. If you don't specify, traps is the default.

On Thu, Jun 26, 2008 at 10:30 AM, Tyson Scott <tscott@ipexpert.com> wrote:
> The first command is going to send messages in the form of traps. The
> second is informs
>
> Traps and Informs
> Unsolicited (asynchronous) notifications can be generated as traps or
> inform requests (informs). Traps are messages alerting the SNMP
> manager to a condition on the network. Informs are traps that include
> a request for confirmation of receipt from the SNMP manager.
> Notifications can indicate improper user authentication, restarts, the
> closing of a connection, loss of connection to a neighbor router, or
> other significant events.
>
> Traps are less reliable than informs because the receiver does not
> send an acknowledgment when it receives a trap. The sender does not
> know if the trap was received. An SNMP manager that receives an inform
> acknowledges the message with an SNMP response protocol data unit
> (PDU). If the sender never receives a response, the inform can be sent
> again. Thus, informs are more likely to reach their intended
> destination.
>
> Traps are often preferred even though they are less reliable because
> informs consume more resources in the router and in the network.
> Unlike a trap, which is discarded as soon as it is sent, an inform
> must be held in memory until a response is received or the request
> times out. Also, traps are sent only once, whereas an inform may be
> resent several times. The retries increase traffic and contribute to
> higher overhead on the network. Use of traps and informs requires a
> trade-off between reliability and resources. If it is important that
> the SNMP manager receives every notification, use informs, but if
> traffic volume or memory usage are concerns and receipt of every
> notification is not required, use traps.
>
>
> On Thu, Jun 26, 2008 at 9:39 AM, ccie <ccie@just-horizon.com> wrote:
>> Hi experts,
>>
>> Is there any difference between these two commands once enabling trap on my
>> router?
>>
>>
>>
>> R1(config)#snmp-server host 150.100.2.252 traps CISCO
>>
>> Vs.
>>
>> R1(config)#snmp-server host 150.100.2.252 CISCO
>>
>>
>>
>> Regards,
>>
>> Amin
>>
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>
>
>
> --
> Tyson Scott - CCIE #13513 R&S and Security
> Technical Instructor - IPexpert, Inc.
>
> Telephone: +1.810.326.1444
> Fax: +1.810.454.0130
> Mailto: tscott@ipexpert.com
>

-- 
Tyson Scott - CCIE #13513 R&S and Security
Technical Instructor - IPexpert, Inc.

Telephone: +1.810.326.1444 Fax: +1.810.454.0130 Mailto: tscott@ipexpert.com



This archive was generated by hypermail 2.1.4 : Tue Jul 01 2008 - 06:23:23 ART