To copy the configuration from a remote site to flash, make a backup of the initial configuration in flash or at a remote location, or write the system logs to a remote site, SD card or USB, use the command copy in Privileged EXEC Mode.
Parameter | Type | Description |
---|---|---|
<flash_url> |
Enter to copy to flash or remote site. | |
<sftp://<user-name>:<pass-word>@server/filename> |
Enter to configure the name of the file in remote location to be copied (downloaded) into configuration file (iss.conf). This option configures the SFTP server details. | |
user-name |
Enter for the user name of remote host or server | |
pass-word |
Enter for the password for the corresponding user name of remote host or server | |
server |
A.B.C.D | Enter for the IP address or host name of the server |
filename |
Enter for filename in which we are copying | |
tftp://server/filename startup-config |
Enter to configure the address from which the file is to be copied and the file name from which configuration is to be copied. This option configures the TFTP server details | |
flash |
Enter for flash related configuration | |
coredump |
Enter for coredump file in flash | |
seminfo |
Enter for semiphore information in flash | |
<file_name> |
Enter file name of size (1-128) characters | |
<tftp_url> |
Enter for a file in remote location using the TFTP option. | |
SD-Card |
Enter for SD-Card file transfer operation | |
usb |
Enter for a USB file transfer operation | |
<file_name> |
Enter file name of size (1-128) characters | |
<file_name> |
Enter file name of size (1-128) characters | |
SD-Card |
Enter for SD-Card file transfer operation | |
usb |
Enter for a USB file transfer operation | |
tech_report |
Enter for tech.report file in flash | |
<sftp_url> |
Enter for a file in remote location to be copied using the SFTP option. | |
<tftp_url> |
Enter for a file in remote location to be copied using the TFTP option. | |
SD-Card |
Enter for SD-Card file transfer operation | |
usb |
Enter for a USB file transfer operation | |
startup-config |
Enter to copy the running configuration to the startup configuration file in NVRAM, where the running-config is the current configuration in the router and the startup config is the configuration that is loaded when the router boots up | |
<flash:// |
Enter to configure the name of the file in which the initial configuration should be stored. This file is available in the Flash. | |
running-config |
Enter to copy running-configuration to startup-configuration. This command copies the variables from the running configuration to the startup configuration file in NVRAM, where the running-config is the current configuration in the router and the startup config is the configuration that is loaded when the router boots up |
Privileged EXEC Mode
Filenames and directory names are case sensitive
iS5Comm# copy flash:clcliser startup-config
iS5Comm# copy startup-config flash:clcliser
iS5Comm# copy running-config startup-config
iS5Comm# copy logs tftp://12.100/log.txt standby
Log Upload Successful
iS5Comm# copy tftp://12.0.0.2/clclirel flash:clcliser
iS5Comm# copy flash log file_name SD-Card myfile
iS5Comm# copy flash seminfo usb myfile