Configuring The Auto-Execute Command; Configuring User Privilege Level - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

Configuring the
auto-execute
Command
Configuring User
Privilege Level
n
The above configuration takes effect only for the AUX port or other asynchronous
serial interfaces working in flow mode. For details about asynchronous interface,
refer to
"Asynchronous Serial Interface" on page
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:
To do...
Enter system view
Enter user interface view
Configure the command
to be automatically
executed
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.
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

Configuring the auto-execute Command

Use the command...
system-view
user-interface { first-num1
[ last-num1 ] | { aux | tty | vty }
first-num2 [ last-num2 ] }
auto-execute command
command
99.
Remarks
--
--
Required
No command is set to be
automatically executed by
default.
2159

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents