5-19
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
.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...