Line Configuration Mode Commands

The Line Configuration Mode is used to manage the terminal line characteristics for output formatting.


Mode:

Exec > Global Configuration > Line Configuration

configure > line

Entering the above command sequence results in the following prompt:

[local]host_name(config-line)#

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).

default

Restores the default length or width for the output to the display terminal.

Product:

All


Privilege:

Security Administrator, Administrator


Mode:

Exec > Global Configuration > Line Configuration

configure > line

Entering the above command sequence results in the following prompt:

[local]host_name(config-line)#

Syntax
default { length | width }
length | width

length: restores the default value for the number of rows (length) of the output for display.

width: restores the default value for the number of columns (width) of the output for display as the number of characters.


Usage:

Reset the output display properties if they had been changed during a session.


Example:
default length
default width
end

Exits the current configuration mode and returns to the Exec mode.

Product:

All


Privilege:

Security Administrator, Administrator


Syntax
end

Usage:

Use this command to return to the Exec mode.

exit

Exits the current mode and returns to the parent configuration mode.

Product:

All


Privilege:

Security Administrator, Administrator


Syntax
exit

Usage:

Use this command to return to the parent configuration mode.

length

Configures the output for the displays length (number of rows).

Product:

All


Privilege:

Security Administrator, Administrator


Mode:

Exec > Global Configuration > Line Configuration

configure > line

Entering the above command sequence results in the following prompt:

[local]host_name(config-line)#

Syntax
length number
number

Specifies the number of rows (lines) of output that can be displayed at one time for the display (output) terminal. number must be 0 or an integer from 5 through 512, where the special value 0 implies an infinite number of rows.


Usage:

Set the current session’s display terminal has different display characteristics than the defaults. The special infinite value (0) is typically used when logging the output of a session from a remote machine since this will result in no pagination of output.


Example:

The following commands set the length of the display to infinite and 33, respectively.

length 0
length 33
width

Configures the output for the displays width (number of columns/characters wide).

Product:

All


Privilege:

Security Administrator, Administrator


Mode:

Exec > Global Configuration > Line Configuration

configure > line

Entering the above command sequence results in the following prompt:

[local]host_name(config-line)#

Syntax
width number
number

Specifies the number of columns (characters) of output that can be displayed at one time for the display (output) terminal. number must be an integer from 5 through 512.


Usage:

Set the current session’s display terminal has different display characteristics than the defaults.


Example:
width 160