Re: Problem with Cisco OID

This is a discussion on Re: Problem with Cisco OID within the SNMP Users forums, part of the Networking and Network Related category; On 21/01/2008, Raul Miguel Nery Ferreira Sa <rnery@student.dei.uc.pt> wrote: > three values. ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2008
Dave Shield
 
Posts: n/a
Default Re: Problem with Cisco OID

On 21/01/2008, Raul Miguel Nery Ferreira Sa <rnery@student.dei.uc.pt> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0