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).
Saving the Configuration File

Saving the Configuration File

Context

You can run commands to modify the current configuration of the device, but the modified configuration will be lost after the device restarts. To enable the new configuration to still take effect after a restart, save the current configuration in the configuration file before restarting the device. Use either of the following methods to save the current configuration:
  • Configure the automatic save function.
  • Manually save the configuration.

Procedure

  • Save the configurations automatically.

    If an interface board is not running, related configurations may be lost when the system automatically saves the configuration file.

    The autosave interval command cannot be used together with the autosave time command.

    • Run autosave interval value

      Automatic saving of configurations is enabled.

      By default, automatic saving of configurations is disabled. The value parameter can be set to on or off. The value on enables automatic saving of configurations, and the value off disables this function.

    • Run autosave interval { time | configuration time }

      The system is configured to save the configurations at a specified interval.

      If interval time is specified, the system saves the configurations at the specified interval regardless of whether the configuration is changed.
      • The default interval is 0 seconds, indicating that the system does not save the configurations automatically.
      • After the automatic save function is enabled, the default interval is 30 minutes if time is not specified.
    • Run autosave time { value | time-value }

      The system is configured to save the configurations at a specified time.

      When the automatic save function is enabled, the modified configuration is saved at the specified time. When the automatic save function is disabled, the system does not save the configurations automatically and you need to manually save the modified configuration.

    In automatic save mode, the system automatically saves configurations to the current startup configuration file. You can run the display startup command to check the name of the current startup configuration file.

  • Save the configurations manually.

    • Run save [ all ] [ configuration-file ]

      The current configuration is saved.

      The configuration file name extension must be .zip or .cfg. The system startup file must be stored in the root directory of the storage device.

      Run the save all command to save all the current configurations, including the configurations of the boards that are not running, to the current storage directory.

      • If you do not specify configuration-file when saving the configuration file for the first time, the system asks you whether to save the configuration file as vrpcfg.zip.
      • If you do not specify configuration-file, configurations are saved to the current startup configuration file. You can run the display startup command to check the name of the current startup configuration file.
      • You can run the pwd (user view) command in the user view to check the current storage directory.
      • You can run the cd (user view) command in the user view to modify the current storage directory.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 88266

Downloads: 486

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