7 Management of Configuration Files
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
7-2 Huawei
Proprietary
and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
7.1 Introduction
7.1.1 Definitions
Configuration files are configuration items uploaded at the current startup or next startup of
the router.
The configuration file is a text file in the following formats:
z
It is saved in the command format.
z
To save space, default parameters are not saved. For the default values of the
configuration parameters, refer to the following sections.
z
Commands are organized on the basis of the command view. All commands of the
identical command view are grouped into a section. Every two command sections are
separated by one or several blank lines or comment lines (beginning with "#").
z
The sequence of command sections is global configuration, physical interface
configuration, logic interface configuration, routing protocol configuration and so on.
z
The system can run the command with the maximum length of 256 characters, including the
command in the incomplete form.
z
If a command is entered in the incomplete form, the command is saved in complete form. Therefore,
the command length in the configuration file may exceed 256 characters. When the system is
restarted, those commands cannot be restored.
7.1.2 Configuration Files and Current Configurations
z
Initial configurations: On powering on, the router retrieves the configuration files from
the default save path to initiate itself. If no configuration file exists in the default save
path, the router uses the default parameters.
z
Current configurations: indicates the effective configurations of the currently running
router.
z
Users can modify the current configuration s of the router through the command line
interface. Use the
save
command to save the current configuration to the configuration
file of the default storage devices, and the current configuration become the initial
configuration of the router when the router is powered on next time.
7.2 Displaying the Configuration of the Router
After the precious configuration, run the
display
command in any view to view the running
information of the configuration file.
For details about the running information, refer to the
Quidway NetEngine20/20E Series
RoutersCommand Reference
.
7.2.1 Viewing the Intial Configuration
Do as follows on the router:
Run: