beautypg.com

Backing up the startup configuration file, R to, Specifying a startup – H3C Technologies H3C S5120 Series Switches User Manual

Page 616: Configuration file for the next system startup

background image

2-7

Do not unplug and plug during configuration rollback (that is, the system is executing the configuration

replace file command). In addition, configuration rollback may fail if one of the following situations is

present (if a command cannot be rolled back, the system skips it and processes the next one):

z

The complete undo form of a command is not supported, namely, you cannot get the actual undo

form of the command by simply putting the keyword undo in front of the command, so the complete

undo form of the command cannot be recognized by the device.

z

The configuration cannot be removed, such as hardware-related commands

z

Commands in different views are dependent on each other

z

If the replacement configuration file is not a complete file generated by using the save or archive

configuration command, or the file is copied from a different type of device, the configuration

cannot be rolled back. Ensure that the replacement configuration file is correct and compatible with

the current device.

Specifying a Startup Configuration File for the Next System Startup

A startup configuration file is the configuration file to be used at the next system startup. You can specify

a configuration file as the startup configuration file to be used at the next system startup in the following

two ways:

z

Use the save command. If you save the current configuration to the specified configuration file in

the interactive mode, the system automatically sets the file as the configuration file to be used at

the next system startup.

z

Use the command dedicated to specify a startup configuration file, which is described in the

following table:

Follow the step below to specify a configuration file as the startup configuration file for the next system

startup:

To do…

Use the command…

Remarks

Specify a startup configuration
file for the next system startup

startup saved-configuration
cfgfile [ backup | main ]

Required

Available in user view

A configuration file must use .cfg as its extension name and the startup configuration file must be saved

under the root directory of the storage medium.

Backing Up the Startup Configuration File

The backup function allows you to copy the startup configuration file to be used at the next system

startup from the device to the TFTP server for backup.