2009/8/20 Karthika Arunkumar <[email protected]>:
> Here type 'a' is of type IPaddress. once the agent will start to support
> ipv6, I will try to set ipv6 and find if type  'a' supports that.

The agent *does* support IPv6.
But no, type 'a' is not used.

The use of an explicit type for IP addresses was a design mistake in the
original specification of SNMP.  It has since been superceded by the use
of Textual Conventions, based on an underlying (binary) string type.
So if you are using low-level commands (like snmpset), then you'd typically
use type 'x' instead.



> One other main thing is I have an agent where snmp is implemented. How do I
> find how the MIB data are represented - table or file.

That question doesn't make sense.
Management information will be structured as a combination of tables
and individual (scalar) objects.  The MIB files contain a specification of
how this information is organised, and what it means.


>                                       where might the data
> retrieving method be located - agent C file or where?

It depends on the detail of the agent implementation
and what information you are talking about.

To put this into context, how would you expect to
answer the question  "where does food come from"?
It's too vague a question to be answered sensibly.


>                    How are the dynamic
> values of my private mib variables retrieved when I use an snmpget from a
> manager?

There will be some code in the agent, that knows how to retrieve the
information for these particular variables.   It's up to the MIB implementor
to provide this code.

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to