10-6
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 10 Configuring Blocking
Configuring Blocking Properties
-----------------------------------------------
-----------------------------------------------
never-block-hosts (min: 0, max: 250, current: 1)
-----------------------------------------------
ip-address: 11.11.11.11
-----------------------------------------------
-----------------------------------------------
never-block-networks (min: 0, max: 250, current: 1)
-----------------------------------------------
ip-address: 12.12.0.0/16
-----------------------------------------------
-----------------------------------------------
block-hosts (min: 0, max: 250, current: 0)
-----------------------------------------------
--MORE--
Step 8
Exit network access submode:
sensor(config-net-gen)#
exit
sensor(config-net)#
exit
Apply Changes:?[yes]:
Step 9
Press
Enter
to apply the changes or type
no
to discard them.
Disabling Blocking
Use the
block-enable [true | false]
command in the service network access submode to enable or disable
blocking on the sensor.
By default, blocking is enabled on the sensor. If Network Access Controller is managing a device and
you need to manually configure something on that device, you should disable blocking first. You want
to avoid a situation in which both you and Network Access Controller could be making a change at the
same time on the same device. This could cause the device and/or Network Access Controller to crash.
Caution
If you disable blocking for maintenance on the devices, make sure you enable it after the maintenance
is complete or the network will be vulnerable to attacks that would otherwise be blocked.
Note
While blocking is disabled, Network Access Controller continues to receive blocks and track the time
on active blocks, but will not apply new blocks or remove blocks from the managed devices. After
blocking is reenabled, the blocks on the devices are updated.
To disable blocking, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Enter network access submode:
sensor#
configure terminal
Step 3
Enter general submode:
sensor(config-net)#
general