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


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


Configuration Guide - Basic Configuration

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.
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


  • Automatic batch command execution

    Assistant tasks help implement automatic batch command execution. You can create a maximum of five assistant tasks on the device and each assistant task is bound with a batch file. After an execution time is configured, the device automatically executes commands in the batch file one by one. Automatic batch command execution is frequently used for periodic system upgrade or configuration.

    A batch file is a collection of executable commands and the file is in the format of *.bat. When the batch file is processed, commands in the file are executed one by one. Before configuring automatic batch command execution, edit the batch file on the PC and upload the batch file to the device. If the file name extension is not .bat, change it to .bat before you upload the batch file to the device. Alternatively, upload the batch file to the device and then run the rename command to change the file name extension.

    1. Run the system-view command to enter the 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 for performing assistant tasks.
    4. Run the perform priority batch-file filename command to bind the batch file with the assistant task.

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

Updated: 2019-04-04

Document ID: EDOC1100066063

Views: 29812

Downloads: 665

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