HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

48
Usage guidelines
When the authentication mode is none, any user can log in without authentication. To improve device
security, use the password or scheme authentication mode.
Examples
# Enable the none authentication mode for user line VTY 0.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] authentication-mode none
# Enable password authentication for user line VTY 0 and set the password to 321.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] authentication-mode password
[Sysname-line-vty0] set authentication password simple 321
# Enable scheme authentication for user line VTY 0, set the username to 123 and the password to 321,
and authorize the user to use the Telnet service.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] authentication-mode scheme
[Sysname-line-vty0] quit
[Sysname] local-user 123
[Sysname-luser-123] password simple 321
[Sysname-luser-123] service-type telnet
Related commands
set authentication password
auto-execute command
CAUTION:
A
fter confi
g
urin
g
t
his command for a user line, you might be unable to access the CLI through the user line.
Make sure you can access the CLI through a different user line before you configure this command and
save the configuration.
Use auto-execute command to specify a command that is automatically executed when a user logs in
through the current user line.
Use undo auto-execute command to remove the configuration.
Syntax
auto-execute command command
undo auto-execute command
Default
Command auto-execution is disabled.
Views
User line view, user line class view