RE: trap format confusion

"Berge, Harry ten" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave, thank you very much for your college in SNMP trap mechanism(s).

Regards Harry

> -----Original Message-----
> From: Dave Shield [mailto:[email protected]] 
> Sent: vrijdag 16 december 2005 10:32
> To: Berge, Harry ten
> Cc: '[email protected]'
> Subject: Re: trap format confusion
> 
> On Thu, 2005-12-15 at 20:41 +0100, Berge, Harry ten wrote:
> > In a v1 trap pdu I've got (among others) fields like 
> 'enterprise oid', 
> > 'generic trap', 'enterprise trap' and so on.
>  
> So the format of this particular PDU is completely different 
> from any of the others.  This was seen as a Bad Thing.
> 
>  
> > But now I've got an v2c trap. It has only variable bindings,
> 
> plus the usual header information - yes.
> The format of this particular PDU is now basically the same 
> as all of the others.  This is seen as a Good Thing.
> 
> >                                                     and the 
> difference 
> > between generic trap and enterprise trap is gone.
> 
> Correct.
> This doesn't affect what notifications can be reported, but 
> the same mechanism is used to represent *all* traps - 
> regardless of whether they are "standard" ones or not.
> 
> There is now a single value to consider (in the second 
> varbind) when deciding which notification is being sent.  
> With SNMPv1, this involved checking three distinct values.
> 
> For the core generic traps, the old approach was probably 
> slightly easier.  But having a single mechanism is definitely 
> simpler overall.
> 
> 
> >  When are v1 traps used and when v2c traps?
> 
> v1 traps are used when you're using SNMPv1.
> v2 traps (and informs) are used when you're
>    using SNMPv2c or SNMPv3.
> 
> The information that is carried is the same in either case - 
> it's just organised slightly differently.
> 
> Note that the PDU format is better described as SNMPv2 (not 
> SNMPv2c), as this is used for both SNMPv2c and SNMPv3 requests.
>   The differences between SNMPv2c and SNMPv3 formats are 
> purely concerned with the administrative header settings, 
> that comes *before* the main PDU information, which is the 
> same for both versions.
> 
> 
> Dave
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.