[c-nsp] Retrieving running config via SNMP

Eric Kagan ekagan at axsne.com
Fri Aug 18 08:10:24 EDT 2006


> What we would like to do now is to write a script that gets 
> running and startup configs of each device, diffs them, and 
> sends a warning if differences are seen.
> 
> We already have a script that gets the running configs via a 
> SNMP-triggered writenet 
> (enterprises.cisco.local.lsystem.writeNet from OLD-CISCO-SYS-MIB).
> 
> How do I get the running config with SNMP ? I have found 
> enterprises.cisco.local.lflash.flashToNet in 
> OLD-CISCO-FLASH-MIB, but it does not work on my routers:
> 
> [vdk ~]$ snmpwalk -c private -v 2c router 1.3.6.1.4.1.9.2.10
> 
> SNMPv2-SMI::enterprises.9.2.10 = No Such Object available on 
> this agent at this OID
> 
> [vdk ~]$
> 
> "router" is a 7206VXR running 12.2(25)S4.

If its just this one router download Kiwi Cat tools freeware version and it
does it all for you.

Eric




More information about the cisco-nsp mailing list