beautypg.com

Length – Allied Telesis AT-8100 Series User Manual

Page 106

background image

Chapter 4: Basic Command Line Management Commands

106

LENGTH

Syntax

length

value

Parameters

value

Specifies the maximum number of lines that the SHOW commands
display at one time on the screen. The range is 0 to 512 lines. Use
the value 0 if you do not want the SHOW commands to pause.

Mode

Console Line and Virtual Terminal Line modes

Description

Use this command to specify the maximum number of lines the SHOW
commands display at one time on the screen during local or remote
management sessions. You can set different values for the local and
remote management methods. To set this parameter for local
management sessions, enter the command in the Console Line mode. To
set this parameter for the ten VTY lines for remote Telnet and SSH
sessions, enter the same command in the Virtual Terminal Line modes.
Each VTY line can have a different setting.

The default value is 20 lines for the console port. For the VTY lines, the
default value is negotiated with the VTY ports.

Examples

This example sets the maximum number of lines to 25 for local
management sessions:

awplus> enable
awplus# configure terminal
awplus(config)# line console 0
awplus(config-line)# length 25

This example sets the maximum number of lines to 15 for VTY line 0:

awplus> enable
awplus# configure terminal
awplus(config)# line vty 0
awplus(config-line)# length 15