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
  • Boot kickstart image over TFTP:
    • boot tftp://
  • At the boot prompt, configure Mgmt0 interface (again):
    • conf t
    • interface m0
    • ip address
    • 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