R3303-HP HSR6800 Routers Fundamentals Command Reference
111
If the directory has a configuration file with the same name as the restored configuration file, the restored
configuration file will overwrite that configuration file.
Examples
# In standalone mode, download the configuration file config.cfg from the TFTP server at 2.2.2.2, and
specify the file as the main next-startup configuration file.
<Sysname>restore startup-configuration from 2.2.2.2 config.cfg
Restore next startup-configuration file from 2.2.2.2. Please wait...finished!
Now restore next startup-configuration file from main to slave board. Please
wait...finished!
# In IRF mode, download the configuration file config.cfg from the TFTP server at 2.2.2.2, and specify the
file as the main next-startup configuration file.
<Sysname> restore startup-configuration from 2.2.2.2 config.cfg
Restore next startup-configuration file from 2.2.2.2. Please wait...finished!
Now restore next startup-configuration file from main to slave board. Please
wait...finished!
save
Use save to save the running configuration.
Syntax
In standalone mode:
save file-url [ all | slot slot-number ]
save [ safely ] [ backup | main ] [ force ]
In IRF mode:
save file-url [ all | chassis chassis-number slot slot-number ]
save [ safely ] [ backup | main ] [ force ]
Views
Any view
Default command level
2: System level
Parameters
file-url: Saves the running configuration to the specified file, without specifying the file as a next-startup
configuration file. The file name must use the extension .cfg and can include path information. If the
keyword all or an MPU slot is specified, the file path cannot include a member ID or slot number. If the
file path includes a folder name, the folder must already exist.
all: Saves the running configuration to both active and standby MPUs. (In standalone mode.)
all: Saves the running configuration to all MPUs. (In IRF mode.)
slot slot-number: Saves the running configuration to the standby MPU. To save the running configuration
only to the active MPU, do not specify this option or the all keyword. (In standalone mode.)
chassis chassis-number slot slot-number: Saves the running configuration to a standby MPU. To save the
running configuration only to the global active MPU, do not specify this option or the all keyword. (In IRF
mode.)