I wrote the following script to upgrade several of our 3750 switches, but am running into an issue where Cirrus is sending the other commands (write mem and reload commands) to the switch before the first command is finished. Here is my script.
'
' Script to upgrade IOS on Cisco 3750 Switches - IP Base Image
'
archive download-sw /overwrite ftp://*****:*****@10.1.101.35/c3750-ipbasek9-tar.122-46.SE.tar
write mem
reload at 10:00 21 SEP${CRLF}
Is there a way to set a pause or wait for certain text (such as 'All software images installed.') before continuing on in the script? Also, is there any type of debug mode where you could see the device CLI responses to scripts to make sure you have all of your ${CR} and ${CRLF} in the right place? It would be great if there was an interactive script builder that logged commands and keystrokes when you were actually on the router.
Any input would be greatly appreciated.
P.S. Thwack forums don't seem to be very MacOSX friendly ;(