Save the Configuration
Save the configuration
-
When you make a change to the configuration.
-
To create a backup configuration file before you upgrade the software on the switch.
After you change the configuration, you must save the changes on the device. Save the configuration to a file to retain the configuration settings.
Note that not all CLI commands are included in configuration files. Typical examples include, but are not limited to some operational and security-related commands.
![Note](images/note.png)
Note
When loading large configuration files or large sections of a configuration file, avoid copying and pasting of the files into the console or terminal window as it can lead to the loss of configuration. You must either source the file or boot to the intended configuration file. Sourcing and booting allow for the debug and verification of the configuration file using the boot config flags. For more information about booting, sourcing, and debugging or verification using boot flags, see VOSS CLI Commands Reference.
About this task
File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) support IPv4 and IPv6 addresses.
Procedure
Example
Switch:1> enable
Save the configuration to the default location:
Switch:1# save config
Identify the file as a backup file and designate a location to save the file:
Switch:1# save config backup /usb/PreUpgradeBackup.cfg
Variable Definitions
The following table defines parameters for the save config command.
Variable |
Value |
---|---|
backup WORD<1–99> |
Saves the specified file name and identifies the file as a backup file. WORD<1–99> uses one of the following format:
The file name, including the directory structure, can include up to 99 characters. |
file WORD<1–99> |
Specifies the file name in one of the following format:
The file name, including the directory structure, can include up to 99 characters. |
verbose |
Saves the default and current configuration. If you omit this parameter, the command saves only parameters you change. |