38
Ste
Command
Remarks
14. Configure common settings for
VTY user interfaces.
See "Configuring common
settings for VTY user interfaces
(optional)."
Optional.
The next time you attempt to Telnet to the CLI, you must provide the configured login username and
password, as shown in Figure 14. If y
ou are required to pass a second authentication, you must also
provide the correct password to access the CLI. If the maximum number of login users has been reached,
your login attempt fails and the message "All user interfaces are used, please try later!" appears.
Figure 14 Scheme authentication interface for Telnet login
Configuring common settings for VTY user interfaces (optional)
You might be unable to access the CLI through a VTY user interface after configuring the auto-execute
command command on it. Before you configure the command and save the configuration, make sure you
can access the CLI through a different user interface.
To configure common settings for VTY user interfaces:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter one or multiple VTY user
interface views.
user-interface vty first-number
[ last-number ]
N/A
3. Enable the terminal service.
shell
Optional.
By default, terminal service is
enabled.
4. Enable the user interfaces to
support Telnet, SSH, or both of
them.
protocol inbound { all | ssh |
telnet }
Optional.
By default, both Telnet and SSH
are supported.
The configuration takes effect the
next time you log in.
5. Define a shortcut key for
terminating tasks.
escape-key { default |
character }
Optional.
By default, pressing Ctrl+C
terminates a task.