Cisco Systems Is there an SNMP equivalent to "Reload in [x]" / "Reload cancel" commands?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Is there an SNMP equivalent to "Reload in [x]" / "Reload cancel" commands? steve.chambers 05-16-06
Posted by on May 16, 2006, 6:18 am
Please log in for more thread options
I am writing software that uses SNMP to configure a Cisco 3725 and
would like to know if there is an SNMP equivalent to these commands in
order to automatically restore the config if something goes horribly
wrong. Or will I have to resort to using Telnet as well?

One other q - will these commands only work if the running config is
altered or will they also work if the Startup config is altered?

Any advice/suggestions much appreciated!

Cheers,
Steve


Posted by Rod Dorman on May 16, 2006, 3:01 pm
Please log in for more thread options
> ...
>One other q - will these commands only work if the running config is
>altered or will they also work if the Startup config is altered?

They are unrelated to changes, they will work even if nothing is
altered.

Issueing "reload in" when making running config changes give you a
warm tummy feeling since if you screw something up and lock yourself
out the router will reboot and load the (presumably working) startup
config as the running config.

Issueing "reload in" when making startup config changes is kinda
pointless. The recomended sequence is to make your "reload in"
protected running config changes first and only when you're sure its
OK do a copy from running to startup.

--
                                        -- Rod --
rodd(at)polylogics(dot)com

Posted by ciscodagama@gmail.com on May 19, 2006, 11:57 pm
Please log in for more thread options
Yes, you can reload the router using SNMP. You will need to configure
the following commands first -

snmp-server community private RW
snmp-server system-shutdown

Then follow the instructions at

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800c263d.shtml#qa4

Cisco da Gama
http://ciscostudy.blogspot.com


Posted by ciscodagama@gmail.com on May 20, 2006, 12:06 am
Please log in for more thread options
Never mind my last response. I blanked on the fact that you were
asking about how to do a scheduled reload using SNMP and not a regular
reload. Sorry.

Cisco da Gama
http://ciscostudy.blogspot.com


Posted by Walter Roberson on May 16, 2006, 3:11 pm
Please log in for more thread options
>I am writing software that uses SNMP to configure a Cisco 3725 and
>would like to know if there is an SNMP equivalent to these commands in
>order to automatically restore the config if something goes horribly
>wrong. Or will I have to resort to using Telnet as well?

If I recall correctly, there are two different MIBs for that
functionality, depending upon model and IOS version.

My recollection is that the current SNMP method is to first write
a command number to one OID, and then write the time until that command
into another OID. To cancel, you rewrite the time to 0.

Similar ThreadsPosted
Is there an SNMP equivalent to "Reload in [x]" / "Reload cancel" commands? May 16, 2006, 6:18 am
reload in 20 on pix June 19, 2005, 11:31 am
7026VXR reload July 31, 2006, 4:59 am
C3662-AC Won't "RELOAD" June 13, 2005, 4:56 pm
reload 6509 switch December 4, 2005, 6:11 pm
Tracking Mysterious Reload March 15, 2006, 3:10 pm
How do I use KRON to reload a router? November 26, 2006, 4:51 am
Static IP lost after reload December 29, 2007, 1:26 pm
[IOS] (C1700-ADVSECURITYK9-M V 12.4) cannot reload at x:y ! September 5, 2008, 10:23 pm
NM-HDA FXO ports offhook during reload November 23, 2008, 4:20 am
HA IPSec pair reload delay January 27, 2006, 10:09 pm
Reload config on ASA device remotely... March 30, 2007, 5:43 pm
Catalyst 3550 refuses to reload! June 23, 2007, 12:28 pm
Cisco 1751: %Software-forced reload November 15, 2005, 9:46 pm
Equivalent to 3550 ? August 11, 2006, 2:27 am