We are trying to upgrade IOS's on Cisco 3750 and 2960 switches. We've setup a test switch on the network and have a basic script to try to push out the upgrade:
en
copy tftp flash:
xxx. xxx.xxx.229
c3750-ipservicesk9-mz.122-55.SE10.bin
c3750-ipservicesk9-mz.122-55.SE10.bin
${EnterConfigMode}
no boot system
boot system flash:c3750-ipservicesk9-mz.122-55.SE10.bin
${ExitConfigMode}
${SaveConfig}
${Reboot}
We execute the script and the script results are as follows:
en
copy tftp flash:
xxx. xxx.xxx.229
Address or name of remote host [ ]?
c3750-ipservicesk9-mz.122-55.SE10.bin
Source filename [ ]?
c3750-ipservicesk9-mz.122-55.SE10.bin
Destination filename [ ]?
Accessing tftp://xxx.xxx.xxx.229/c3750-ipservicesk9-mz.122-55.SE10.bin...
write memory
config terminal
no boot system
boot system flash:c3750-ipservicesk9-mz.122-55.SE10.bin
end
write memory
reload
y
y
Once in the 3750 directory we see the file c3750-ipservicesk9-mz.122-55.SE10.bin, but moments later when we check the dir again, the file is gone. The only thing from the script that appears to work is the boot system command.
Very new to NCM and would like to find a better way to upgrade the 80-100 switches we have. Any help would be much appreciated! Thanks.