David, Thank you for your answer. I read through RFC 1157 and I understand taht Trap-PDU defines variable bindings as 'VarBindList' exactly same as Get/Response-PDU, So it should be implmented in the same way. I will follow this for our agent implementation.
Norio Nakamoto On Sat, 17 Jul 2004 09:15:34 -0700 "David T. Perkins" <[EMAIL PROTECTED]> san wrote: > HI, > > How SNMP messages are formed are defined in > RFC 3416 - SNMPv2c and SNMPv3 > RFC 1157 - SNMPv1 > > Notice that both have a varBindList returned, just like > a response for a GET. It's not an idea or convention, > it's the way the protocol is defined. Now, there has been > people that have not understood the protocol definitions, > and/or "experts" that have provided incorrect advice. > However, the protocol definitions are clear and SNMP > technology implementations that have gone through > reviews show that variables do have instance sub-ids, > and because of this there is NEVER the case to return > index values as separate objects except for the single > exception where the table consists of only index objects > (which is allowed by the SMI, but is really a bad > design approach). > ,,, (o o) +------------------oOO--(_)--OOo----------------+ | Norio Nakamoto | | 2nd Development Dept., IP Systems Division | | Fujitsu Network Technologies Ltd. | | e-mail : [EMAIL PROTECTED] | +-----------------------------------------------+ ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders