
9-11
[Sysname-luser-test] password cipher 123
[Sysname-luser-test] service-type telnet
After the above configuration, when users telnet to the device through VTY 1, they need to input
username
test
and password
123
. After passing the authentication, users can only use the commands
of level 0. If the users need to use commands of levels 0, 1, 2 and 3, the following configuration is
required:
[Sysname-luser-test] authorization-attribute level 3
3) Configure the user privilege level under a user interface
If the user interface authentication mode is
scheme
when a user logs in, and SSH
publickey
authentication type (only username is needed for this authentication type) is adopted, then the user
privilege level is the user interface level; if a user logs in using the
none
or
password
mode (namely,
no username is needed), the user privilege level is the user interface level.
Follow these steps to configure the user privilege level under a user interface (SSH
publickey
authentication type):
To do…
Use the command…
Remarks
Configure the authentication
type for SSH users as
publickey
For the details, refer to
SSH2.0
Configuration
in the
Security
Volume
.
Required if users adopt the
SSH login mode, and only
username, instead of password
is needed at authentication.
After the configuration, the
authentication mode of the
corresponding user interface
must be set to
scheme
.
Enter system view
system-view
—
Enter user interface view
user-interface
[
type
]
first-number
[
last-number
]
—
Configure the authentication
mode when a user uses the
current user interface to log in
to the device
authentication-mode
scheme
[
command-authorization
]
Optional
By default, the authentication
mode for VTY and AUX user
interfaces is
password
.
Configure the privilege level of
the user logging in from the
current user interface
user privilege level
level
Optional
By default, the user privilege
level for users logging in from
the console user interface is 3,
and that for users logging from
the other user interfaces is 0.
Follow these steps to configure the user privilege level under a user interface (
none
or
password
authentication mode):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter user interface view
user-interface
[
type
]
first-number
[
last-number
]
—
Configure the authentication
mode when a user uses the
current user interface to log in
to the device
authentication-mode
{
none
|
password
}
Optional
By default, the authentication
mode for VTY and AUX user
interfaces is
password
.
Содержание 4510G
Страница 502: ...4 8 ...
Страница 1010: ...18 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found ...