Reference v4.1.0 Instruction Manual

Network OS Command Reference 1309
53-1003115-01
terminal
2
terminal
Sets terminal parameters for the current session.
Synopsis terminal [length number_of_lines] [monitor] [timeout value]
no terminal [length] [monitor] [timeout]
Operands length number_of_lines
Specifies the number of lines to be displayed. Valid values range from 1
through 512. Specify 0 for infinite length.
monitor Enables terminal monitoring.
timeout value Specifies the timeout value in minutes. Valid values range from 0
through 136. Specify 0 to disable timeout.
Defaults The default for length is 24.
Command Modes Privileged EXEC mode
Description Use this command to control terminal parameters for the current session. This command
overrides the timeout configuration set by the line vty exec-timeout command, but only for the
duration of the current session. When the current session ends, the configured values apply for
any subsequent sessions.
Usage Guidelines This command is supported only on the local switch.
This command is not available on the standby management module.
Enter no terminal (optionally with a specific parameter) to restore the current terminal settings to
default.
Examples To set the display length to 30 lines:
switch# terminal length 30
To set the timeout length to 60 minutes:
switch# terminal timeout 60
To restore all settings to default values:
switch# no terminal
To restore only the timeout setting to its default values:
switch# no terminal timeout
See Also line vty exec-timeout