[c-nsp] Reload without confirmation

David Freedman david.freedman at uk.clara.net
Wed Jun 24 08:58:36 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ah, that's nice, but I really wanted something as feature independent as
possible, such a shame that the SNMP remote shutdown does not work on
this platform :(

Thanks,

Dave.


Ivan Pepelnjak wrote:
> I wanted to propose the EEM solution :)
> 
> How about Tclsh with "typeahead" command?
> 
> http://wiki.nil.com/Insert_responses_to_command_prompts_in_Tclsh
> 
> Ivan
>  
> http://www.ioshints.info/about
> http://blog.ioshints.info/ 
> 
>> -----Original Message-----
>> From: David Freedman [mailto:david.freedman at uk.clara.net] 
>> Sent: Wednesday, June 24, 2009 2:26 PM
>> To: cisco-nsp at puck.nether.net
>> Subject: [c-nsp] Reload without confirmation
>>
>> 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.
>>
>>
>>
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpCIvwACgkQtFWeqpgEZrLVAgCdFEMkiApM8MWX/mAmAbVULl5C
oHAAoLiJVAHaY0kvuAGn6bJxAl1q1g2a
=zVAg
-----END PGP SIGNATURE-----


More information about the cisco-nsp mailing list