[SNMP4J] Question of order
Tal Gendler
TalG at Radware.com
Tue Jan 18 10:09:18 CET 2011
I know that, when forming a request the order which you put the OIDs in the Request will be the order in the Response.
Example :
Request PDU : (OID1, OID2,OID3)
Response PDU : (OID1=value, OID2=value, OID3=value) it can't be (OID3=value, OID1=value, OID2=value).
My question:
Is the order of the OIDs in the request must be the same order as defined in the MIB ?
Example :
We have this MIB :
dot1dStpBridgeHelloTime OBJECT-TYPE
SYNTAX Timeout (100..1000)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The value that all bridges use for HelloTime when
this bridge is acting as the root. The
granularity of this timer is specified by
802.1d/D9 to be 1 second. An agent may return a
badValue error if a set is attempted to a value
which is not a whole number of seconds."
REFERENCE
"P802.1d/D9, July 14, 1989: Section 4.5.3.9"
::= { dot1dStp 13 }
Do I have to create the request in this order ? :
a) Request PDU: (OIDofSYNTAX, OIDofACCESS, OIDofSTATUS)
Or it can be in any order I choose and let the agent work a little harder ?:
b) Request PDU: (OIDofSTATUS, OIDofSYNTAX, OIDofACCESS)
Is it a or b ?
If the order is important can you please send me a link to RFC defining this ?
Thanks,
Tal
More information about the SNMP4J
mailing list