Re: passing context to MIB library

2009-07-26 Thread Thomas Anders
Pranali Hande (phande) wrote: > If you refer function set_snmp_log_params in file > third-party/src/snmp/net-snmp-5.1/agent/snmp_agent.c > >if (asp->orig_pdu->community) { > for (i=0;iorig_pdu->community_len;i++) { >if (asp->orig_pdu->community[i]

RE: passing context to MIB library

2009-07-24 Thread Pranali Hande (phande)
email.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, July 23, 2009 12:54 AM To: Pranali Hande (phande) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: passing context to MIB library 2009/7/22 Pranali Hande (phande) : > snmptable -M +. -m all -v 2c -c pub.

Re: passing context to MIB library

2009-07-23 Thread Dave Shield
2009/7/23 Pranali Hande (phande) : > If you refer  function set_snmp_log_params  in file > third-party/src/snmp/net-snmp-5.1/agent/snmp_agent.c I've just checked that code file (in both the current branches, and the very old 5.1 release), and there is no mention of a function by that name. Neithe

Re: passing context to MIB library

2009-07-23 Thread Dave Shield
2009/7/22 Pranali Hande (phande) : > snmptable -M +. -m all -v 2c -c pub...@vlan3  172.23.231.28 dot1dTpFdbTable That is sending a community-based request, using the community string "pub...@vlan3" This has no connection with contexts, which are primarily an SNMPv3 concept. There may be SNMP

passing context to MIB library

2009-07-23 Thread Pranali Hande (phande)
Hi snmptable -M +. -m all -v 2c -c pub...@vlan3 172.23.231.28 dot1dTpFdbTable If I give the following query to net-snmp. vlan 3 will get passed to my get_dot1dTpFdbTable as which parameter ? Please let me know if net-snmp uses some other way of passing context. Thanks and Regards