A SERVICE OF

logo

2366 CHAPTER 156: CONFIGURATION FILE MANAGEMENT COMMANDS
The reset saved-configuration backup command erases the configuration
file which has the backup attribute only; while for the configuration file which
has both the main and backup attributes, the command erases its backup
attribute.
Related command: reset saved-configuration, display current-configuration on page 2412,
display saved-configuration.
Example # Save the current configuration file to the default directory (main/backup
attribute not supported)
<Sysname> save
The current configuration will be written to the device.
Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cf:/testcfg.cfg]
(To leave the existing filename unchanged, press the enter key):
cf:/testcfg.cfg exists, overwrite?[Y/N]:y
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration cf:/testcfg.cfg. Please wait...
.
Configuration is saved to cf successfully.
<Sysname>
# Save the current configuration to the backup configuration file (main/backup
attribute supported)
<Sysname> save backup
The current configuration will be written to the device.
Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cf:/text.cfg]
(To leave the existing filename unchanged, press the enter key):bb.cfg
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration cf:/bb.cfg. Please wait...
....
Configuration is saved to cf successfully.
<Sysname>
startup saved-configuration
Syntax startup saved-configuration cfgfile [ backup | main ]
undo startup saved-configuration
View User view
Parameter cfgfile: Configuration file name.
backup: Sets the configuration file as backup configuration file.
main: Sets the configuration file as main configuration file.