2366
C
156: C
HAPTER
ONFIGURATION
Related command:
Example
startup saved-configuration
Syntax
View
Parameter
F
M
C
ILE
ANAGEMENT
OMMANDS
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.
reset saved-configuration, display current-configuration on page 2412,
display saved-configuration.
# 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 cfgfile [ backup | main ]
undo startup saved-configuration
User view
cfgfile: Configuration file name.
backup: Sets the configuration file as backup configuration file.
main: Sets the configuration file as main configuration file.