Recover a Cisco Nexus N5K from the loader prompt

From NesevoWiki
Jump to navigationJump to search
  • 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