17-27
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter1 7 Administrative Tasks for the Sensor
Displaying Policy Lists
Name of current Event-Action-Rules instance = rules0
List of interfaces monitored by this virtual sensor = mypair
Denied Address Information
Number of Active Denied Attackers = 0
Number of Denied Attackers Inserted = 2
Number of Denied Attackers Total Hits = 287
Number of times max-denied-attackers limited creation of new entry = 0
Number of exec Clear commands during uptime = 1
Denied Attackers and hit count for each.
Step 10
Clear only the statistics.
sensor# show statistics virtual-sensor clear
Step 11
Verify that you have cleared the statistics. The statistics have all been cleared except for the
Number of
Active Denied Attackers
and
Number of exec Clear commands during uptime
categories. It is
important to know if the list has been cleared.
sensor# show statistics virtual-sensor
Virtual Sensor Statistics
Statistics for Virtual Sensor vs0
Name of current Signature-Definition instance = sig0
Name of current Event-Action-Rules instance = rules0
List of interfaces monitored by this virtual sensor = mypair
Denied Address Information
Number of Active Denied Attackers = 2
Number of Denied Attackers Inserted = 0
Number of Denied Attackers Total Hits = 0
Number of times max-denied-attackers limited creation of new entry = 0
Number of exec Clear commands during uptime = 1
Denied Attackers and hit count for each.
10.20.2.5 = 0
10.20.5.2 = 0
Displaying Policy Lists
Use the list {anomaly-detection-configurations | event-action-rules-configurations |
signature-definition-configurations} in EXEC mode to display the list of policies for these
components. The file size is in bytes. A virtual sensor with N/A indicates that the policy is not assigned
to a virtual sensor.
To display a list of policies on the sensor, follow these steps:
Step 1
Log in to the CLI.
Step 2
Display the list of policies for anomaly detection.
sensor# list anomaly-detection-configurations
Anomaly Detection
Instance Size Virtual Sensor
ad0 255 vs0
temp 707 N/A
MyAD 255 N/A
ad1 141 vs1
sensor#