Filtering the Current Configuration Output
The following options apply:
|—The pipe symbol indicates that an output processing specification follows.
•
begin—Begins unfiltered output of the show configuration command with the first line that
•
contains the regular expression specified.
exclude—Excludes lines in the output of the show configuration command that contain a particular
•
regular expression.
•
include—Includes only the lines in the output of the show configuration command that contain the
regular expression you specify.
•
regular-expression—Any regular expression found in the show configuration command output.
Note
To search or filter the output of the contents of the current configuration, follow these steps:
Log in to the CLI using an account with administrator privileges.
Step 1
Search the configuration output beginning with the regular expression "ssh," for example
Step 2
Note
sensor# show configuration | begin ssh
communication ssh-3des
profile-name test1
block-vlans 234
pre-vacl-name aaaa
post-vacl-name bbbb
exit
exit
exit
! ------------------------------
service notification
exit
! ------------------------------
service signature-definition sig0
signatures 2200 0
engine service-generic
specify-payload-source yes
payload-source l2-header
exit
exit
exit
signatures 12300 0
status
enabled true
retired true
--MORE--
Note
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
12-10
The regular-expression option is case sensitive and allows for complex matching
requirements.
The show configuration | begin regular-expression command begins unfiltered output of the
show command with the first line that contains the specified regular expression.
Press Ctrl-C to stop the output and return to the CLI prompt.
Chapter 12
Working With Configuration Files
78-16527-01
Need help?
Do you have a question about the 4215 - Intrusion Detection Sys Sensor and is the answer not in the manual?
Questions and answers