[Input mode]
global configuration mode
[Description]
After enabling the specified VTY ports, moves to line mode for making VTY port settings.
If this command is executed with the "no" syntax, the specified VTY ports are disabled.
If you specify
port2
, a range of ports is specified; all VTY ports from
port1
through
port2
are specified.
port2
must be a number
greater than
port1
.
[Note]
The maximum number of simultaneous Telnet client connections depends on the number of VTY ports that are enabled.
To return from line mode to global configuration mode, use the
exit
command. To return to priviledged EXEC mode, use the
end
command.
[Example]
Enable VTY port #0 and then move to line mode.
SWR2311P(config)#line vty 0
SWR2311P(config-line)#
4.7.3 Set terminal login timeout
[Syntax]
exec-timeout
min
[
sec
]
no
exec-timeout
[Parameter]
min
:
<0-35791>
Timeout time (minutes)
sec
:
<0-2147483>
Timeout time (seconds)
[Initial value]
exec-timeout 10
[Input mode]
line mode
[Description]
Sets the time after which automatic logout occurs if there has been no key input from the console terminal or VTY.
If
sec
is omitted, 0 is specified. If
min
and
sec
are both set to 0, automatic logout does not occur.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
After this command is executed, the setting is applied starting at the next login.
[Example]
Set the console timeout time to five minutes.
SWR2311P(config)#line con 0
SWR2311P(config-line)#exec-timeout 5 0
SWR2311P(config-line)#
4.7.4 Change the number of lines displayed per page for the terminal in use
[Syntax]
terminal
length
line
terminal
no
length
[Parameter]
line
:
<0-512>
Number of lines displayed per page on the terminal
44
| Command Reference | Maintenance and operation functions