R3303-HP HSR6800 Routers Fundamentals Configuration Guide

106
If you are specifying the file as a next-startup configuration file, use one of the following methods to save
the configuration:
Fast mode—Use the save command without the safely keyword. In this mode, the router 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. You must re-specify a new startup configuration file
after the device reboots (see "Specifying a configuration file for the next startup")
.
Safe mode—Use the save command with the safely keyword. Safe mode is less fast 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.
Use the safe mode if the power source is not reliable or you are remotely configuring the router.
The configuration file name extension must be .cfg.
To save the running configuration, perform either of the following tasks in any view:
Task Command
Remarks
Save the running configuration to a
configuration file without
specifying the file as a startup
configuration file for the next
startup.
In standalone mode:
save file-url [ all | slot
slot-number ]
In IRF mode:
save file-url [ all | chassis
chassis-number slot
slot-number ]
The save file-url [ slot slot-number ]
command saves the configuration only to
the specified path, regardless of whether
the configuration auto-update function
has been enabled.
Save the running configuration to a
configuration file and specify the
file as a startup configuration file
for the next startup.
save [ safely ] [ backup |
main ] [ force ]
By default, the running configuration is
saved to the current startup configuration
file. You can choose to save the
configuration to a different file as
instructed by the system.
If you execute the save [ safely ]
command without specifying any other
keyword, the command saves the
configuration to the main startup
configuration file.
If the force keyword is not specified, you
may choose to save the configuration to
the current next-startup configuration file
or a new next-startup configuration file.
If the force keyword is specified, the
command saves the configuration to the
current next-startup configuration file.
In standalone mode, if configuration auto-update is enabled, the save file-url all command and the save
[ safely ] [ force ] command save the configuration to both MPUs. If the function is disabled, the
commands save the configuration only to the active MPU.
In IRF mode, if configuration auto-update is enabled, the save file-url all command and the save [ safely ]
[ force ] command save the configuration to all MPUs in the IRF fabric. If the function is disabled, the
commands save the configuration only to the global active MPU.