beautypg.com

9 configuration file management, Configuration file overview, Types of configuration – H3C Technologies H3C S7500E Series Switches User Manual

Page 132: Configuration file management

background image

9-1

9

Configuration File Management

The device provides the configuration file management function with a user-friendly command line

interface (CLI) for you to manage the configuration files conveniently.

This section covers these topics:

z

Configuration File Overview

z

Configuration Display

z

Saving the Current Configuration

z

Setting Configuration Rollback

z

Specifying a Startup Configuration File for the Next System Startup

z

Backing Up the Startup Configuration File

z

Deleting the Startup Configuration File for the Next Startup

z

Restoring the Startup Configuration File

z

Displaying and Maintaining Device Configuration

Configuration File Overview

A configuration file contains a set of commands. You can save the current configuration to the

configuration file so that the configuration can take effect after device reboot. In addition, you can view

the configuration information conveniently, or upload/download the configuration file to/from another

device to configure devices in batches.

Types of Configuration

The configuration of a device falls into two types:

z

Startup configuration, a configuration file used for initialization when the device boots. If this file

does not exist, the system boots using null configuration, that is, using the default parameters.

z

Current configuration, which refers to the currently running configuration of the system. The

current configuration may include the startup configuration if the startup configuration is not

modified during system operation, and it also includes the new configuration added during the

system operation. The current configuration is stored in the temporary storage medium of the

device, and will be removed when the device reboots if not saved.

Format and Content of a Configuration File

A configuration file is saved as a text file. It is saved following these rules:

z

The content of a configuration file is command lines, and only non-default configuration settings

are saved.

z

Commands in a configuration file are listed in sections by views, usually in the order of system

view, interface view, routing protocol view, and user interface view. Sections are separated with

one or multiple blank lines or comment lines that start with a pound sign #.