Has anyone created a template for the 9300 switches?
Have been working on this for a couple days and came up with the following but having issues getting it to push to all switches. I took the template I had and modified it but have not had 100% success.
This change script allows you to script IOS upgrades
This runs on Cisco IOS devices for 9300 Switch
The node the template will operate on. All templates require this by default. The target node is selected during the first part of the wizard so it will not be available for selection when defining values of variables.
The File Name of the new IOS Version.
This should be a valid Cisco IOS File.No spaces are allowed, a script will not be generated for a Cisco IOS Filename that includes a space.
Delete and Replace existing Radius.
Enter "y" to replace existing Radius. Enter "n" to leave existing Radius Configuration.
RELOAD device after transfer?
Enter "y" to reload the device after upgrade. Enter "n" to only copy the bin files to flash.
script UpgradeIOS (
string @CommandLine = 'copy tftp://x.x.x.x/' + @IOS_FILENAME + ' flash:'
if (@IOS_FILENAME contains ' ')
foreach ( node in @ContextNode )
if ( node.Vendor == 'Cisco' )
request platform software package install switch all file flash:@IOS_FILENAME auto-copy
no boot system
boot system flash:@IOS_FILENAME
if (@reloadWhenComplete contains 'y')
Script will push to first switch but not going to all subsequent stack switches.