terminal length

Specifies the number of rows on the terminal screen for the current CLI session.

Syntax

[no] terminal length <rows>

Syntax Description

no

(Optional) Sets the terminal length to zero (no pagination).

rows

The number of rows on the terminal screen. Allowed values are 0 to 512.

Defaults

The default is to use the number of rows sent through the terminal protocol in use (if any), otherwise the default is zero.

Usage Guidelines

This command specifies the number of text lines (rows) on the terminal screen, from 0 to 512. If the number of rows is sent by the client over the terminal protocol in use (e.g., ssh or telnet), that value will be used. Otherwise, the number of rows is set to zero, in which case command output will not be pagenated.

Examples

terminal length 24
terminal terminal-type

Last updated