Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

How to restore a Cisco Nexus Switch from loader prompt

(view in My Videos)

 

This videos shows how to restore a Cisco Nexus 5000/2000 series or Cisco Nexus 3000 series switch from the loader> prompt.

 

Summary steps:

-load kickstart from TFTP server, when not present on bootflash:

-copy kickstart and system images from a TFTP/FTP server

-load system image

-finish the install with install all

22 Comments
Community Member

Hi, 

 

I am facing a problem, I am using the tftpd64 TFTP server and trying to load my image to the N6K. It loads the image, Put right in the end it gives me this comment : TFTP ERROR 0 ( CODE ERROR) 

So I am stuck in that, tried to change setting so many times, and I noticed in the TFTP server log views that there is a block Ack#d....

Any idea what to do?

Your help will be appreciated

Thanks, 

A

Community Member

Thanks for the info. Helped me.

Community Member

Terrific, very helpful!

Thanks,

Community Member

I connected to mgmt0 port, changed IP & GW at loader.  But still can't get file to upload.  Im not able to ping my Mac to mgmt0 IP.  Is there something I'm missing?

 

thanks

 

Cisco Employee

I am also having the same issue with N5K, not able to ping the mgmt0 from my laptop where the tftp srv.

What is the problem? did you find any solution?

Thanks,

Hani 

Community Member

Hi

 

 

 

Community Member

i've recently faced this issue, so i'm posting the walkthrough in TXT. hope this helps.

 

Community Member

thanks

 

Community Member

Hello, 

        I'm getting the same error trying to tftp the image to a 5548. It loads the image, but in the end it gives error: TFTP ERROR 0 ( CODE ERROR).

Were you able to solve this issue? 

Community Member

Did you ever figure out what this issue was?  I'm at the loader prompt and was able to set the IP,GW and mask but am unable to ping mgmt0 as well.  

Community Member

its been a long time since you posted, but maybe if you try by FTP ( bin mode). Its faster and easier.

Must be in ftp bin mode, otherwise the image might get corrupted.

Community Member

Hi, 

I was getting the TFTP ERROR 0 ( CODE ERROR) when connecting the switch locally to my PC and using TFTP64. I ultimately ended up connecting the nexus 5548 to our production network and tftp'ing the image from our solarwinds server running on window 2008 and was able to successfully load the image onto the switch. I couldn't speak to why it worked from the solarwinds server and not my windows PC, perhaps something w/the security settings on my PC. Hope this helps. 

Community Member

Hi,

mgmt0 when in loader prompt is not reachable by ICMP. Until you use tftp command you will not even see MAC address behind port where mgmt0 is connected. It's normal situation

Ondrej

Community Member

I faced issue on my N5k when I got into boot prompt.

The mgmt0 IP address was unchanged and same as I set in loader prompt but tftp and telnet still showed "Network is unreachable".

To resolve this I jumped to configuration mode and configured IP address and default gateway one more time using exact the same values as before.

Hope this helps someone.

Community Member

hi lucient,

i am facing the same problem. the nexus 7000 boot from loader>

i have follow this step but find error like this :

loader> boot tftp://172.16.1.1/n7000-s2-kickstart.6.2.14.bin                   
Found i82576 [3:0.0] at 0x2020, ROM address 0x7d80
Probing...[i82576]
Management port
Ethernet addr: E4:C7:22:16:D1:A8
Link UP in 1000/full mode
Address: 172.16.1.2
Netmask: 255.255.255.0
Server: 0.0.0.0
Gateway: 172.16.1.1
Address: 172.16.1.2
Netmask: 255.255.255.0
Server: 0.0.0.0
Gateway: 172.16.1.1
Address: 172.16.1.2
Netmask: 255.255.255.0
Server: 172.16.1.1
Gateway: 172.16.1.1
 Filesystem type is tftp, using whole disk
Booting: /n7000-s2-kickstart.6.2.14.bin console=ttyS0,9600n8nn quiet loader_ver
="4.1.9"....
...............................................................................
..............................Retry 1: Congestion or cable issue
Retry 1: Congestion or cable issue
Retry 1: Congestion or cable issue
Retry 1: Congestion or cable issue
Retry 1: Congestion or cable issue

need your advice thanks

19127
Views
25
Helpful
22
Comments