Default
All protocols are supported.
Views
VTY line view
VTY line class view
Predefined user roles
network-admin
Parameters
: Supports all protocols, including SSH, PAD, and Telnet.
all
: Supports SSH only.
ssh
: Supports Telnet only.
telnet
Usage guidelines
Only users assigned the network-admin, or level-15 user role can execute this command. Other
users cannot execute this command, even if they are granted the right to execute this command.
A configuration change in user line view does not take effect on the current session. It takes effect on
subsequent login sessions.
Before configuring a user line to support SSH, set the authentication mode to
line.
In VTY line view, this command is associated with the
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.
•
If the settings of the two commands in VTY line view are both the default settings, the settings
for the commands in VTY line class view take effect.
•
If the settings of the two commands in VTY line view are both non-default settings, the
non-default settings in VTY line view take effect.
•
If only one command has a non-default setting in VTY line view, the other command uses the
default setting, regardless of the setting in VTY line class view.
Examples
# Enable user lines VTY 0 through VTY 4 to support only SSH.
<Sysname> system-view
[Sysname] line vty 0 4
[Sysname-line-vty0-4] authentication-mode scheme
[Sysname-line-vty0-4] protocol inbound ssh
# Enable SSH support and set the authentication mode to scheme in VTY line class view. Enable
user lines VTY 0 through VTY 4 to support all protocols and disable authentication for the user lines.
<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 4
[Sysname-line-vty0-4] authentication-mode none
To verify the configuration:
1.
Telnet to the device.
<Client> telnet 192.168.1.241
authentication-mode
67
for the user
scheme
command. If you