Subagent context question

Jochen Katz katz____agentpp.com
Mon Feb 18 22:46:10 CET 2002


Hi,

> I don't know what you mean by having the SNMP-COMMUNITY-MIB configured appropriately but that's probably because of my lack of understanding.

in short: the community-mib can be used to translate snmpv2 communities
to a snmpv3 username,context,... More details are in books or RFCs.

> However, I do understand what you mean by using contexts and the "-cn" option.  I've tried the following command:
> 
> snmpGet 127.0.0.1 1.3.6.1.4.1.4976.6.1.1.2.224 -cnsubagent

As "contexts" are a snmpv3 feature, you have to use snmpv3. If you
didn't delete or change the snmpv3 initialization, the following cammand
will work:
snmpNext 127.0.0.1 1.3.6.1.4.1.4976.6.1.1.2.224 -cnsubagent -v3 -md5
-des -sl3 -snMD5DES -uaMD5DESUserAuthPassword -upMD5DESUserPrivPassword

Kind regards,
  Jochen



More information about the AGENTPP mailing list