Hi Dave,

Thanks a lot for the clarification. That helps a lot. We are stilling
exploring this. If we need additional help, we will post our questions on
the maillist. Thanks for the help again:)

Regards
Liang

2011/11/14 Dave Shield <d.t.shi...@liverpool.ac.uk>

> On 14 November 2011 01:28, 梅亮 <meiliangw...@gmail.com> wrote:
> >                    On each of the subagent, we need to register
> > the same set of OIDs with the master agent.
>
> Yes - as you have realised, this is precisely the scenario that contexts
> were designed to handle.
>
>
>
> > 1.      About AgentX in net-snmp, Is registering the same OID from
> different
> > remote subagents with the same Master agent allowed?
>
> Yes.
>
> >                                                    When I am reading
> > AgentX RFC(RFC 2741), I found that there is a subsection of that document
> > that addresses the issue of how to handle duplicate and overlapping OID
> > registration.
>
> That section describes how to handle duplicate and overlapping
> registrations
> within a single context.
>  If you are registering the same OID in two different contexts, then this
> whole discussion (and the handling of priorities) is simply not relevant.
>
>
> >                Would you please help clarify how net-snmp
> > implemented AgentX for this scenario?
>
> Contexts.
>
>
>
> > 2.      Let’s suppose that we can register the same OIDs with the same
> > master agent from different remote subagents, can the index of the same
> OID
> > across different remote subagents be the same, for example, we need
> ifName.1
> > existed in all subagents?
>
> Yes - as long as each OID is registered in the appropriate context.
>
>
>
> > 3.      In current net-snmp AgentX implementation, is context string of a
> > incoming PDU processed in master agent or in subagent?
>
> Yes - it's handled in both.
>
> See the FAQ entry
>    How can I register a MIB module in a different (SNMPv3) context?
>
> for more info
>
> Dave
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to