Difference between revisions of "Recover a Cisco Nexus N5K from the loader prompt"
From NesevoWiki
Jump to navigationJump to search (Created page with "* Connect to the serial console * Connect Mgmt0 Interface to local network * At loader prompt, configure Mgmt0 interface: <code>set ip 192.168.1.244 255.255.255.0</code> * Boo...") |
|||
Line 1: | Line 1: | ||
* Connect to the serial console | * Connect to the serial console | ||
* Connect Mgmt0 Interface to local network | * Connect Mgmt0 Interface to local network | ||
− | * At loader prompt, configure Mgmt0 interface: <code>set ip 192.168.1.244 255.255.255.0</code> | + | * At loader prompt, configure Mgmt0 interface: |
− | * Boot kickstart image over TFTP: <code>boot tftp://192.168.1.12/n5000-uk9-kickstart.7.1.4.N1.1.bin</code> | + | ** <code>set ip 192.168.1.244 255.255.255.0</code> |
− | * | + | * Boot kickstart image over TFTP: |
+ | ** <code>boot tftp://192.168.1.12/n5000-uk9-kickstart.7.1.4.N1.1.bin</code> | ||
+ | * At the boot prompt, configure Mgmt0 interface (again): | ||
+ | ** <code>conf t</code> | ||
+ | ** <code>interface m0</code> | ||
+ | ** <code>ip address 192.168.1.244 255.255.255.0</code> | ||
+ | ** <code>no shutdown</code> | ||
+ | ** <code>end</code> | ||
+ | * Copy system and kickstart images to bootflash: | ||
+ | ** <code>copy tftp: bootflash:</code> | ||
+ | * Load system image | ||
+ | ** <code>load bootflash:n5000-uk9.7.1.4.N1.1.bin</code> | ||
+ | * Install kickstart and system image: | ||
+ | ** <code>install all kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin</code> | ||
+ | * Reboot | ||
+ | ** <code>reload</code> |
Revision as of 14:28, 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
- Reboot
reload