| Parameter | Description | Value |
|---|---|---|
all |
Saves all configurations, including the configurations of the boards that have not been inserted, to the next startup configuration file of the system. |
- |
vsys vsys-name |
Specifies the name of virtual system. |
The value is a string of 1 to 31 characters, starting with letters. The value cannot contain any space, @, * or hyphen (-) and is case sensitive. |
configuration-file |
Specifies the name of a configuration file. |
The file name is case-insensitive, special characters (~/|\*:'"?) and spaces not supported. The value is a string of 5 to 48 characters, including a path. If no path is specified, the configuration file is saved in the default path. |
Usage Scenario
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 [ all ] 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 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. The default directory is 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".
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.
Precautions
# 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.