9-39
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter9 Configuring Anomaly Detection
Configuring Learning Accept Mode
Step 3
Specify how the KB is saved and loaded:
a.
Specify that the KB is automatically saved and lo aded. Go to Step 4.
sensor(config-ano)# learning-accept-mode auto
sensor(config-ano-aut)#
b.
Specify that the KB is going to be manually saved and loaded. Go to Step 6.
sensor(config-ano)# learning-accept-mode manual
sensor(config-ano-man)#
Step 4
Specify how you want the KB automatically accepted:
a.
Save the KB so that you can inspect it and decide whether to load it. Go to Step 6.
sensor(config-ano-aut)# action save-only
b.
Have the KB saved and loaded as the current KB according to the schedule you define. Continue
with Step 5.
sensor(config-ano-aut)# action rotate
Step 5
Schedule the automatic KB saves and loads:
Calendar schedule—With this schedule the KB is saved and loaded every Monday at midnight.
sensor(config-ano-aut)# schedule calendar-schedule
sensor(config-ano-aut-cal)# days-of-week monday
sensor(config-ano-aut-cal)# times-of-day time 24:00:00
Periodic schedule—With this schedule the KB is saved and loaded every 24 hours at midnight.
sensor(config-ano-aut)# schedule periodic-schedule
sensor(config-ano-aut-per)# start-time 24:00:00
sensor(config-ano-aut-per)# interval 24
Step 6
Verify the settings.
sensor(config-ano-aut-per)# exit
sensor(config-ano-aut)# show settings
auto
-----------------------------------------------
action: rotate default: rotate
schedule
-----------------------------------------------
periodic-schedule
-----------------------------------------------
start-time: 12:00:00 default: 10:00:00
interval: 24 hours default: 24
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
Step 7
Exit anomaly detection submode.
sensor(config-ano-aut)# exit
sensor(config-ano)# exit
Apply Changes:?[yes]:
Step 8
Press Enter to apply your changes or enter
no
to discard them.