On Tue, Dec 13, 2011 at 05:10:39PM +0800, 梅亮 wrote: > proxy -Cn ctx_limei1 -v 2c -c public [ip_addr of remote device1] .1 [snip] > 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
You cannet pass a context over SNMP v2c, so your proxy will ignore the -n ctx_limei1 option. If you need the context you must use v3, but then you could use a username without privacy. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ 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