Re: Octet string index problem in net-snmp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 02/02/2008, Alamelu Ramadurai <[email protected]> wrote:
> Thanks for the fast response. I am using net-snmp
> client and the application I am using is snmpwalk with
> v2c as version.

And what is the *exact* command that you are running?


> IP address is also fixed length octet-string of size 4.

The IpAddress type is actually defined specially as a distinct
type within the SNMP specs.  So such an index shouldn't be
encoded as an OCTET STRING at all.

>       If I access any table which uses IP address as
> index

Which table are you querying?
Note that many such tables actually use the InetAddress
type (Textual Convention), which *is* a variable-length string.



It's impossible to comment properly as to whether the
behaviour you are seeing is correct or not.  We need to
know the *EXACT* OIDs that you are working with.
Vague descriptions about "a table" aren't much use!

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
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.