Difference between revisions of "Recover a Cisco Nexus N5K from the loader prompt"
From NesevoWiki
Jump to navigationJump to searchLine 20: | Line 20: | ||
** <code>conf t</code> | ** <code>conf t</code> | ||
** <code>boot system bootflash:n5000-uk9.7.1.4.N1.1.bin</code> | ** <code>boot system bootflash:n5000-uk9.7.1.4.N1.1.bin</code> | ||
− | ** <code>boot kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1. | + | ** <code>boot kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin</code> |
** <code>end</code> | ** <code>end</code> | ||
* Save and reboot | * Save and reboot | ||
** <code>copy running-config startup-config</code> | ** <code>copy running-config startup-config</code> | ||
** <code>reload</code> | ** <code>reload</code> |
Latest revision as of 15:10, 14 June 2021
- Connect to the serial console
- Connect Mgmt0 Interface to local network
- At loader prompt, configure Mgmt0 interface:
set ip 192.168.1.244 255.255.255.0
- Boot kickstart image over TFTP:
boot tftp://192.168.1.12/n5000-uk9-kickstart.7.1.4.N1.1.bin
- At the boot prompt, configure Mgmt0 interface (again):
conf t
interface m0
ip address 192.168.1.244 255.255.255.0
no shutdown
end
- Copy system and kickstart images to bootflash:
copy tftp: bootflash:
- Load system image
load bootflash:n5000-uk9.7.1.4.N1.1.bin
- Install kickstart and system image:
install all kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin
- Set boot variables
conf t
boot system bootflash:n5000-uk9.7.1.4.N1.1.bin
boot kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin
end
- Save and reboot
copy running-config startup-config
reload