Controlling The Cli Display; Filtering Output Information - HP A5830 Series Configuration Manual

Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Controlling the CLI display

By default, each screen displays up to 24 lines. To change the maximum number of lines displayed on the
next screen, use screen-length. For more information about this command, see Fundamentals Command
Reference.
If the output information spans multiple screens, each screen pauses after it is displayed. Perform one of
the following operations to proceed:
Action
Press Space.
Press Enter.
Press Ctrl+C.
Press <PageUp>.
Press <PageDown>.
Use the screen-length disable command to disable the multi-screen display function. All output information
is displayed at one time and the screen refreshes continuously until the last screen is displayed.
Task...
Disable the multi-screen
display function.

Filtering output information

Use regular expressions in display commands to filter output information.
The following methods are available for filtering output information:
Enter 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. The / character equals the keyword begin, -
equals the keyword exclude, and + equals the keyword include.
The following definitions apply:
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:
Function
Displays the next screen.
Displays the next line.
Stops the display and the command execution.
Displays the previous page.
Displays the next page.
Command...
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
screen-length disable
and up to 24 lines are displayed on the next screen.
This command is executed in user view, and only takes
effect for the current user. When the user re-logs into the
switch, the default configuration is restored.
9

Advertisement

Table of Contents
loading

Table of Contents