No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
auto-execute command

auto-execute command

Function

The auto-execute command command configures auto-run commands.

The undo auto-execute command command cancels auto-run commands.

By default, the auto-run function is disabled.

Format

auto-execute command command

undo auto-execute command

Parameters

Parameter Description Value
command Specifies an auto-run command. -

Views

User interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the auto-execute command command to make the device run a command automatically on the corresponding interface.

You can run the auto-execute command command to enable automatic execution for the Telnet command.

Precautions

  • The auto-execute command command is applicable to the VTY user interface.

  • When you log in to the device, the device automatically runs the commands that are configured by the auto-execute command command. The user's terminal disconnects from the device.

  • Before saving the configuration of the auto-execute command command, ensure that you can log in to the device in other ways so that you can cancel the command configuration.

  • If you use the auto-execute command command, you cannot configure the device in the user interface view. Therefore, use this command with caution.

Example

# Configure the telnet 10.110.100.1 command to automatically run after a user logs in to the device using the VTY0 interface.

<Huawei> system-view
[Huawei] user-interface vty 0
[Huawei-ui-vty0] auto-execute command telnet 10.110.100.1 
Warning: The system will not be configured through ui-vty0.Continue? [Y/N]: y
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 92519

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next