Cisco_Nexus (NX-OS)_Upgrade_Step1.ncm-template

This template is used to transfer the NX-OS image and kickstart files to Nexus switches.  It can transfer both files to multiple devices at the same time.  If you need to do one at a time, you can use this one:  Cisco Nexus (NX-OS) File Transfer NCM Template.  The script will account for any ssh or scp key prompts.  If you see errors in the Script Results, they can be ignored if they are for "yes" being sent.  It uses SCP to perform the transfer, but this can be modified.  You can add the "install all" command to the end of the template script, but it is not recommended.  It is recommended that you log into the switch manually to do the actual NX-OS install of the primary switch.  After performing this transfer, connect to switch and perform the following steps manually:

1.  execute: show install all impact command

Example: show install all impact kickstart bootflash: n5000-uk9-kickstart.6.0.2.N1.2.bin system bootflash: n5000-uk9. 6.0.2.N1.2.bin

NOTE:   This will tell you if it will be a disruptive install.

2.  execute: install all kickstart bootflash:system bootflash:

Example: install all kickstart bootflash:n5000-uk9-kickstart.6.0.2.N1.2.bin system bootflash:n5000-uk9. 6.0.2.N1.2.bin

The device will verify the images, check compatibility, and state if the install is disruptive. A message will be displayed: “Do you want to continue with the installation (y/n)? [n].”

Type y and press Enter. The images will install andwill reboot. NOTE:   This may take approximately 15 minutes.

3.  Once the switch is back online, reconnect and type sh ver. The kickstart and system files will be int new version.

4.  If the switch has a fex attached to it, type show fex.  Continue to type show fex and press Enter until the fex is in Online state.  The initial state will be Image Download.  This may take several minutes after the switch comes back online.  A fex online message will scroll when the fex comes back online.

****If there is a VPC peer switch, you can execute the "Cisco_NX-OS_Upgrade_Step2_4_Peer_Sw" template that I have posted on thwack.

Good Luck!  As NCM progresses, I will improve upon these templates.

If you download this, please rate it or comment on this, so I know what is needed and how this is working for you