Cisco交换机升级与重置

1.如果是Cisco Nexus Operating System (NX-OS) Software
升级命令:install all nxos bootflash:nxos64-cs.10.4.5.M.bin
升级完需要重启输入y回车
 Switch will be reloaded for disruptive upgrade.
 Do you want to continue with the installation (y/n)? [n] y

2.如果是catalyst center如C9300-48T
升级命令:install add file flash:{image} activate commit prompt-level none

3.如果交换机需要重置(针对较新型号)
 3.1 Bypass Startup:交换机重启,按住面板的menu键直至指示灯从不亮到亮,可以进入输入command界面,输入:SWITCH_IGNORE_STARTUP_CFG=1
然后:reset
 3.2 Copy image To Flash:copy usbflash0:cat9k_iosxe.17.12.05.SPA.bin flash: 然后 write memery
 3.3 Upgrade Firmware:install add file flash:cat9k_iosxe.17.12.05.SPA.bin activate commit prompt-level none
 3.4 PNP Reset:pnp service reset no-prompt