PurposeCommand or Action
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
switch# copy running-config startup-config
Step 2
Copying a Configuration File to a Remote Server
You can copy a configuration file stored in the internal memory to a remote server as a backup or to use for
configuring other Cisco NX-OS devices.
SUMMARY STEPS
1.
copy running-config scheme://server/[url /]filename
2.
copy startup-config scheme://server/[url /]filename
DETAILED STEPS
PurposeCommand or Action
Copies the running-configuration file to a remote server.
copy running-config scheme://server/[url
/]filename
Step 1
For the scheme argument, you can enter tftp:, ftp:, scp:, or sftp:. The
server argument is the address or name of the remote server, and the url
argument is the path to the source file on the remote server.
Example:
switch# copy running-config
tftp://10.10.1.1/sw1-run-config.bak
The server, url, and filename arguments are case sensitive.
Copies the startup-configuration file to a remote server.
copy startup-config scheme://server/[url
/]filename
Step 2
For the scheme argument, you can enter tftp:, ftp:, scp:, or sftp:. The
server argument is the address or name of the remote server, and the url
argument is the path to the source file on the remote server.
Example:
switch# copy startup-config
tftp://10.10.1.1/sw1-start-config.bak
The server, url, and filename arguments are case sensitive.
This example shows how to copy the bootflash file using FTP:
switch# copy ftp: bootflash:
Enter source filename: n5000-uk9-kickstart.5.0.2.N2.1.bin
Warning: There is already a file existing with this name. Do you want to
overwrite (y/n)?[n] y
Enter vrf (If no input, current vrf 'default' is considered): management
Enter hostname for the ftp server: 172.1.1.10
Enter username: xxx
Password:
***** Transfer of file Completed Successfully *****
Note: Boot variable kickstart is set to
bootflash:/n5000-uk9-kickstart.5.0.2.N2.1.bin
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
OL-30890-01 125
Working with Configuration Files
Copying a Configuration File to a Remote Server