Re: Unspecified error in atportZoneTable

RL Bob Morgan <morgan@networking.stanford.edu> Sat, 24 April 1993 07:19 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa00619; 24 Apr 93 3:19 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa00615; 24 Apr 93 3:19 EDT
Received: from cayman.cayman.com by CNRI.Reston.VA.US id aa01335; 24 Apr 93 3:19 EDT
Received: by cayman.Cayman.COM (4.1/SMI-4.0) id AA22077; Sat, 24 Apr 93 02:53:38 EDT
Return-Path: <morgan@networking.stanford.edu>
Received: from Mordor.Stanford.EDU by cayman.Cayman.COM (4.1/SMI-4.0) id AA22073; Sat, 24 Apr 93 02:53:35 EDT
Received: from [131.119.247.102] by Mordor.Stanford.EDU (5.65/inc-1.0) id AA12099; Fri, 23 Apr 93 23:52:32 -0700
Date: Fri, 23 Apr 1993 23:52:59 -0800
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: RL Bob Morgan <morgan@networking.stanford.edu>
To: Neil Murray <neil@wcc.oz.au>
Subject: Re: Unspecified error in atportZoneTable
Cc: apple-ip@cayman.com
Message-Id: <Mailstrom.1.03.12763.15089.morgan@networking.stanford.edu>
In-Reply-To: Your message <9304230735.6227@munnari.oz.au> of 23 Apr 93 16:46:56 +1000 (Fri)
Content-Type: TEXT/plain; charset="US-ASCII"

>   What is the error to be returned when a case-insensitive
>   match is found during a SET?

I believe the appropriate error under SNMPv2 is "inconsistentValue":

          (8)  Otherwise, if the variable binding's value field
               specifies a value that could under other circumstances be
               assigned to the variable, but is presently inconsistent,
               then the value of the Response-PDU's error-status field
               is set to `inconsistentValue', and the value of its
               error-index field is set to the index of the failed
               variable binding.

(from the Protocol Operations doc.)

Under SNMPv1 I believe it's "genErr":

        (4)  If, for any object named in the variable-bindings field,
             the value of the named object cannot be altered for
             reasons not covered by any of the foregoing rules, then
             the receiving entity sends to the originator of the
             received message the GetResponse-PDU of identical form,
             except that the value of the error-status field is genErr
             and the value of the error-index field is the index of
             said object name component in the received message.

(from RFC 1157.)

 - RL "Bob" Morgan
   Networking Systems
   Stanford