Filtering Output Information - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

Action
Press Ctrl+C
Press <PageUp>
Press <PageDown>
By default, each screen displays up to 24 lines. To change the maximum number of lines displayed on the
next screen, use the screen-length command. For more information about the screen-length command,
see the Fundamentals Command Reference.
Disabling multi-screen display
You can use the following command to disable the multi-screen display function. All of 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

NOTE:
Only display commands that support | { begin | exclude | include }
output information. When the display commands support these parameters depends on your device
model.
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.
Function
Stops the display and the command execution.
Displays the previous page.
Displays the next page.
Use the command...
screen-length disable
11
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.
regular-expression
] support filtering

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents