Terminal length, Terminal resize, Terminal length terminal resize – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 121

User Access Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
5.35
terminal length
Use the terminal length command to specify the number of rows of output that the
device will display before pausing, for the currently-active terminal only.
Use the terminal no length command to remove the length specified by this command.
The default length will apply unless you have changed the length for some or all lines by
using the
length (asyn) command on page 5.12
.
Syntax
terminal length <length>
terminal no length [<length>]
Mode
User Exec and Privileged Exec
Examples
The following example sets the number of lines to 15.
The following example removes terminal length set previously.
Related Commands
length (asyn)
service terminal-length
terminal resize
terminal resize
Use this command to automatically adjust the number of rows of output on the console,
which the device will display before pausing, to the number of rows configured on the
user’s terminal.
Syntax
terminal resize
Mode
User Exec and Privileged Exec
Usage
When the user’s terminal size is changed, then a remote session via SSH or TELNET adjusts
the terminal size automatically. However, this cannot normally be done automatically for a
serial or console port. This command automatically adjusts the terminal size for a serial or
console port.
Examples
The following example automatically adjusts the number of rows shown on the console:
Related Commands
length (asyn)
service terminal-length
terminal length
Parameter
Description
<length>
<0-512>
Number of rows that the device will display on the
currently-active terminal before pausing.
awplus#
terminal length 15
awplus#
terminal no length
awplus#
terminal resize