R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)

9
By default, up to 24 lines can be displayed on a screen. You can change the limit 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
Ke
y
s Function
Space Displays the next screen.
Enter Displays the next line.
Ctrl+C Stops the display and cancels the command execution.
<PageUp> Displays the previous page.
<PageDown> Displays the next page.
Disabling pausing between screens of output
To disable pausing between screens of output, execute the following command in user view:
Task Command Remarks
Disable pausing
between screens of
output for the current
session.
screen-length disable
The default for a session varies by settings of the
screen-length command in user line view. The default settings
of the screen-length command are 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.
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.
Each line number is displayed as a 5-character string and might be followed by a colon (:) or hyphen (-).
If you specify both | by-linenum and | begin regular-expression for a display command, a hyphen is
displayed for all lines that do not match the regular expression.
To number each output line from a display command:
Task Command
Number each output line from a display command. display command | by-linenum
For example:
# Display information about VLAN 999, numbering each output line.
<Sysname> display vlan 999 | by-linenum
1: VLAN ID: 999
2: VLAN type: Static
3: Route interface: Configured
4: IP address: 192.168.2.1