Copy Configuration
Use CCCSP EXEC commands to copy the startup configuration and running configuration to and from the hard disk on the CCCSP application, the network SFTP server, and the network TFTP server.
![]() Note |
Depending on the specific TFTP server you are using, you might need to create a file with the same name on the TFTP server and verify that the file has the correct permissions before transferring the running configuration to the TFTP server. |
Copy Startup Configuration from Hard Disk to Another Location
Starting in CCCSP EXEC mode, use the following command to copy the startup configuration on the hard disk to another location:
copy startup-config { sftp: user-id:password@sftp-server-url | tftp: tftp-server-url }
Syntax Description
| sftp: user-id:password@ |
Username and password for the SFTP server. Include the colon (:) and the at sign (@) in your entry. |
| tftp-server-url |
Absolute URL of the SFTP server including directory and filename. An example is userid:password@sftp-server-address/directory/filename. |
| tftp: tftp-server-url |
URL of the TFTP server including directory and filename. An example is tftp://server/dir/filename. |
This command is interactive and prompts you for the information. You cannot enter the parameters in one line. In this example, the startup configuration is copied to the SFTP server, which requires a username and password to transfer files. The startup configuration file is saved on the SFTP server with the filename “start”.
Hostname# copy startup-config sftp
Address or name of remote host? test:test123@10.3.61.16/home/test/
Source filename? startup-config
The following example shows the startup configuration copied to the TFTP server, which does not require a username and password. The command saves the startup configuration in the TFTP directory called “configs” as a file called “temp_start”.
Hostname# copy startup-config tftp
Address or name of remote host? tftp://server/dir/temp_start
Source filename? temp_start
Copy Startup Configuration from Network SFTP Server to Another Location
Starting in module EXEC mode, use the following command to copy the startup configuration on the network SFTP server to another location:
copy sftp: { nvram:startup-config | running-config | startup-config | system:running-config }
For a description of this command, see CLI Command Reference for Cisco Contact Center SIP Proxy (CCCSP).
This command is interactive and prompts you for the information. You cannot enter the parameters in one line. The following example illustrates this process. In this example, the SFTP server requires a username and password. This command copies the file called “start” that resides in the SFTP server directory called “configs” to the startup configuration.
Hostname# copy sftp: startup-config
!!!WARNING!!! This operation will overwrite your startup configuration.
Do you wish to continue[y]? y
Address or name or remote host? admin:messaging@tftp://server/configs
Source filename? start
Copy Running Configuration from Hard Disk to Another Location
Starting in module EXEC mode, use the following command to copy the running configuration on the hard disk to another location:
copy running-config { sftp: user-id:password @sftp:// server/dir/filename | startup-config tftp:tftp:// server/dir/filename }
For a description of this command, see CLI Command Reference for Cisco Contact Center SIP Proxy (CCCSP).
The command works in two ways, depending on where you are copying the command:
-
If you copy the running configuration to the startup configuration, enter the command on one line, like in the following example:
Hostname# copy running-config startup-config -
If you copy the running configuration to the SFTP or TFTP server, this command becomes interactive and prompts you for the information. You cannot enter the parameters in one line. In the following example, the running configuration is copied to the SFTP server, which requires a username and password. The running configuration is copied to the directory called “configs” as a file called “saved_start”.
Hostname# copy running-config sftp: Address or name of remote host? admin:messaging@sftp://server/configs Source filename? saved_start
Copy Running Configuration from Network TFTP Server to Another Location
Starting in module EXEC mode, use the following command to copy the running configuration from the network TFTP server to another location:
copy t ftp: { running-config | startup-config } tftp: //server/dir/filename
Syntax Description
| running-config |
Active configuration on hard disk. |
| startup-config |
Startup configuration on hard disk. |
| tftp-server-url |
URL of the TFTP server. |
This command is interactive and prompts you for the information. You cannot enter the parameters in one line. The following example illustrates this process. In this example, the file called “start” that resides in the directory called “configs” on the TFTP server is copied to the startup configuration.
Hostname# copy tftp: startup-config
!!!WARNING!!! This operation will overwrite your startup configuration.
Do you wish to continue[y]? y
Address or name of remote host? tftp://server/configs
Source filename? start

Feedback