2 configuration file management, Configuration file overview, Types of configuration – H3C Technologies H3C S5120 Series Switches User Manual

Page 610: Format and content of a configuration file, Configuration file management

Advertising
background image

2-1

2

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

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

z

Restoring the Startup Configuration File

z

Displaying and Maintaining Device Configuration

Configuration File Overview

A configuration file saves the device configurations in command lines in text format. You can view

configuration information conveniently through configuration files.

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 #.

z

Ends with a return.

Advertising