beautypg.com

Chapter 1 configuration file management, 1 introduction to configuration file, 2 configuration file-related operations – H3C Technologies H3C S3100 Series Switches User Manual

Page 92

background image

Operation Manual – Configuration File Management

H3C S3100-52P Ethernet Switch

Chapter 1 Configuration File Management

1-1

Chapter 1 Configuration File Management

1.1 Introduction to Configuration File

A configuration file records and stores user configurations performed to a switch. It also
enables users to check switch configurations easily.
Upon powered on, a switch loads the configuration file known as saved-configuration
file, which resides in the Flash, for initialization. If the Flash contains no configuration
file, the system performs initialization using the default settings. Comparing to
saved-configuration file, the configuration file which is currently adopted by a switch is
known as the current-configuration.
A configuration file conforms to the following conventions:

z

The content of a configuration file is a series of commands.

z

Only the non-default configuration parameters are saved.

z

The commands are grouped into sections by command view. The commands that
are of the same command view are grouped into one section. Sections are
separated by empty lines or comment lines. (A line is a comment line if it starts
with the character “#”.)

z

The sections are listed in this order: system configuration section, physical port
configuration section, logical interface configuration section, routing protocol
configuration section, and so on.

z

A configuration file ends with a “return”.

1.2 Configuration File-Related Operations

You can perform the following operations on an S3100-52P Ethernet switch:

z

Saving the current configuration to a configuration file

z

Removing a configuration file from the Flash

z

Checking/Setting the configuration file to be used when the switch starts the next
time

z

Setting a configuration file to be the primary/secondary configuration file

Perform the following configuration in user view.