Upgrade OS on NEXUS switch from v6 to v9

There is no option to direct upgrade from v6 to v9. Following steps allow this happens. Remember memory limits and use smaller image, if you need to.

Copy new image to switch.

copy usb1:n3000-uk9-kickstart.6.0.2.U6.10.bin bootflash:
copy usb1:n3000-uk9.6.0.2.U6.10.bin bootflash:
copy usb1:nxos.7.0.3.I6.1.bin bootflash:

Install image.

install all kickstart bootflash:n3000-uk9-kickstart.6.0.2.U6.10.bin system bootflash:n3000-uk9.6.0.2.U6.10.bin

remove old image

delete bootflash:n3000-uk9-kickstart.6.0.2.U6.6.bin
delete bootflash:n3000-uk9.6.0.2.U6.6.bin

Install v7 image.

install all nxos bootflash:nxos.7.0.3.I6.1.bin

delete old images

delete bootflash:n3000-uk9*

Copy v9 image

copy usb1:nxos.9.3.8.bin bootflash:

do some configuration change

conf t
no system dme enable
end
copy run start

Install v9.

install all nxos bootflash:nxos.9.3.8.bin