Command Reference Guide

22auto-execute command 3Com Router 5000 Family and Router 6000 Family
Command Reference
auto-execute command
Purpose Use the auto-execute command command to set a command to be
automatically executed.
Use the undo auto-execute command command to disable command
auto-execution.
Syntax auto-execute command command
undo auto-execute command
Parameters command
Command to be automatically executed.
Default By default, command auto-execution is disabled.
Example Allow the system to execute the telnet 10.110.100.1 command automatically
after a user logs on from the AUX interface.
[3Com-ui-aux0] auto-execute command telnet 10.110.100.1
View This command can be used in the following views:
User Interface view
Description You should be aware of the following restrictions before using the auto-execute
command command:
You cannot execute the auto-execute command command on the console
port.
When the AUX port on your router functions as the console port, you cannot
execute the auto-execute command on it.
These restrictions do not apply to other types of user interfaces.
When the user logs on from this interface, the system automatically executes the
command configured using the auto-execute command command and
disconnects the user connection after completing execution.
A good example is configuring the auto-execute command telnet command
to have users telnet to the specified host automatically.