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

CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
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).
Executing Commands in a Batch

Executing Commands in a Batch

If multiple commands are frequently used consecutively, you can edit these commands to be executed in batches. This simplifies command input and improves efficiency.

Procedure

  • Configure assistant tasks to automatically run commands in a batch at scheduled time.

    You can configure one or more scheduled tasks to realize automatic O&M. The device can then run one or a group of commands at specified time or after a certain delay. Assistant tasks enable the device to complete specified operations or configuration without human intervention. Assistant tasks are usually used for scheduled upgrading or configuration.

    1. Run the system-view command to enter system view.

    2. Run the assistant task task-name command to create an assistant task. You can create a maximum of five assistant tasks.

    3. Run the if-match timer cron seconds minutes hours days-of-month months days-of-week [ years ] command to specify the time when the assistant tasks work.
    4. Run the perform priority batch-file filename command to configure the operations of assistant tasks.

      NOTE:

      By default, the commands listed in the batch file are executed in the system view.

    5. Run the display assistant task history [ task-name ] command to view the operation records of task assistants.

    This function promotes the automatic control and management abilities of the device, reducing power consumption.

Translation
Download
Updated: 2019-08-08

Document ID: EDOC1100034066

Views: 83509

Downloads: 466

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