beautypg.com

Format of configuration file, Saving the current configuration, Modes in saving the configuration – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 526

background image

56-6

z

Current configuration, which refers to the user’s configuration during the operation of a device. This
configuration is stored in the flash. It is removed when the device is rebooting.

Format of configuration file

Configuration files are saved as text files. They:

z

Save configuration in the form of commands.

z

Save only non-default configuration settings.

z

List commands in sections by view in this view order: system, interface, routing protocol, and so on.
Sections are separated with one or multiple blank lines or comment lines that start with a pound
sign (#).

z

End with a return.

Saving the Current Configuration

You can modify the configuration on your device at the command line interface (CLI). To use the
modified configuration for your subsequent startups, you must save it (using the save command) as a
configuration file.

Modes in saving the configuration

z

Fast saving mode. This is the mode when you use the save command without the safely keyword.
The mode saves the file quicker but is likely to lose the original configuration file if the device
reboots or the power fails during the process.

z

Safe mode. This is the mode when you use the save command with the safely keyword. The mode
saves the file slower but can retain the configuration file in the device even if the device reboots or
the power fails during the process.

Device reboot or the power failure during configuration file saving may result in loss of the configuration
file for next startup. In this case, the device should be started with empty configuration and after the
device starts, you need to re-specify a configuration file for next startup. Refer to

Specifying a

Configuration File for Next Startup

for details.

z

Fast saving mode is suitable for environments where power supply is stable. The safe mode,
however, is preferred where stable power supply is unavailable or remote maintenance is involved.

z

The extension name of the configuration file must be .cfg.

z

If you press after entering the save command, you can save the configuration file in an
interactive way. In this way, you can use the default path or enter a filename to specify a new path,
but the suffix of the filename must be “.cfg”.