Hi Net-snmp coders,

This is something about proxy agent and snmpv3 question that I need your
help. Would you please kind enough to help out?
Basically I use SNMPv3 packet on the proxy agent and use SNMPv2 packet on
the proxied agent, is this case supported by proxy agent architecture by
net-snmp?

This is my scenario:

There is one local device that is gonna act as proxy agent, and two remote
devices acting as proxied agent.  I uses USM as security model on proxy
agent. The following is the part of  snmpd.conf on the proxy agent that I
added to setup proxy agent.

*********************************************************************************************************
rwuser limei
rwuser limei1
rwuser limei2

group limei_group1 usm limei1
group limei_group2 usm limei2

view limei_view included .1

access limei_group1 ctx_limei1 usm auth exact limei_view limei_view none
access limei_group2 ctx_limei2 usm auth exact limei_view limei_view none

proxy -Cn ctx_limei1 -v 2c -c public [ip_addr of remote device1] .1
proxy -Cn ctx_limei2 -v 2c -c public [ip_addr of remote device2] .1
************************************************************************************************************

On the proxy agent, I issue the follow snmpget cmd to the proxy
agent(localhost):

snmpget -v 3 -n ctx_limei1 -u limei1 -l authNoPriv -a MD5 -A snmp_limei
127.0.0.1 sysName.0

My expected return result would be the sysName of remote device one. But in
reality that is not the case. Would you please help shed some light on this
as to what is wrong with my  configuration? Thanks a lot


Regards
Liang
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to