[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DISMAN-TRACEROUTE-MIB (rfc2925) question



Hi -

> Message-ID: <3BEC15DA.DCABDC5B@crescentnetworks.com>
> Date: Fri, 09 Nov 2001 12:43:54 -0500
> From: Joan Cucchiara <jcucchia@CrescentNetworks.com>
> To: mibs@ops.ietf.org
> Subject: DISMAN-TRACEROUTE-MIB (rfc2925) question
...
> The traceRouteCtlTable has 2 indices
> which are both SnmpAdminString of SIZE (0..32).
> Since these are both variable length indices,
> this means that the index portion of the OID would be:
> 
> <num>"indexString1"<num>"indexString2"
> 
> where <num> is an Integer representing the
> length of the string it preceeds.

Be careful here.  num is the number of subidentifiers
required to encode the string one octet at a time.
Many IS 10646 code points require multiple octets
to encode in UTF-8.  "length" is the length of the
encoding, not the number of characters.

> If these strings were both zero length, then would one expect
> 0.0  as the index portion of the OID?
...

Yes.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San Jose, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------