R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

53
Related commands: display current-configuration, display saved-configuration, and reset
saved-configuration.
Examples
# Save the current configuration file to the specified directory, but do not specify the configuration file as
the startup configuration file to be used at the next startup.
<Sysname> save test.cfg
The current configuration will be saved to cfa0:/test.cfg. Continue? [Y/N]:y
Now saving current configuration to the device.
Saving configuration cfa0:/test.cfg. Please wait...
............
Configuration is saved to cfa0 successfully.
# Save the current configuration file to the root directory of the storage media, and specify the
configuration file as the startup configuration file to be used at the next startup.
<Sysname> display startup
Current startup saved-configuration file: cfa0:/hmr.cfg
Next startup saved-configuration file: cfa0:/aa.cfg
// The output shows that the main startup configuration file to be used at the next system startup is
aa.cfg
.
<Sysname> save
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/aa.cfg]
(To leave the existing filename unchanged, press the enter key):startup.cfg
Validating file. Please wait............
Configuration is saved to device successfully.
<Sysname> display startup
Current startup saved-configuration file: cfa0:/hmr.cfg
Next startup saved-configuration file: cfa0:/startup.cfg
// The output shows that the startup configuration file to be used at the next system startup is changed
to
startup.cfg
.