R0106-HP MSR Router Series Fundamentals Command Reference(V7)
64
pad: Supports PAD only.
ssh: Supports SSH only.
telnet: Supports Telnet only.
Usage guidelines
This configuration is effective only for a user who logs in through the user line after the configuration is
completed.
Before configuring a user line to support SSH, set the authentication mode to scheme for the user line. For
more information, see authentication-mode.
In VTY line view, this command is associated with the authentication-mode command. If you specify a
non-default value for only one of the two commands in VTY line view, the other command uses the default
setting, regardless of the setting in VTY line class view.
Examples
# Configure user lines VTY 0 through VTY 63 to support only SSH.
<Sysname> system-view
[Sysname] line vty 0 63
[Sysname-line-vty0-63] authentication-mode scheme
[Sysname-line-vty0-63] protocol inbound ssh
# Enable scheme authentication and SSH support in VTY line class view. Then, disable authentication for
all VTY lines in VTY line view.
<Sysname> system-view
[Sysname] line class vty
[Sysname-line-class-vty] authentication-mode scheme
[Sysname-line-class-vty] protocol inbound ssh
[Sysname-line-class-vty] line vty 0 63
[Sysname-line-vty0-63] authentication-mode none
redirect disconnect
Use redirect disconnect to manually terminate redirected Telnet connections.
Syntax
redirect disconnect
Views
AUX line view, TTY line view
Predefined user roles
network-admin
Examples
# Manually terminate the redirected Telnet connection on TTY line 1.
<Sysname> system-view
[Sysname] user-line tty 1
[Sysname-line-tty1] redirect disconnect
redirect enable