Cisco NX-OS – How to Download Startup Configuration from a Remote Server

cisco-nx-ostftp

I am trying to replace the startup configuration on Cisco Nexus device using a file on remote server. I tried the instructions given at this page:

Working With Configuration Files: Downloading the Startup Configuration From a Remote Server

So, I tried running command copy tftp://<server-ip-address>/nexus-startup.cfg startup-config and got the following output with error:

Nexus7K01# copy tftp://172.16.38.4/nexus7k01.cfg startup-config
Enter vrf (If no input, current vrf 'default' is considered): management
Trying to connect to tftp server......
Connection to Server Established.
TFTP get operation was successful
sysmgr_copy_nvram_dest_action: src uri_type = 2 is not supported yet
Nexus7K01#

I tried to copy the file using all the four remote server protocol and got the same error with different URI type. 1 for FTP, 128 for SCP and 512 for SFTP.

The device is a Cisco Nexus 7000 series device with following details:

Software
  BIOS:      version 3.22.0
  kickstart: version 6.1(3)
  system:    version 6.1(3)

Hardware
  cisco Nexus7000 C7010 (10 Slot) Chassis ("Supervisor module-1X")
  Intel(R) Xeon(R) CPU         with 8251588 kB of memory.

Please let me know what am I doing wrong and how can I rectify this error.

Thanks in advance!

-Varun

Best Answer

I would first check that you correctly have the 'nexus-startup.cfg' in your TFTP root folder, so that it's not a path issue. I suggest this because the uri error your getting would suggest the path is not found. Also - you'll need to address your syntax. Following from Nx-OS contextual help:

 tftp:  Enter URL "tftp:[//server[:port]][/path]"

Also - I would try just copying it to your flash and then to startup-config after that if it's not liking the syntax you used to copy it over.

UPDATE:

This known issue with your NX-OS version could be related, or even the root cause:

CSCud05567
Symptom : Following a system switchover, copying to bootflash on the supervisor module does not work.

Conditions : This symptom might be seen under normal operating conditions for a Cisco Nexus 7000 Series device.

Workaround : None.

Source is HERE

The good news is that this issue is only appearing from 6.1, so if you are in a position to move down to 6.0 family of NX-OS you should be good. My personal preference anyway is to stay a family behind the latest and greatest unless there's a security patch.