01-31-2022 05:22 AM
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
01-31-2022 05:30 AM
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.
01-31-2022 07:00 AM
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!
01-31-2022 07:08 AM
what format that USB - Fat 32 still works ? is this new USB
dir usb1: - should give the information.
01-31-2022 07:21 AM
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)#
01-31-2022 07:26 AM
NTFS not going to work, Format with FAT or FAT 32 and try.
01-31-2022 07:32 AM
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.
01-31-2022 08:58 AM
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.
01-31-2022 09:02 AM
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.
01-31-2022 09:19 AM
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.
01-31-2022 09:23 AM
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)
01-31-2022 10:51 AM
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
02-01-2022 12:59 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide