terminal
Required Command-Line Mode = Configure
Use the terminal command to resize the terminal output to specified dimensions.
Note: The functionality provided by the terminal command is also available with cli.
The terminal command has the following syntax:
terminal
length <number of lines>
resize
type <ansi | console | dumb | linux | screen | vt52 | vt100 | vt102 | vt220 | xterm>
width <number of characters>
The following table describes the arguments for the terminal command:
Argument |
Description |
length <number of lines> |
Specifies an override of the auto-detected length of the terminal. Specify the length in number of lines. For example: (config) # terminal length 80 |
resize |
Specifies a reset of the terminal dimensions to the current window. For example: (config) # terminal resize |
type <ansi | console | dumb | linux | screen | vt52 | vt100 | vt102 | vt220 | xterm> |
Sets the terminal dimensions to a specific terminal type. For example: (config) # terminal type xterm |
width <number of characters> |
Specifies an override of the auto-detected width of the terminal. Specify the width in number of characters.For example: (config) # terminal width 40 |
Related Commands
The following table summarizes other commands related to the terminal command:
Task |
Command |
Displays terminal parameters. |
# show terminal |
Clears the terminal type. |
(config) # no terminal type |