[mrtg] Re: How to get running-config of cisco routers through SNMP request?--Help Please
Garry Cook
Garry.Cook at mactec.com
Wed Mar 27 16:37:44 MET 2002
I use snmpset to tftp my router configs a couple times a day. The command is as follows:
snmpset -t <TIMEOUT> <ROUTER.IP.ADDRESS.X> <COMMUNITYRW> .1.3.6.1.4.1.9.2.1.55.<IP.ADDRESS.OF.TFTPSERVER> s <ROUTERNAME>.cfg
I also use it to write my running configs to NVRAM at the same time:
snmpset -t <TIMEOUT> <ROUTER.IP.ADDRESS.X> <COMMUNITYRW> .1.3.6.1.4.1.9.2.1.54.0 i 1
Each day my configs are archived and I save the last 30 days worth.
The NVRAM write has saved me a couple of times when myself and others have made router changes and forgot to write the configs.
We only had to have one major failure due to a reboot that returned it to an old config before I decided to implement this feature.
There are a couple of MIB browsers out there that may help you out in the future. Solarwinds makes a decent one, although it may be pricey. I think that there are some freeware MIB browsers, but I can't remember what they are off the top of my head.
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 - 303.881.5157
> -----Original Message-----
> From: 周世军 [mailto:zsj at chinascape.cn.net]
> Sent: Wednesday, March 27, 2002 12:21 AM
> To: mrtg at list.ee.ethz.ch; cisco at groupstudy.com
> Subject: [mrtg] How to get running-config of cisco routers
> through SNMP request?--Help Please
>
>
>
> Hello,mrtg!
>
>
> Any one can tell me whether I can get running-config of
> cisco routers through SNMP request。
> And if we can ,what is the oid for this purpose?
> Thanks .
>
>
>
>
> zsj at chinascape.cn.net
>
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list