Cisco Systems IPS4510K9 Home Security System User Manual


 
FIRST REVIEW—CISCO CONFIDENTIAL
16-18
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter 16 Working With Configuration Files
Filtering the Current Submode Configuration Output
access-list 10.0.0.0/8
access-list 64.0.0.0/8
exit
time-zone-settings
--MORE--
Note
Press Ctrl-C to stop the output and return to the CLI prompt.
Step 4
Include the regular expression “ip” in the current-config output.
sensor# more current-config | include ip
generating current config:
host-ip 192.0.2.0/24,192.0.2.17
engine atomic-ip
Filtering the Current Submode Configuration Output
Use the show settings | [begin | exclude | include] regular_expression command in the submode you
are interested in to search or filter the output of the contents of the submode configuration.
The following options apply:
|—The pipe symbol indicates that an output processing specification follows.
begin—Begins unfiltered output of the show settings command with the first line that contains the
regular expression specified.
exclude—Excludes lines in the output of the show settings command that contain a particular
regular expression.
include—Includes only the lines in the output of the show settings command that contain the
regular expression you specify.
regular_expression—Specifies any regular expression found in the show settings command output.
Note
The regular_expression option is case sensitive and allows for complex matching
requirements.
Filtering the Submode Output
To search or filter the output of the contents of the submode configuration, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Search the output of the event action rules settings for the regular expression, “filters,” for example.
sensor# configure terminal
sensor(config)# service event-action-rules
sensor(config-rul)# show settings | begin filters
filters (min: 0, max: 4096, current: 0 - 0 active, 0 inactive)
-----------------------------------------------
general
-----------------------------------------------
global-overrides-status: Enabled <defaulted>
global-filters-status: Enabled <defaulted>