FIRST REVIEW—CISCO CONFIDENTIAL
16-23
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter1 6 Working With Configuration Files
Backing Up and Restoring the Configuration File Using a Remote Server
https:—Source URL for the web server. The syntax for this prefix is:
https://[[username@]location][/directory]/filename
Note
The directory specification should be an absolute path to the desired file. The remote
host must be a TLS trusted host.
Caution
Copying a configuration file from another sensor may result in errors if the sensing interfaces and virtual
sensors are not configured the same.
Backing Up the Current Configuration to a Remote Server
To back up your current configuration to a remote server, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Back up the current configuration to the remote server.
sensor# copy current-config scp://user@192.0.2.0//configuration/cfg current-config
Password: ********
Warning: Copying over the current configuration may leave the box in an unstable state.
Would you like to copy current-config to backup-config before proceeding? [yes]:
Step 3
Enter
yes
to copy the current configuration to a backup configuration.
cfg 100% |************************************************| 36124 00:00
Restoring the Current Configuration From a Backup File
To restore your current configuration from a backup file, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Back up the current configuration to the remote server.
sensor# copy scp://user@192.0.2.0//configuration/cfg current-config
Password: ********
Warning: Copying over the current configuration may leave the box in an unstable state.
Would you like to copy current-config to backup-config before proceeding? [yes]:
Step 3
Enter
yes
to copy the current configuration to a backup configuration.
cfg 100% |************************************************| 36124 00:00
Warning: Replacing existing network-settings may leave the box in an unstable state.
Would you like to replace existing network settings
(host-ipaddress/netmask/gateway/access-list) on sensor before proceeding? [no]:
sensor#
Step 4
Enter
no
to retain the currently configured hostname, IP address, subnet mask, ma nagement interface,
and access list. We recommend you retain this information to preserve access to your sensor after the
rest of the configuration has been restored.