This command configures the periodic auto-save of the currently running switch configuration.
automatic | Configures auto-save of system configuration. |
every | Sets the switch configuration to be saved at the designated recurrent intervals. |
minutes | Designates the auto-save interval in minutes with a range of 2–1,440 minutes (default is two minutes). |
primary | Designates the primary configuration file for saving. |
secondary | Designates the secondary configuration file for saving. |
existing-config | Name of the existing configuration file name. |
new-config | New configuration file name. |
never | Turns off auto-save feature (default is turned off). |
By default, auto-save is turned off.
If you do not select a time interval for saving, the default is two minutes.
By default, the configuration is saved to the file specified in the Config Automatic field of the show switch command output. If no value appears in this field, the configuration is saved to the file specified in the Config Selected field of the show switch command. If no value appears in this field either, the configuration is saved to autosave.cfg.
The auto-save features is turned off by default. To turn on the auto-save feature, use the command save configuration automatic (to accept the default two-minute save interval) or save configuration automatic every minutes (to specify the auto-save interval). The message Do you want to auto-save configuration to primary.cfg and overwrite it? (y/N) appears. Select "yes" to enable the auto-save to the primary.cfg file. Selecting "no" cancels the command.
To turn off auto-save, use the command save configuration automatic never.
If you want to specify a different file to save the configuration to (than the default primary.cfg), use the command save configuration automatic {every minutes {primary | secondary | existing-config | new-config}}, specifying an auto-save interval and configuration file name.
To see the current status of the auto-save feature, use the command show switch.
The following example turns on auto-save, accepting the default auto-save interval (two minutes) and the default configuration file (primary.cfg):
save configuration automatic
show switch ... Config Selected: primary.cfg Config Booted: primary.cfg Config Automatic: primary.cfg primary.cfg Created by ExtremeXOS version 22.2.0.16 344404 bytes saved on Tue Jan 17 11:17:56 2017 Auto-saved every 2 minutes. Next periodic save on Tue Jan 17 14:45:33 2017
The following example turns off auto-save:
save configuration automatic never
show switch ... Config Selected: primary.cfg Config Booted: primary.cfg Config Automatic: NONE primary.cfg Created by ExtremeXOS version 22.2.0.16 344404 bytes saved on Tue Jan 17 14:45:33 2017
The following example changes the auto-save interval to five minutes and makes autosave.cfg the file that is saved to:
save configuration automatic every 5 autosave
show switch ... Config Selected: primary.cfg Config Booted: primary.cfg Config Automatic: primary.cfg (Disabled) primary.cfg Created by ExtremeXOS version 22.2.0.16 344404 bytes saved on Tue Jan 17 14:45:33 2017 Auto-save not enabled
This command was first available in ExtremeXOS 22.2.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.