5-12
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter5 Configuring Virtual Sensors
Configuring Global Variables
Configuring Global Variables
Use the global-parameters command in service analysis engine submode to create global variables,
such as IP logging, service activity, and specifying the flow depth. Flow depth is used for String,
Multi-String, Service HTTP, and State engines. It does not apply to the XL String engine and the
platforms that support it.
Note
The IPS 4345, IPS 4360, IPS 4510, IPS 4520, ASA 5525-X IPS SSP, ASA 5545-X IPS SSP,
ASA 5555-X IPS SSP, and ASA5585- X IPS SSP support the String XL engines and the Regex
accelerator card.
The following options apply:
ip-logging—Enables global IP logging parameters.
max-open-iplog-files—Specifies the maximum number of concurrently open log files. The
range is 20 to 100. The default is 20.
serviceActivity—Lets you gather information about service activities for diagnostic purposes. The
details are more granular and have port level details.
Note
Enabling service activity impacts system performance. Enable service activity collection
temporarily for diagnostic purposes only. You must reboot the sensor after you enable
service activity for the change to take affect.
enable-serviceactivity [1 | 0]—Set to 1 to enable, set to 0 to disable. The default is disabled.
serviceActivityLimit lim it—Sets the limit for how many services you want to enable. The valid
range is from 10 to 65536. The default is 15.
specify-flow-depth—Lets you specify the inspection depth of the flow. Flow depth is the number
of bytes inspected in a flow. The new value applies for new flows only. The valid range is from 0 to
429496296. The default is 0, which is infinitive.
Creating a Global Variable
To create a global variable, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Enter service analysis mode.
sensor# configure terminal
sensor(config)# service analysis-engine
sensor(config-ana)#
Step 3
Create the variable for the maximum number of open IP logs.
sensor(config-ana)# global-parameters
sensor(config-ana-glo)# ip-logging
sensor(config-ana-glo-ip)# max-open-iplog-files 50
sensor(config-ana-glo-ip)# exit
sensor(config-ana-glo)#
Step 4
Create the flow depth variable.
sensor(config-ana-glo)# specify-flow-depth 500
sensor(config-ana-glo)# exit