HP E4510-48G Command Reference Manual page 1060

4510g series
Table of Contents

Advertisement

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.
5-26

Advertisement

Table of Contents
loading

Table of Contents