Filtering Output Information - HP A-F1000-E Getting Started Manual

High-end firewalls
Table of Contents

Advertisement

Disabling multi-screen display
Use the following command to disable the multi-screen display function. All the output information is
displayed at one time and the screen is refreshed continuously until the last screen is displayed.
To do...
Disable the
multi-screen display
function

Filtering output information

Introduction
You can use regular expressions in display commands to filter output information.
The following methods are available for filtering output information:
Input the begin, exclude, or include keyword plus a regular expression in the display command to
filter the output information.
When the system displays the output information in multiple screens, use /, - or + plus a regular
expression to filter subsequent output information. / equals the keyword begin, - equals the
keyword exclude, and + equals the keyword include.
The following definitions apply to the begin, exclude, and include keywords:
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
A regular expression is a case sensitive string of 1 to 256 characters. It supports the following special
characters.
Character
^string
string$
.
*
+
Use the command...
screen-length disable
Meaning
Starting sign. string appears only at
the beginning of a line.
Ending sign. string appears only at
the end of a line.
Matches any single character, such
as a single character, a special
character, and a blank.
Matches the preceding character or
character group zero or multiple
times.
Matches the preceding character or
character group one or multiple
times
Remarks
Required
By default, a login user uses the settings of the screen-length
command. The default settings of the screen-length command
are: multiple-screen display is enabled and up to 24 lines are
displayed on the next screen.
This command is executed in user view, and takes effect for
the current user only. When the user re-logs into the switch,
the default configuration is restored.
Remarks
For example, regular expression "^user" only
matches a string beginning with "user", not
"Auser".
For example, regular expression "user$" only
matches a string ending with "user", not "userA".
For example, ".l" matches both "vlan".
For example, "zo*" matches "z" and "zoo";
"(zo)*" matches "zo" and "zozo".
For example, "zo+" matches "zo" and "zoo", but
not "z".
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A-f5000

Table of Contents