terminal (user and privi exec modes)

Sets the length and width of the CLI display window on a terminal
Note

Note

This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.

Supported in the following platforms:

Syntax

terminal [length|width] <0-512>

Parameters

terminal [length|width] <0-512>
length <0-512> Sets the number of lines displayed on a terminal window
  • <0-512> – Specify a value from 0 - 512.
width <0-512> Sets the width (the number of characters displayed) of the terminal window
  • <0-512> – Specify a value from 0 - 512.

Examples

NOC-NX9500#show terminal
Terminal Type: xterm
Length: 24     Width: 80
NOC-NX9500#
NOC-NX9500#terminal length 30
NOC-NX9500#terminal width 100
NOC-NX9500#show terminal
Terminal Type: xterm
Length: 30     Width: 100
NOC-NX9500#

Related Commands

no (user-exec-mode) Resets the width or length of the terminal window
no (priv-exec-mode) Resets the width or length of the terminal window