Subject: Re: DISMAN-TRACEROUTE-MIB (rfc2925) question

From: Randy Presuhn <[email-masked]>
Date: Fri, 9 Nov 2001 10:19:18 -0800 (PST)

Hi -

> Message-ID: <[email-masked]>
> Date: Fri, 09 Nov 2001 12:43:54 -0500
> From: Joan Cucchiara <[email-masked]>
> To: [email-masked]
> 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
 [email-masked]  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------