SNMP Proxy development using Microsoft's SNMP API

SNMP Proxy development using Microsoft's SNMP API

Post by Cristian Bettendo » Wed, 06 Mar 2002 01:25:25



Hi,

I want to develop a SNMP extension module to the MS SNMP service which
will run as proxy and redirect set/get operations of preconfigured
OID-subtree's to other SNMP agents listenning on a other UDP port on
the same(or remote) machine, all using only the Microsoft's SNMP API.

Has somebody a code example as startpoint for such application?

Manny thanks in advance
Cristian

 
 
 

1. problem w/'erase nvram:' or 'write erase' using SNMP ?

Hello:

I'm trying to do a 'write erase' or 'erase nvram:' using SNMP, and not
having much success with the writeMem mib variable from
OLD-CISCO-SYSTEM-MIB.

Any one know any undocumented MIB variable that can be used to the
same effect, or any other SNMP technique to do the same ?

The router is fully configured to support SNMP. Its a 2611 running
12.1(7)

Cisco doc says that setting writeMem to 0 should erase nvram

               writeMem OBJECT-TYPE
                   SYNTAX  INTEGER
                   ACCESS  write-only
                   STATUS  mandatory
                   DESCRIPTION
                           "Write configuration into non-volatile
memory
                           / erase config memory if 0."
                   ::= { lsystem 54 }

but what it actually does is put an empty config (simply an 'end') in
there (not quite the same as an erase).

The exact OID I'm using is
iso.org.dod.internet.private.enterprises.cisco.local.lsystem.writeMem.0
i.e.
1.3.6.1.4.1.9.2.1.54.0
set to integer 0.

Thanks in advance
Satya

2. Please explain "debug mode"

3. Using SNMP to set snmp-server on Cisco

4. Getting Fullname when all mail is forwarded to server

5. Which MIB file to use with cmu-snmp's snmp-get?

6. Supercite w/ VM and Gnus: a question

7. problems with net-snmp's SNMP OID and perl

8. how to write binary files to stdout?

9. domestic and int'l mgmt using SNMP

10. SNMP Development

11. SNMP/GUI DEVELOPMENT CONTRACT OPPOTUNITY

12. NMS and SNMP software development opportunity

13. CMIP-SNMP Q-Adaptor development tools