Enabling configuration auto-update, Saving configuration by using different methods – H3C Technologies H3C S12500 Series Switches User Manual
Page 110

98
The task described in "
Using automatic configuration backup after a software upgrade
" is automatically
performed the first time you use the save command to save the running configuration to the next-startup
configuration file that contains settings incompatible with the software version after a software upgrade.
Enabling configuration auto-update
In standalone mode:
The configuration auto-update function enables the standby MPU to automatically save the running
configuration as the active MPU does when you execute the save [ safely ] [ force ] command or the save
filename all command. If this function is disabled, only the active MPU saves the configuration.
In IRF mode:
The configuration auto-update function enables all MPUs in the IRF fabric to automatically save the
running configuration as the active MPU on the master device does when you execute the save [ safely ]
[ force ] command or the save filename all command. If this function is disabled, only the active MPU on
the master device saves the configuration.
NOTE:
The save command executed with only the
filename argument saves the running configuration only to the
specified path, regardless of whether the configuration auto-update function has been enabled.
To ensure configuration consistency, H3C recommends enabling the function.
To enable configuration auto-update:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable configuration
auto-update.
slave auto-update config
By default, this function is enabled.
Saving configuration by using different methods
When saving the running configuration to a configuration file, you can specify the file as the next-startup
configuration file.
If you are specifying the file as the next-startup configuration file, use one of the following methods to
save the configuration:
•
Fast mode—Use the save command without the safely keyword. In this mode, the switch directly
overwrites the target next-startup configuration file. If a reboot or power failure occurs during this
process, the next-startup configuration file is lost. You must re-specify a new startup configuration file
after the switch reboots (see "
Specifying a configuration file for the next startup
").
•
Safe mode—Use the save command with the safely keyword. Safe mode is slower than fast mode,
but it is more secure. In safe mode, the system saves configuration in a temporary file and starts
overwriting the target next-startup configuration file after the save operation is complete. If a reboot
or power failure occurs during the save operation, the next-startup configuration file is still retained.
Use the safe mode if the power source is not reliable or you are remotely configuring the switch.
The configuration file extension must be .cfg.
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches