5-29
startup saved-configuration
Syntax
startup
saved-configuration
cfgfile
[
backup
|
main
]
undo startup saved-configuration
View
User view
Default Level
2: System level
Parameters
cfgfile
: Configuration file name. The file must be a file with an extension .cfg stored in the root directory
of the storage medium.
backup
: Sets the configuration file as the backup startup configuration file that will be used at the next
startup of the device.
main
:
Sets the configuration file as the main startup configuration file that will be used at the next
startup of the device.
Description
Use the
startup saved-configuration
command to specify a startup configuration file (the
configuration file to be used at the next system startup) for all the member devices.
Use the
undo
startup saved-configuration
command to configure all the member devices to start up
with the null configuration, that is, the factory configuration.
The startup configuration file for the next startup of all the member devices must the same. Therefore,
before using the command, ensure that the specified configuration file has been saved to the root
directories of the storage media of all the member devices; otherwise, the command will fail.
z
The
startup
saved-configuration
and
startup
saved-configuration
main
commands have the
same effect: Both of them are used to specify the main startup configuration file.
z
The main and backup startup configuration files can be specified as the same file. However, it is
recommended you use different files, or, save the same configuration as two files using different
file names, one specified as the main startup configuration file, and the other specified as the
backup.
z
If you execute the
undo
startup saved-configuration
command, the system will set the main
and backup startup configuration file as NULL, but will not delete the two configuration files.
Related commands:
display startup
.
Examples
# Specify a startup configuration file for the next system startup.
<Sysname> startup saved-configuration testcfg.cfg
Please wait ...
Setting the master board ..........
... Done!
Setting the slave board ...
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 ...