5-26
filename or backing up the configuration file to the slaves. When backing up the configuration file to the
slaves, the device saves the file to the same directory on the slaves as on the master, that is, the root
directory.
Examples
# Download file
config.cfg
from the TFTP server whose IP address is 2.2.2.2, and the file is to be used
as the main configuration file at the next startup of the device.
<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
Syntax
save
file-url
[
all
|
slot
slot-number
]
save
[
safely
] [
backup
|
main
]
View
Any view
Default Level
2: System level
Parameters
file-url
: File path, where the extension of the file name must be .cfg. When used with the keyword
all
or
slot
, this argument cannot include a member ID. If the file path includes a folder name, you must first
create the folder on the member device; otherwise, the operation will fail.
all
: Saves the current configuration in the specified filename to all the member devices in a stack.
slot slot-number
: Saves the current configuration in the specified filename to a slave.
slot-number
represents the member ID of a member device. The value range depends on the device model. You
can use the
display stack
command to view the member IDs of the member devices in a stack.
safely
: Sets the configuration saving mode to safe. If this argument is not specified, the configuration
file is saved in fast mode.
backup
: Saves the current configuration to the startup configuration file specified in the interactive
mode, and specifies the file as the backup startup configuration file to be used at the next startup of the
device.
main
: Saves the current configuration to the main startup configuration file specified in the interactive
mode, and specifies the file as the main startup configuration file to be used at the next startup of the
device.
Description
Use the
save
filename
[
all
|
slot
slot-number
] command to save the current configuration to the
specified configuration file, but the system will not specify the file as the startup configuration file for the
next system startup. If the file specified by
filename
does not exist, the system will create the file and
then save the configuration to the file; if the
all
or
slot
keyword is not specified, the configuration will be
saved to the master.
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 ...