3com 8807 Reference Guide

Page of 1099
44
C
HAPTER
 2: C
OMMANDS
 U
SED
 
TO
 L
OG
 
IN
 
TO
 S
WITCH
interfaces, such as the AUX port and VTY interface, are configured for local 
password authentication, users cannot log in to the system without a password.
Example
# Configure local password authentication.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] user-interface aux 0
 
[3Com-ui-aux0] authentication-mode password 
auto-execute command
Syntax
auto-execute command text
undo auto-execute command
View
User interface view
Parameter
text: Specifies the command to be run automatically.
Description
Use the auto-execute command command to configure to automatically run a 
specified command. When a user logs in, the command configured will be 
executed automatically. The user will be disconnected after that.
Use the undo auto-execute command command to configure not to run the 
command automatically.
This command is usually used to configure the telnet command on the terminal, 
which will connect the user to a designated device automatically.
By default, auto run is disabled.
CAUTION:
If you execute this command, the user-interface can no longer be used to 
perform routine configurations on the local system. Therefore use caution 
when using this command.
Ensure that you will be able to log in to the system in some other way to cancel 
the configuration, before you configure the auto-execute command 
command and save the configuration.
Example
# Configure to automatically execute telnet 10.110.100.1 after the user logs in 
via VTY 0.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] user-interface vty 0
 
[3Com-ui-vty0] auto-execute command telnet 10.110.100.1