9 terminal length – CANOGA PERKINS 9175 Command Reference User Manual

Page 40

Advertising
background image

CanogaOS Command Reference

3-6


Examples

In the following example, the quit command is used to move from global configuration mode to

privileged EXEC mode, the disable command is used to move from privileged EXEC mode to user

EXEC mode, and the quit command is used to log off (exit the active session):

Switch(config)# quit

Switch# disable

Switch> quit


Related Commands

exit

3.9 terminal length

To set the number of lines on the current terminal screen for the current session, use the terminal

length command in EXEC mode.

To restore the configuration to the default, use the no form of this

command.


Command Syntax

terminal length screen-length

terminal no length

screen-length

Number of lines on the screen. The value is a number from 0 to 512. A value of

zero disables pausing between screens of output.


Default

Automatically detected by terminal screen length.


Command Mode

EXEC


Usage

The system uses the length value to determine when to pause during multiple-screen output. A value of

zero prevents the switch from pausing between screens of output.

Some types of terminal sessions do not require you to specify the screen length because the screen

length specified can be learned by some remote hosts. For example, the rlogin protocol uses the screen

length to set up terminal parameters on a remote UNIX host.


Examples

In the following example, the system is configured to prevent output from pausing if it exceeds the

length of the screen:

Switch# terminal length 0


Related Commands

service terminal-length

Advertising