H3C S5830V2 Command Reference Manual page 166

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Syntax
startup saved-configuration cfgfile [ backup | main ]
undo startup saved-configuration
Default
No next-startup configuration file is specified.
Views
User view
Predefined user roles
network-admin
Parameters
cfgfile: Specifies the name of a configuration file. The file name must be a string of 5 to 195
characters suffixed with the .cfg extension, and can include the path information. This .cfg file must
already exist in the root directory of the default storage medium.
backup: Specifies the configuration file as the backup next-startup configuration file.
main: Specifies the configuration file as the main next-startup configuration file. This is the primary
configuration file that the device attempts to load at startup. If the loading attempt fails, the device
tries the backup next-startup configuration file.
Usage guidelines
CAUTION:
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.
In an IRF fabric, the startup saved-configuration command applies to all IRF members. To
successfully configure the command, verify that the specified file already exists in the root directory
of each member's default storage medium.
Make sure all member devices use the same type of storage medium as the default storage medium.
If the USB disk is used to store the next-startup configuration files, do not remove the USB disk
during the startup process. If you remove the USB disk on a device, one of the following
consequences occurs:
In a single-chassis IRF fabric, the device will start up with the factory defaults.
In a multichassis IRF fabric, the device will leave the IRF fabric at startup and run the factory
defaults.
If neither backup nor main is specified, the startup saved-configuration command specifies the
main next-startup configuration file.
Even though the main and backup next-startup configuration files can be the same one, specify them
as separate files for high availability.
The undo startup saved-configuration command changes the file attribute of the main and backup
next-startup configuration files to NULL. The command does not delete the two configuration files.
You can also specify a configuration file as a next-startup file when you use the save command to
save the running configuration to it.
Examples
# Specify the main next-startup configuration file.
<Sysname> startup saved-configuration testcfg.cfg
Please wait ....
... Done.
154

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents