77
<Sysname>
authentication-mode
Syntax
authentication-mode
{
none
|
password
|
scheme
}
undo authentication-mode
View
User interface view
Default Level
3: Manage level
Parameters
none
: Performs no authentication.
password
: Performs local password authentication.
scheme
: Performs authorization and authentication of AAA. For more information
about AAA, see
AAA
in the
Security Configuration Guide.
Description
Use the
authentication-mode
command to set the authentication mode when users
log onto the device using the current user interface.
Use the
undo authentication-mode
command to restore the default.
By default, the authentication mode is
password
for VTY and AUX user interfaces and is
none
for console user interface.
Related commands:
set authentication password
.
Examples
Example 1:
Set that no authentication is needed when users use VTY 0 interface to log onto the
device. (This mode may be insecure.)
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] authentication-mode none
Example 2:
Set to use password authentication when users use VTY 0 interface to log onto the
device. The authentication password is
321
.
<Sysname> system-view