17-10
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter17 Administrative Tasks for the Sensor
Clearing the Sensor Databases
The following options apply:
virtual-sensor—Specifies the name of a virtual sensor configured on the sensor.
all— Clears all nodes, inspectors, and alerts databases.
Caution
This command causes summary alerts to be discarded.
nodes—Clears the overall packet database elements, including the packet nodes, TCP session
information, and inspector lists.
alerts—Clears the alert database including the alerts nodes, Meta inspector information, summary
state, and event count structures.
inspectors—Clears the inspector lists in the nodes. Inspector lists represent the packet work and
observations collected during the time the sensor is running.
Clearing the Sensor Database
To clear the sensor database, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Clear the entire sensor database.
sensor# clear database all
Warning: Executing this command will delete database on all virtual sensors
Continue? [yes]:
Step 3
Enter
yes
to clear all the databases on the sensor.
Step 4
Clear the packet nodes.
sensor# clear database nodes
Warning: Executing this command will delete database on all virtual sensors
Continue? [yes]:
Step 5
Enter
yes
to clear the packet nodes database.
Step 6
Clear the alerts database on a specific virtual sensor.
sensor# clear database vs0 alerts
Warning: Executing this command will delete database on all virtual sensors
Continue? [yes]:
Step 7
Enter
yes
to clear the alerts database.
Step 8
Clear inspector lists on the sensor.
sensor# clear database inspectors
Warning: Executing this command will delete database on all virtual sensors
Continue? [yes]:
Step 9
Enter
yes
to clear the inspectors database.