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

Fat AP and Cloud 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).
save

save

Function

The save command saves the configurations to the default directory.

Format

save [ all ] [ configuration-file ]

Parameters

Parameter Description Value
all Indicates that all configurations are saved, including the configurations of the boards that are not running. -
configuration-file Specifies the name of a configuration file. The value is a string of 5 to 64 case-sensitive characters without spaces.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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 take effect after a restart, save the current configuration in the configuration file before restarting the device.

When a series of configurations are complete and take effect, you must save the current configuration file to the storage device.

The save configuration-file command saves the current configuration to a specific file on the storage device. Generally, running the save configuration-file command does not affect the current startup configuration file. If the configuration file specified by configuration-file has the same name with the current configuration file and the default directory is used, running the save configuration-file command is equivalent to running the save command.

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

The save all configuration-file command saves the current configuration to a specific file on the storage device. Generally, running the save all configuration-file command does not affect the current startup configuration file. If the configuration file specified by configuration-file has the same name with the current configuration file and the default directory is used, running the save all configuration-file command is equivalent to running the save all command.

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.

Precautions

  • If you do not specify configuration-file, configurations are saved to the next startup configuration file. You can run the display startup command to check the name of the next startup configuration file.
  • If the configuration file to be saved using this command has the same name with the existing configuration file, the existing configuration file is rewritten.

  • The configuration file name extension must be .zip or .cfg.
    • .cfg: The file is saved in plain text mode. After the file is specified as the configuration file, all commands in the file are recovered one by one during startup.
    • .zip: The .cfg file is compressed to a .zip file that occupies less space. After being specified as the configuration file, the .zip file is decompressed to the .cfg file and all commands in the .cfg file are recovered one by one during startup.

Example

# Save the current configuration file to the default directory.

<Huawei> save
The current configuration will be written to the device.                      
  Are you sure to continue? (y/n)[n]:y                                          
  It will take several minutes to save configuration file, please wait........  
  Configuration file had been saved successfully                                
  Note: The configuration file will take effect after being activated
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 199111

Downloads: 122

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