Cisco Systems IPS4520K9 Network Router User Manual


 
E-3
Cisco Intrusion Prevention System Appliance and Module Installation Guide for IPS 7.1
OL-24002-01
Appendix E Troubleshooting
Preventive Maintenance
sensor# copy /erase backup-config current-config
Backing Up and Restoring the Configuration File Using a Remote Server
Note
We recommend copying the current configuration file to a remote server before upgrading.
Use the copy [/erase] source_url destination_url keyword command to copy the configuration file to a
remote server. You can then restore the current configuration from the remote server. You are prompted
to back up the current configuration first. The following options apply:
/erase—Erases the destination file before copying.
This keyword only applies to the current-config; the backup-config is always overwritten. If this
keyword is specified for destination current-config, the source configuration is applied to the system
default configuration. If it is not specified for the destination current-config, the source
configuration is merged with the current-config.
source_url—The location of the source file to be copied. It can be a URL or keyword.
destination_url—The location of the destination file to be copied. It can be a URL or a keyword.
current-config—The current running configuration. The configuration becomes persistent as the
commands are entered.
backup-config—The storage location for the configuration backup.
The exact format of the source and destination URLs varies according to the file. Here are the valid
types:
ftp:—Source or destination URL for an FTP network server. The syntax for this prefix is:
ftp:[//[username@] location]/relativeDirectory]/filename
ftp:[//[username@]location]//absoluteDirectory]/filename
scp:—Source or destination URL for the SCP network server. The syntax for this prefix is:
scp:[//[username@] location]/relativeDirectory]/filename
scp:[//[username@] location]//absoluteDirectory]/filename
Note
If you use FTP or SCP protocol, you are prompted for a password. If you use SCP protocol,
you must also add the remote host to the SSH known hosts list.
http:—Source URL for the web server. The syntax for this prefix is:
http:[[/[username@]location]/directory]/filename
https:—Source URL for the web server. The syntax for this prefix is:
https:[[/[username@]location]/directory]/filename
Note
HTTP and HTTPS prompt for a password if a username is required to access the website. If
you use HTTPS protocol, the remote host must be a TLS trusted host.