9-42
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter9 Co nfiguring Anomaly Detection
Working With KB Files
Note
An error is generated if anomaly detection is not active when you enter this command. You
cannot overwrite the initial file.
Copying, Renaming, and Erasing KBs
Use these commands in privileged EXEC mode to manually copy, rename, and erase KB files.
The following options apply:
copy ad-knowledge-base virtual-sensor {current | initial | file name} destination-url—Copies the
KB file (current, initial, or the file name you enter) to a specified destination URL.
Note
Copying a file to a name that already exists overwrites it.
copy ad-knowledge-base virtual-sensor source-url new-name—Copies a KB with a new file name
to the source URL you specify.
Note
You cannot use the current keyword as a new-name. A new current KB file is created with
the load command.
rename ad-knowledge-base virtual-sensor {current | file name} new-name—Renames an existing
KB file.
erase ad-knowledge-base [virtual-sensor [name]]—Removes all KB files from a virtual sensor, or
just one KB file if you use the name option.
You cannot erase the initial KB file or the KB file loaded as the current KB.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 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