114
If the file specified by
file-url
does not exist, the system creates the file and then saves the configuration to
the file; if the
all
keyword or
chassis
chassis-number
slot
slot-number
option is not specified, the
configuration is saved to the active MPU of the IRF fabric.
Use the
save
[
safely
] [
force
] command to save the current configuration to the root directory of the
storage media on a member switch, and specify the file as the startup configuration file.
Whether the
save
[
safely
] [
force
] command or the
save
file-url
all
Enter
takes effect on all
the MPUs or on the active MPU of the IRF fabric depends on whether the configuration file auto-save
function is enabled.
Related commands:
display current-configuration
,
display saved-configuration
,
reset
saved-configuration
, and
slave
auto-update
config
.
Examples
1.
In standalone mode
# Save the configuration to the root directories of the storage media on both the active MPU and the
standby MPU, specify the configuration file as the startup configuration file.
<Sysname> display startup
MainBoard:
Current startup saved-configuration file: flash:/startup.cfg
Next startup saved-configuration file: flash:/bb.cfg
Slot 1:
Current startup saved-configuration file: flash:/startup.cfg
Next startup saved-configuration file: flash:/bb.cfg
// The output shows that the startup configuration file for both the active MPU and standby MPU is
bb.cfg
.
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/bb.cfg]
(To leave the existing filename unchanged, press the enter key):vrpcfg.cfg
Validating file. Please wait.....................
The current configuration is saved to the active MPU successfully.
Slot 1:
The current configuration file is saved successfully.
Configuration is saved to device successfully.
<Sysname> display startup
MainBoard:
Current startup saved-configuration file: flash:/startup.cfg
Next startup saved-configuration file: flash:/vrpcfg.cfg
Slot 1:
Current startup saved-configuration file: flash:/startup.cfg
Next startup saved-configuration file: flash:/vrpcfg.cfg
// The output shows that the startup configuration file for both the active MPU and standby MPU is
changed to
vrpcfg.cfg
.
# Save the configuration in the name of
test.cfg
to standby MPU 1 (approach 1)
<Sysname> save test.cfg slot 1
The current configuration will be saved to slot1#flash:/test.cfg. Continue? [Y/N]:y
Now saving current configuration to the device.
Saving configuration slot1#flash:/test.cfg. Please wait...
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...