Command Manual (For Soliton) – Login
H3C S3100 Series Ethernet Switches
Chapter 1 Login Commands
1-3
[Sysname] user-interface vty 0
[Sysname-ui-vty0] authentication-mode scheme
[Sysname-ui-vty0] quit
# Specify domain
system
as the default domain, and set the scheme authentication
mode to
local
for the domain.
[Sysname] domain default enable system
[Sysname] domain system
[Sysname-isp-system] scheme local
[Sysname-ui-vty0] quit
# Configure the local authentication username and password.
[Sysname] local-user guest
[Sysname-luser-guest] password simple 123456
[Sysname-luser-guest] service-type telnet level 2
After the configuration, when a user logs in to the switch through VTY0, the user must
enter the configured username and password.
1.1.2 auto-execute command
Syntax
auto-execute command
text
undo auto-execute command
View
VTY user interface view
Parameters
text
: Command to be executed automatically.
Description
Use the
auto-execute command
command to set the command that is executed
automatically after a user logs in.
Use the
undo auto-execute command
command to disable the specified command
from being automatically executed.
By default, no command is configured to be executed automatically after a user logs in.
Normally, the
telnet
command is specified to be executed automatically to enable the
user to Telnet to a specific network device automatically.