Auto-Execute Command; Command-Privilege Level - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - Getting Started
Quidway S2000 Series Ethernet Switches

1.1.2 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
Using auto-execute command command, you can 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. Using undo auto-execute
command command, you can 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:
1) 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.
2) Ensure that you will be able to log into 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 telnet 10.110.100.1 after the user logs in via VTY 0.
[Quidway-ui-vty0] auto-execute command telnet 10.110.100.1

1.1.3 command-privilege level

Syntax
command-privilege level level view view command
undo command-privilege view view command
Chapter 1 Logging in Ethernet Switch Commands
1-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents