3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring the auto-execute Command 47
n
The above configuration takes effect only for the AUX and VTY ports working in
flow mode.
Configuring the
auto-execute
Command
With the auto-execute command command enabled, the system automatically
executes the configured command when you log in. After the command is
completed or after the tasks triggered by the command are completed, the
connection breaks automatically.
This command is normally used to configure the Telnet command to enable you to
connect to the specified host automatically.
Follow these steps to configure auto-execute command:
The auto-execute command command is supported on all types of user
interfaces except the Console port and the AUX port functioning as the console
port.
c
CAUTION: The auto-execute command command may disable you from
configuring the system through the terminal line to which the command is
applied. Therefore, before configuring the command and saving the configuration
(using the save command), make sure that you can access the system by other
means to remove the configuration in case a problem occurs.
Configuring User
Privilege Level
You can restrict a user to use only a subset of all the system commands through
settings on two aspects: user interface level and user level.
■ If username and password are needed in the configured authentication mode,
the user privilege level is defined by the user level. For SSH users, when they
use RSA public key authentication, their privilege level is defined by the level
configured on the user interface.
■ If no authentication is adopted or the password authentication is adopted, the
user privilege level is defined by the user interface level used when login.
■ If the setting of user interface level is inconsistent with that of the user level,
the user level applies. For example, if user1 can use level 3 commands, and the
user interface VTY0 can use level 2 commands, then user1 can use commands
of level 3 or a lower level when logging onto the system through VTY0.
Setting of the user level: Use the local-user command in system view to create a
user and enter local user view, in which use the level command to specify the user
level. For the detailed description of the local-user and level commands, refer to
“Configuring Local User Attributes” on page 895.
To do... Use the command... Remarks
Enter system view system-view --
Enter user interface view user-interface { first-num1 [
last-num1 ] | { aux | vty }
first-num2 [ last-num2 ] }
--
Configure the command to be
automatically executed
auto-execute command
command
Required
No command is set to be
automatically executed by
default.