Controlling The Cli Output; Pausing Between Screens Of Output; Numbering Each Output Line From A Display Command - HP 6125XLG Configuration Manual

Blade switch fundamentals configuration guide
Table of Contents

Advertisement

Controlling the CLI output

This section describes the CLI output control features that help you identify the desired output.

Pausing between screens of output

The system automatically pauses after displaying a screen if the output is too long to fit on one screen.
You can use the keys described in
display.
By default, up to 24 lines can be displayed on a screen. You can change the maximum number of lines
that can be displayed on a screen by using the screen-length screen-length command. For more
information about this command, see Fundamentals Command Reference.
You can also disable pausing between screens of output for the current session. Then, all output is
displayed at one time and the screen is refreshed continuously until the final screen is displayed.
Output controlling keys
Keys
Space
Enter
Ctrl+C
<PageUp>
<PageDown>
Disabling pausing between screens of output
To disable pausing between screens of output, execute the following command in user view:
Task
Disable pausing
between screens of
output for the current
session.

Numbering each output line from a display command

You can use the | by-linenum option to prefix each display command output line with a number for easy
identification.
To number each output line from a display command:
Task
Number each output line from a display command.
"Output controlling
Function
Displays the next screen.
Displays the next line.
Stops the display and cancels the command execution.
Displays the previous page.
Displays the next page.
Command
screen-length disable
keys" to display more information or stop the
Remarks
The default for a session depends on the setting of the
screen-length command in user interface view. The default of
the screen-length command is pausing between screens of
output and displaying up to 24 lines on a screen.
This command is a one-time command and takes effect only
for the current session.
Command
display command | by-linenum
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents