
10-16
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 10 Configuring Blocking
Configuring Blocking Properties
You can specify a single host or an entire network.
To set up addresses never to be blocked by blocking devices, 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
sensor(config)#
service network-access
Step 3
Enter general submode:
sensor(config-net)#
general
Step 4
Define the address that should never be blocked:
•
For a single host:
sensor(config-net-gen)#
never-block-hosts 10.16.0.0
•
For an entire network:
sensor(config-net-gen)#
never-block-networks 10.0.0.0/8
Step 5
Verify the settings:
sensor(config-net-gen)#
show settings
general
-----------------------------------------------
log-all-block-events-and-errors: true <defaulted>
enable-nvram-write: false <defaulted>
enable-acl-logging: false <defaulted>
allow-sensor-block: false default: false
block-enable: true default: true
block-max-entries: 100 default: 250
max-interfaces: 250 <defaulted>
master-blocking-sensors (min: 0, max: 100, current: 0)
-----------------------------------------------
-----------------------------------------------
never-block-hosts (min: 0, max: 250, current: 2)
-----------------------------------------------
ip-address: 10.16.0.0
-----------------------------------------------
ip-address: 11.11.11.11
-----------------------------------------------
-----------------------------------------------
never-block-networks (min: 0, max: 250, current: 2)
-----------------------------------------------
ip-address: 10.0.0.0/8
-----------------------------------------------
ip-address: 12.12.0.0/16
--MORE--
Step 6
Exit network access submode:
sensor(config-net-gen)#
exit
sensor(config-net)#
exit
Apply Changes:?[yes]:
Step 7
Press
Enter
to apply the changes or type
no
to discard them.