HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 16

Controlling the CLI output, Pausing between screens of output, Output controlling keys

Page 16 highlights

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 "Output controlling keys" to display more information or stop the 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 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. Disabling pausing between screens of output To disable pausing between screens of output, execute the following command in user view: Task Command Disable pausing between screens of output for the current session. screen-length disable 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. 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. Command display command | by-linenum 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

9
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 "
Output controlling keys
" to display more information or stop the
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
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 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.
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
Command
Number each output line from a
display
command.
display
command
|
by-linenum