129
Use
undo
startup saved-configuration
to configure all IRF member devices to start up with the factory
defaults at the next startup.
Syntax
startup
saved-configuration
cfgfile
[
backup
|
main
]
undo startup saved-configuration
Views
User view
Default command level
3: Manage level
Parameters
cfgfile
: Specifies a configuration file name with the extension .cfg. The file must be stored in the root
directory of the storage media or the first partition of the storage media.
backup
: Sets the configuration file as the backup next-startup configuration file.
main
:
Sets the configuration file as the main next-startup configuration file.
Usage guidelines
In an IRF fabric, the
startup
saved-configuration
command applies to all IRF members. To successfully
configure the command, verify that the specified file has been saved to the root directory of the storage
media on each member.
In an IRF fabric, use the
undo
startup saved-configuration
command with caution. This command can
cause an IRF split after the IRF fabric or an IRF member reboots.
If neither
backup
nor
main
is specified, the
startup
saved-configuration
command specifies the main
next-startup configuration file.
For high availability, specify separate files as the main and backup next-startup configuration files, even
though they can be the same file.
The
undo
startup saved-configuration
command changes the file attribute of the main and backup
next-startup configuration files to NULL. It does not delete the two configuration files.
You can also specify a configuration file as the startup configuration file to be used at the next startup
when you use the
save
command save the running configuration to it.
Examples
# Specify a next-startup configuration file.
<Sysname> startup saved-configuration testcfg.cfg
Please wait ...
Setting the master board ..........
... Done!
Setting the slave board ...
Slot 2:
Set next configuration file successfully
Related commands
display startup