cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1059
Views
20
Helpful
12
Replies

Copying Kickstarter and Bootfile to N5548 error

SpaceAceFrehley
Level 1
Level 1

Hello,

I'm trying to get these two files onto a N5K. I can successfully boot the kickstarter from our workspace server using TFTP, but once it has booted, the unit seems to not accept any form of transfer.

------------------------------------

Copying from USB:

dir slot0:

 

Usage for slot0: filesystem

 90677248 used

328753152 free

419430400 total

---------------------------------------

 

Copying from TFTP (adjusted in loader to necessary variables, confirmed in configure terminal)

copy tftp://x.x.x.x/n500.x.x.x.bin bootflash: " "

Trying to connect to tftp server...

Connection to server Established. Copying started.....

 

TFPT get operation failed:Network is unreachable

switch(boot)#

-----------------------------------------

 

I'm unsure what the error could be.

TiA

12 Replies 12

balaji.bandi
Hall of Fame
Hall of Fame

Once its booted from TFTP,  are you still have network IP configuration and you able to ping TFTP Server  ?

 

what is the Logs you see on the device and TFTP server (do you see request established for copy ?)

 

what is the outcome of  show ip

 

Quick fix is get copied to USB and boot from USB and Copy from USB quick win here, if that works for you.

 

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi,

As mentioned, USB is not recognised, even after formatting; I am using a known-good USB for the system but receiving no feedback, only the output shown in my first comment:

"dir slot0:

 

Usage for slot0: filesystem

 90677248 used

328753152 free

419430400 total"

 

I am not finding a ping command in the privilege levels I've tried, but I've retained the same config from the loader on there. "show ip" prints:

ip routing is enabled

ip address x.x.x.x/16

ip default-gateway x.x.x.x

 

When interfacing with the management port, I receive the following message when attempting to configure the default gateway to the same one I used pre-boot (just to check it has retained the address from before):

"Failed to configure the default gateway".

 

I can print logs if you know which commands will relay necessary info.

 

Thanks!

 

 

 

 

 

what format that USB - Fat 32 still works ? is this new USB

 

dir usb1: - should give the information.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

The USB is currently NTFS, but have tried with FAT32 and encounter the same message.

 

I can only perform dir;

bootflash, slot0, workspace.

-----------------

dir bootflash=

16843 Jan 31 2022 15:16:05   lost+found/

 

Usage for bootflash: filesystem

 117481472 bytes used

1533422366 bytes free

1682349859 bytes total

switch(boot)#

 

--------------

dir slot0=

 

Usage for slot0: filesystem

 90677248 used

328753152 free

419430400 total

--------------

dir workspace= 

Could not access directory

switch(boot)#

NTFS  not going to work, Format with FAT or FAT 32 and try.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Tried the same USB with FAT32 format, same error as before:

switch(boot)# dir slot0:

 

Usage for slot0: filesystem

xxxx bytes used

xxxx bytes free

xxxx bytes total

 

Slot 0 is not the corresponding USB name, I receive the same message when the USB is removed from the port. 

what size of USB, Try Fat 16 (if this is old nexus 5K, may be worth trying)

 

make sure USB is 8 or 16GB one.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

It's a newer USB drive of 8GB.

 

I'm not given the option to format it to FAT16 in the dialog box. If there's another way to format it to FAT16 then I can try that.

i do not believe anything more than 8GB can be formated Fat 16 (or FAT). or get 4GB USB

 

Only Option we have here TFTP.

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I've just used diskpart to create a primary active partition of 4GB on the USB and it has allowed a FAT format. I still get no option for the directory for usb drives.

 

As mentioned, my TFTP error cuts out without beginning:

"

Copying from TFTP (adjusted in loader to necessary variables, confirmed in configure terminal)

copy tftp://x.x.x.x/n500.x.x.x.bin bootflash: " "

Trying to connect to tftp server...

Connection to server Established. Copying started.....

 

TFPT get operation failed:Network is unreachable

switch(boot)#"

 

IP details remain similar to before the unit was booted into kickstarter. I am unable to modify the default gateway (I don't need or want to, but still receive an error message if I try)

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @SpaceAceFrehley 

Can you check the following command in boot prompt:

"show interface m0"

if it is down or disabled you can enable it with:

conf t
interface m0
no shut

and then try again to copy the image. 

Also, have you tried using ftp instead of tftp?

 

Take care,

Sergiu

 

Hi Sergiu,

 Output for "show interface m0":

-----------

mgmt0 is up
switch(boot)#

-----------

I've not used FTP before, I am prompted with a username but cannot login with default cisco/cisco or admin/admin-type credentials.

 

I have tried TFTP again after confirming that the port is up, but with no success.

 

Thanks