-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, unfortunately it does take the command but alas does not work:
Router(config)#snmp-server system-shutdown Router(config)#end Router# Router#sh run | in shutdown snmp-server system-shutdown $ snmpset -v2c -c private 10.0.0.2 1.3.6.1.4.1.9.2.9.9.0 i 2 Error in packet. Reason: noCreation (That table does not support row creation or that object can not ever be created) Failed object: SNMPv2-SMI::enterprises.9.2.9.9.0 $ snmpwalk -v2c -c private 10.0.0.2 .1.3.6.1.4.1.9.2.9 SNMPv2-SMI::enterprises.9.2.9 = No Such Object available on this agent at this OID Router# sh ver Cisco IOS Software, C870 Software (C870-ADVIPSERVICESK9-M), Version 12.4(20)T1, RELEASE SOFTWARE (fc3) so using modern 12.4(T) and ADVIP image , perhaps I'm using outdated MIB? Dave. Brian Turnbow wrote: > In the past I used snmp dto do this, you need to enable > snmp-server system-shutdown > Before it is possible, and it is not possible on all platforms, but is it > takes this command it should work > I don't have the mib handy , but can dig for it if you can't find it > > > Brian > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of David Freedman > Sent: mercoledì 24 giugno 2009 15.11 > To: Jared Mauch; 'Cisco-nsp' > Subject: Re: [c-nsp] Reload without confirmation > > No, same problem : > > #reload at 01:00 > Reload scheduled for 01:00:00 BST Thu Jun 25 2009 (in 10 hours and 50 > minutes) by user on vty0 (10.0.0.1) > Reload reason: Reload Command > Proceed with reload? [confirm] > > #reload in 5 > Reload scheduled for 14:15:10 BST Wed Jun 24 2009 (in 5 minutes) by > user on vty0 (10.0.0.1) > Reload reason: Reload Command > Proceed with reload? [confirm] > > Dave. > > Jared Mauch wrote: >> You can't use reload at to meet your needs? > >> Jared Mauch > >> On Jun 24, 2009, at 8:25 AM, David Freedman >> <[email protected]> wrote: > >>> Am trying to reload a low end IOS device (c800 in this case) without >>> displaying a confirmation prompt. >>> >>> My issue is that the platform needing to issue the command can not "see" >>> the VTY output so could not be expected to respond to a confirmation >>> prompt, looked in vain for some kind of "/noconfirm" flag but didn't >>> find one... >>> >>> Does not appear to be possible with SNMP (even though it accepts the >>> snmp-server shutdown command). >>> >>> My current solution is to use an EEM applet called manually with a >>> single action of "reload" , unfortunately this only applies to 800 >>> images with EEM (I would guess ADV images only) >>> >>> Anybody come up with a better solution? >>> >>> TIA >>> >>> Dave. >>> >>> _______________________________________________ >>> cisco-nsp mailing list [email protected] >>> https://puck.nether.net/mailman/listinfo/cisco-nsp >>> archive at http://puck.nether.net/pipermail/cisco-nsp/ > _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpCMkMACgkQtFWeqpgEZrJtBQCg1GyFyviPBeBATJK4NVfGCQtZ EWYAoImBYeLufvWu5/VciSpFBAAjVwBM =B9D1 -----END PGP SIGNATURE----- _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
