Purpose
Command or Action
Example:
Router> enable
•
Enter your password if prompted.
Copies the startup configuration file to a server.
copy nvram:startup-config
{
ftp:
|
rcp:
|
tftp:
}
Step 2
•
The configuration file copy serves as a backup copy.
Example:
Router# copy nvram:startup-config ftp:
•
Enter the destination URL when prompted.
Displays the layout and contents of a bootflash memory file system.
dir bootflash:
Step 3
Example:
Router# dir bootflash:
•
Write down the name of the system image file.
Copies a file from bootflash memory to a server.
copy bootflash:
{
ftp:
|
rcp:
|
tftp:
}
Step 4
Example:
Router# copy bootflash: ftp:
•
Copy the system image file to a server to serve as a backup copy.
•
Enter the bootflash memory partition number if prompted.
•
Enter the filename and destination URL when prompted.
What to Do Next
The following example shows the startup configuration being copied to a TFTP server:
Router#
copy nvram:startup-config tftp:
Remote host[]?
172.16.101.101
Name of configuration file to write [rtr2-confg]?
<cr>
Write file rtr2-confg on host 172.16.101.101?[confirm]
<cr>
![OK]
The following example uses the
dir bootflash:
privileged EXEC command to obtain the name of the system
image file and the
copy bootflash: tftp:
privileged EXEC command to copy the system image to a TFTP
server. The router uses the default username and password.
Router#
dir bootflash:
System flash directory:
File Length Name/status
1 4137888 csr1000v-universalk9.03.10.00.S.153-3.S-ext.SPA.bin
[4137952 bytes used, 12639264 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)\
Router#
copy bootflash: tftp:
IP address of remote host [255.255.255.255]?
192.0.2.1
filename to write on tftp host?
csr1000v-advernterprisek9-mz
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
211
Upgrading the Cisco IOS XE Software
Saving Backup Copies of Your New System Image and Configuration