Backup Startup-Configuration - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Before executing this command, configure the path and filename prefix of a saved configuration file by
using the archive configuration location command; otherwise, the execution of this command fails.
Note that, if the undo archive configuration location command is executed, the maximum number of
configuration files that can be saved also restores to the default.
Examples
# Set the maximum number of configuration files that can be saved to 10.
<Sysname> system-view
[Sysname] archive configuration max 10

backup startup-configuration

Syntax
backup startup-configuration to dest-addr [ dest-filename ]
View
User view
Default Level
2: System level
Parameters
dest-addr: IP address or name of a TFTP server. The address cannot be an IPv6 address.
dest-filename: Target filename used to save the startup configuration file for the next system startup on
the server.
Description
Use the backup startup-configuration command to back up the startup configuration file (used at the
next system startup) to a specified TFTP server. If you do not specify this filename, the original
filename is used.
For a device that has main and backup startup configuration files, this command only backs up the
main startup configuration file.
Presently, the device uses TFTP to back up configuration files.
Examples
# Back up the startup configuration file of the device to the TFTP server with IP address 2.2.2.2, using
filename 192-168-1-26.cfg.
<Sysname> display startup
Current startup saved-configuration file: flash:/sfp.cfg
Next main startup saved-configuration file: flash:/sfp.cfg
Next backup startup saved-configuration file: NULL
<Sysname> backup startup-configuration to 2.2.2.2 192-168-1-26.cfg
Backup next startup-configuration file to 2.2.2.2, please wait...finished!
<Sysname>
After the above operation, the device backs up file sfp.cfg to TFTP server 2.2.2.2, where the file is
saved as 192-168-1-26.cfg.
5-19

Advertisement

Table of Contents
loading

Table of Contents