D-Link DGS-3630-52PC WEB Reference Guide - Page 35

terminal length

Page 35 highlights

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide 3-11 terminal length The command is used to configure the number of lines displayed on the screen. The terminal length command will only affect the current session. The terminal default length command will set the default value but it doesn't affect the current session. The newly created, saved session terminal length will use the default value. Use the no form of this command to revert to the default setting. terminal length NUMBER no terminal length terminal length default NUMBER no terminal length default Parameters NUMBER Specifies the number of lines to display on the screen. This value must be between 0 and 512.When the terminal length is 0, the display will not stop until it reaches the end of the display. Default By default, this value is 24. Command Mode Use the User/Privileged EXEC Mode for the terminal length command. Use the Global Configuration Mode for the terminal length default command. Command Default Level Level: 1 (for the terminal length command). Level: 12 (for the terminal length default command). Usage Guideline When the terminal length is 0, the display will not stop until it reaches the end of the display. If the terminal length is specified to a value other than 0, for example 50, then the display will stop after every 50 lines. The terminal length is used to set the number of lines displayed on the current terminal screen. This command also applies to Telnet and SSH sessions. Valid entries are from 0 to 512. The default is 24 lines. A selection of 0's instructs the Switch to scroll continuously (no pausing). Output from a single command that overflows a single display screen is followed by the --More-- prompt. At the -More-- prompt, press CTRL+C, q, Q, or ESC to interrupt the output and return to the prompt. Press the Spacebar to display an additional screen of output, or press Return to display one more line of output. Setting the screen length to 0 turns off the scrolling feature and causes the entire output to display at once. Unless the default keyword is used, a change to the terminal length value applies only to the current session. When using the no form of this command, the number of lines in the terminal display screen is reset to 24. The terminal length default command is available in the global configuration mode. The command setting does not affect the current existing terminal sessions but affects the new terminal sessions that are activated later. Only the default terminal length value can be saved. Example This example shows how to change the lines to be displayed on a screen to 60. Switch# terminal length 60 Switch# 33

  • 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
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide
33
3-11
terminal length
The command is used to configure the number of lines displayed on the screen. The
terminal length
command
will only affect the current session. The
terminal default length
command will set the default value but it doesn’t
affect the current session. The newly created, saved session terminal length will use the default value. Use the no
form of this command to revert to the default setting.
terminal length
NUMBER
no terminal length
terminal length default
NUMBER
no terminal length default
Parameters
NUMBER
Specifies the number of lines to display on the screen. This value must be
between 0 and 512.When the terminal length is 0, the display will not stop until it
reaches the end of the display.
Default
By default, this value is 24.
Command Mode
Use the User/Privileged EXEC Mode for the
terminal length
command.
Use the Global Configuration Mode for the
terminal length default
command.
Command Default Level
Level: 1 (for the
terminal length
command).
Level: 12 (for the
terminal length default
command).
Usage Guideline
When the terminal length is 0, the display will not stop until it reaches the end of the display.
If the terminal length is specified to a value other than 0, for example 50, then the display will stop after every 50
lines. The terminal length is used to set the number of lines displayed on the current terminal screen. This
command also applies to Telnet and SSH sessions. Valid entries are from 0 to 512. The default is 24 lines. A
selection of 0's instructs the Switch to scroll continuously (no pausing).
Output from a single command that overflows a single display screen is followed by the
--More--
prompt. At the
--
More--
prompt, press CTRL+C, q, Q, or ESC to interrupt the output and return to the prompt. Press the Spacebar
to display an additional screen of output, or press Return to display one more line of output. Setting the screen
length to 0 turns off the scrolling feature and causes the entire output to display at once. Unless the
default
keyword is used, a change to the terminal length value applies only to the current session. When using the no form
of this command, the number of lines in the terminal display screen is reset to 24.
The
terminal length default
command is available in the global configuration mode. The command setting does
not affect the current existing terminal sessions but affects the new terminal sessions that are activated later. Only
the default terminal length value can be saved.
Example
This example shows how to change the lines to be displayed on a screen to 60.
Switch# terminal length 60
Switch#