10-10
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 10 Configuring Blocking
Configuring Blocking Properties
Setting the Block Time
Use the
global-block-timeout
command in the service event action rules submode to change the amount
of time an automatic block lasts. The default is 30 minutes.
Note
If you change the default block time, you are changing a signature parameter, which affects all
signatures.
Note
The time for manual blocks is set when you request the block.
To change the default block time, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Enter event action rules submode:
sensor#
configure terminal
sensor(config)#
service event-action-rules rules0
Step 3
Enter general submode:
sensor(config-rul)#
general
Step 4
Configure the block time:
sensor(config-rul-gen)#
global-block-timeout 60
The value is the time duration of the block event in minutes (0 to 10000000).
Step 5
Verify the setting:
sensor(config-rul-gen)#
show settings
general
-----------------------------------------------
global-overrides-status: Enabled <defaulted>
global-filters-status: Enabled <defaulted>
global-summarization-status: Enabled <defaulted>
global-metaevent-status: Enabled <defaulted>
global-deny-timeout: 3600 <defaulted>
global-block-timeout: 60 default: 30
max-denied-attackers: 10000 <defaulted>
-----------------------------------------------
sensor(config-rul-gen)#
Step 6
Exit event action rules submode:
sensor(config-rul-gen)#
exit
sensor(config-rul)#
exit
Apply Changes:?[yes]:
Step 7
Press
Enter
to apply the changes or type
no
to discard them.
Note
There is a time delay while the signatures are updated.