Introduction To Configuration File Management; Directory Operations - Huawei Quidway S3100 Series Operation Manual

Table of Contents

Advertisement

Operation Manual – File System Management
Quidway S3100 Series Ethernet Switches
Prompt mode configuration
Note:
File path and file name can be represented in one of the following ways:
In URL (universal resource locator) format and starting with "unit[No.]>flash:/" ([No.]
represents the unit ID of a switch). This method is used to specify a file on a
specified unit. For example, if the unit ID of a switch is 1, unit1>flash:/text.txt
specifies the file named text.txt and residing in the root directory.
Starting with "flash:/". This method can be used to specify a file in the Flash of the
current unit.
Inputting the path name or file name directly. This method can be used to specify the
path to go to or a file in the current work directory.

1.2.2 Introduction to Configuration File Management

The configuration file management module provides a friendly user interface. It stores
user configurations in the form of command line text. 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
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:
The content of a configuration files is a series of commands.
Only the non-default configuration parameters are saved.
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 "#".)
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.
A configuration file ends with a "return".

1.2.3 Directory Operations

The file system provides directory-related functions, such as:
Creating/deleting a directory
system
initializes
Huawei Technologies Proprietary
Chapter 1 File System Management
using
the
default
1-4
parameters.
Comparing
to

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents