14-31
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter1 4 Configuring Attack Response Controller for Blocking and Rate Limiting
Configuring Host Blocking
Step 13
Press Enter to apply the changes or enter
no
to discard them.
Step 14
On the master blocking sensor, add the block forwarding sensor IP address to the access list.
For More Information
For the procedure for adding the blocking forward sensor IP address to the access list, see Changing the
Access List, page 3-6.
Configuring Host Blocking
Note
Connection blocks and network blocks are not supported on adaptive security appliances . Adaptive
security appliances only support host blocks with additional connection information.
Use the block host ip-address [timeout minutes] command in privileged EXEC mode to block a host.
Use the no form of the command to remove a block on a host. You must have blocking configured before
you can set up host blocks. You can also view a list of hosts that are being blocked. If you do no t
configure the amount of time for the host block, it is permanent.
The following options apply:
ip-address—Specifies the IP address of the host to be blocked.
minutes—(Optional) Specifies the duration of the host block in minutes. The valid range is 0 to
70560 minutes.
Blocking a Host
To block a host, follow these steps:
Step 1
Log in to the CLI using an account with administrator or operator privileges.
Step 2
Configure the host block for 15 minutes, for example. The host block ends in 15 minutes.
sensor# block host 192.0.2.1 timeout 15
Step 3
Start a host block. The host block lasts until you remove it.
sensor# block host 192.0.2.1
Step 4
End the host block.
sensor# no block host 192.0.2.1
sensor#
Configuring Network Blocking
Note
Connection blocks and network blocks are not supported on adaptive security appliances . Adaptive
security appliances only support host blocks with additional connection information.