F3215-HP Load Balancing Module System Management Command Reference-6PW101

140
Usage guidelines
Before restoring the configuration file for the next startup, make sure the server is reachable, the server is
enabled with TFTP service, and you have read and write permissions.
This command provides an easy approach to configuration file restoration by automatically performing
all operations required for restoring the next-startup configuration file.
Examples
# Download the configuration file test.cfg from the TFTP server at 2.2.2.2, and specify the file as the
startup configuration file for the next startup.
<Sysname> restore startup-configuration from 2.2.2.2 test.cfg
Restore next startup-configuration file from 2.2.2.2. Please wait..............
finished!
save
Use save file-url to save the running configuration to a configuration file, without specifying the file as a
next-startup configuration file.
Use save [ safely ] [ force ] to save the running configuration to the root directory of the storage medium,
and specify the file as a next startup configuration file.
Syntax
save file-url
save [ safely ] [ force ]
Views
Any view
Default command level
2: System level
Parameters
file-url: Specifies a file path, where the file extension must be .cfg.
safely: Saves the configuration file in safe mode. If this keyword is not specified, the system saves the
configuration file in fast mode. Safe mode is slower than fast mode, but 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. In fast mode, the device 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.
force: Saves the running configuration to the next-startup configuration file already specified in the system.
Without this keyword, the system asks you to confirm your operation. If you do not confirm your operation
within 30 seconds, the system automatically aborts the operation. If you enter Y within the time limit, you
can continue the save process and change the next-startup configuration file during this process.
Usage guidelines
If the file specified for file-url does not exist, the system creates the file before saving the configuration.
Examples
# Save the running configuration to the configuration file test.cfg, without specifying the file as the
next-startup configuration file.