Martin Ermel Tue, 03/20/2007 - 07:39

very basic information:

edit outside- transfer to flash/disk memory

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command_reference_chapter09186a00801a809f.html#wp1054371


kron is not supported before 12.4(3) as it is mentioned here

http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddcef70/2#selected_message


here are some examples for EEM:

http://forums.cisco.com/eforum/servlet/EEM?page=main


and you get some more info if you dig around with the Forums search option with "tcl" and "EEM" in 'Infrastructure' section


ph0enix Thu, 03/22/2007 - 17:00

I guess I need more help than I thought I did with this. I edited a script and TFTP'ed it to the flash but it doesn't do anything when I execute it. I have the following in it:


exec "show ip int brie |e unassigned"


It works fine when I run it from the command line but not from the saved script.


Thanks!

Joe Clarke Thu, 03/22/2007 - 20:34

I think you want either your script to be:


show ip int brie | e unassigned


Or:


set output [exec "show ip int brie | e unassigned"]

puts $output


Both should work on all versions of IOS that support tclsh.

Actions

This Discussion