58
Step
Command
Remarks
2.
Enter VTY line view or
class view.
•
Enter VTY line view:
line vty
first
-
number
[
last-number
]
•
Enter VTY line class
view:
line class vty
A setting in user line view applies only to the
user line. A setting in user line class view
applies to all user lines of the class.
A non-default setting in either view takes
precedence over a default setting in the other
view. A non-default setting in user line view
takes precedence over a non-default setting in
user line class view.
A setting in user line class view does not take
effect for current online users. It takes effect
only for new login users.
3.
Enable the terminal
service.
shell
By default, the terminal service is enabled on all
user lines.
4.
Specify the supported
protocols.
protocol inbound
{
all
|
ssh
|
telnet
}
By default, Telnet and SSH are supported.
A protocol change does not take effect for
current online users. It takes effect only for new
login users.
In VTY line view, this command is associated
with the
authentication-mode
command. If
you specify a non-default value for one of the
two commands, the other command uses the
default setting, regardless of the setting in VTY
line class view.
5.
Specify the shortcut
key for terminating a
task.
escape-key
{
character
|
default
}
The default setting is
Ctrl+C
.
6.
Set the user line
locking key.
lock-key key-string
By default, no user line locking key is set.
7.
Specify the terminal
display type.
terminal type
{
ansi
|
vt100
}
The default terminal display type is ANSI.
8.
Set the maximum
number of lines of
command output to
send to the terminal at
a time.
screen-length
screen-length
By default, the device sends up to 24 lines to
the terminal at a time when pausing between
screens of output is enabled.
To disable pausing between screens of output,
set the value to 0.
9.
Set the size for the
command history
buffer.
history-command
max-size value
The default size is 10 history commands.
10.
Set the CLI
connection
idle-timeout timer.
idle-timeout minutes
[
seconds
]
By default, the CLI connection idle-timeout
timer is 10 minutes.
If no interaction occurs between the device and
the user within the idle-timeout interval, the
system automatically terminates the user
connection on the user line.
If you set the timeout timer to 0, the connection
will not be aged out.
11.
Specify the command
to be automatically
executed for login
users on the user
lines.
auto-execute command
command
By default, no command is specified for auto
execution.
IMPORTANT:
Before you configure this command and save
the configuration, make sure you can access
the CLI to modify the configuration through
other VTY user lines or AUX user lines.
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...