Re: Problem with Cisco OID

Raul Miguel Nery Ferreira Sa <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

Thank for your reply Dave. I must have overlooked that detail of the 
length of the string.

Cheers,

Raul de Sá

On Mon, 21 Jan 2008, Dave Shield wrote:

> On 21/01/2008, Raul Miguel Nery Ferreira Sa <[email protected]> wrote:
>> three values. That table is cDot11ClientConfigInfoTable and it is indexed
>> by the values ifIndex, cd11IfAuxSsid and cDot11ClientAddress
>
>
>> Now when i try and do a snmpwalk on this table in a cisco AP
>> i can see and know what the values of cd11IfAuxSsid and
>> cDot11ClientAddress mean and i also know how to get them. But the value of
>> ifIndex comes somehow different than i have expected. Instead of just
>> showing a number(corresponding to its interface) it shows two numbers,
>> something like "1.3" instead of just "1".
>
> That's probably not quite right.
> I suspect that the extraneous '3' actually belongs to the cd11IfAuxSsid
> index, not ti ifIndex.    Is the length of the cd11IfAuxSsid value three
> octets by any chance?
>
> ifIndex is an integer-based index object, so will just use a single
> subidentifier.
> cd11IfAuxSsid is a string-based index object, so the actual string value
> will be preceded by the length of this string -  3.'a'.'b'.'c', rather
> than just "abc".
>
> That's not true of the final cDot11ClientAddress value, because this is a
> MacAddress syntax object, which will *always* be six octets, so doesn't
> need an explicit length.  But any variable-length string (except sometimes
> when it's at the end of the OID), needs a length subidentifier, so you can
> tell where this value ends, and the cDot11ClientAddress value begins.
>
> Dave
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.