When a set of configuration is finished and the expected functions have been achieved, the current configuration file should be saved in the storage device.
If the configuration-file parameter is not specified, the save command saves the current configuration to the next startup configuration file in the storage device. The "Next startup saved-configuration file:" field displayed in the display startup command output indicates the next startup configuration file.
The save configuration-file command, you can save the current configuration to the specified directory of the storage device. Generally, the command does not affect the current startup configuration file. Only if the configuration-file parameter is the same as the directory and name of the configuration file for the next startup, this command can be used as the same as the save command without the configuration-file parameter.
The save all command saves all the current configurations, including the configurations of the boards that are not inserted, to the next startup configuration file .
The save all configuration-file command saves the current configurations to a specified file of the storage device. Generally, running the save all configuration-file command does not affect the current startup configuration file. If the specified configuration-file is the same as the existing configuration file name and the default directory, running the save command has the same effect as running the save all command.
The configuration file must take .cfg or .zip as its extension name, and the system configuration file must be saved under the root directory of the storage device. When the configuration file is saved for the first time, if you do not specify the optional parameter config-filename, the system asks you whether to save the file as "vrpcfg.cfg".
In the process of saving the current configuration file on the master main control board, when the saving is finished, the system prompts whether to save a configuration file of the same name on the slave main control board.
For a non-system administrator to save configuration, the system administrator must run the non-system-admin save enable command to grant the configuration saving permission to the non-system administrator. Otherwise, the system will display a message indicating that the administrator does not have the permission to save the configuration file.
If restoring the configuration data fails, the system records the failure to the log and displays a prompt whether to save the current configuration on the terminal. In this case, you need to select Y/N to check whether to save the current configuration and stop displaying the prompt each time you log in. If you select N, this prompt is displayed each time you log in to the system.
When the system is saving configuration files, other users are not allowed to perform configuration. When the current user is performing configuration, other users are not allowed to save configuration files.
If the configuration file used for the next startup has been specified when you run this command, a message is displayed, including the file name and directory.
# Save the current configuration to the next startup configuration file.
<sysname> save
The current configuration (excluding the configurations of unregistered boards or cards) will be written to the device.
Are you sure to continue?[Y/N] y
Now saving the current configuration to the device.
..................
Info:The current configuration was saved to the masterboard divice successfully
Info:The current configuration was saved to the slaveboard divice successfully
Info: The current configuration was saved to the device successfully.
# Save the current configuration to the next startup configruation file specified.
<sysname> save
The current configuration (excluding the configurations of unregistered boards or cards) will be written to flash:/vrpcfg.zip. Are you sure to continue?[Y/N] y Now saving the current configuration to the slot 17. Info: Save the configuration successfully.