2009/6/5 Vincent Bernat <[email protected]>:
> I don't quite understand the rule to apply when an OCTET STRING is used
> as an index of a table. It seems that when several string are used as
> index, each string should be prefixed by its length (when converting to
> an OID). However, when the string comes in last position, no length is
> needed. What is the precise rule for all this?
See RFC 2578, Section 7.7
> { OCTET STRING, OCTET STRING } -> each string prefixed with length
First yes - second, depends on the MIB definition
> { INTEGER, OCTET STRING } -> no length
Depends on the MIB definition
> { OCTET STRING, INTEGER } -> length needed ?
Yes
Dave
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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