Hi Dave,
Many thanks for your response.
I have one doubt here . suppose noSuchInstance pseudo-values is 10
then it will be set as value for v2 and v3 .
Then how manager will differentiate whether it is exception or value ?
Regards,
Somenath
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>Behalf Of Dave Shield
>Sent: Tuesday, December 04, 2007 2:22 PM
>To: Somenath Pal (WT01 - TES-Access Networks)
>Cc: net-snmp-users@lists.sourceforge.net
>Subject: Re: Question regarding SNMP GET response PDU
>
>On 04/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> I have one basic question regarding SNMPv2 GET response PDU.
>> Suppose manager has queried for 3 attributes say v1, v2, v3, v4
>>
>> Now suppose the response for the attributes are as follows.
>>
>
>> V1 success
>> V2 error (No Such instance)
>> V3 error (No such instance)
>> V4 success
>
>Not quite.
>The two 'noSuchInstance' cases are actually "exceptions"
>rather than full errors.
>
>
>> Now in response PDU error index will be set to 2.
>
>No.
>With SNMPv2, the error index (and error status) will be set to 0.
>The request has succeeded, and will report the two real values
>together with the two noSuchInstance pseudo-values.
>
>
>> So how manager will come
>> to know that v2 and v3 has error in response?
>
>Because it's not an error - the agent returns values
>(or exception values) for all four varbinds.
>
>This is one of the most significant improvements on SNMPv1,
>which would have had to report a 'noSuchName' error for
>the second variable. The manager would not know that there
>was a problem with V3 as well, without trying another request
>(V1, V3, V4).
>
>Dave
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users