- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
ccs script for cisco 3750 to upgrade a stack of switches.
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2017 05:25 AM - edited 01-25-2017 06:41 AM
howdy,
i have figured out how to write a script to upgrade a single 3750 switch, but i have stacked switches as well and am looking for a script to upgrade x# of switches in the stack with a new IOS using NetMRI simultaneously.
Re: ccs script for cisco 3750 to upgrade a stack of switches.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2017 04:42 PM
The "IOS Image Upgrade" hacked pretty well although I didn't use it for any stacks. Can you share your code?
Re: ccs script for cisco 3750 to upgrade a stack of switches.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2017 09:48 AM
this is what worked.
copy flash:c3750e-universalk9-mz.152-4.E4.bin flash2: \r
copy flash:c3750e-universalk9-mz.152-4.E4.bin flash3: \r
Re: ccs script for cisco 3750 to upgrade a stack of switches.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2018 07:55 AM
delete flash:c3750e-universalk9-mz.152-4.E5.bin \r\ry
delete flash2:c3750e-universalk9-mz.152-4.E5.bin \r\ry
delete flash3:c3750e-universalk9-mz.152-4.E5.bin \r\ry\r
copy http://10.2.16.11:26/tftp/3750/c3750e-universalk9-mz.152-4.E4.bin flash: \r
copy flash:c3750e-universalk9-mz.152-4.E4.bin flash2: \r
copy flash:c3750e-universalk9-mz.152-4.E4.bin flash3: \r
config term
no boot system
boot system switch all flash:c3750e-universalk9-mz.152-4.E4.bin \r
end
write memory \r
reload \r
\r
the issue i am working now is that i want to use this script for all 3750 stacked and non stacked switches. but if the switch does not have 3 or 2 switches in the stack the task will error out and fail. i guess what i need is something that will see the error and move on to the next step.
Re: ccs script for cisco 3750 to upgrade a stack of switches.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2018 12:33 PM
recently discoverd that using a .tar file solves my issue here. you just have to use the archive download-sw command to make it all happen, the switch will load the new IOS on all the switches in the stack automatically.