H3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)

HomeSupportSwitchesH3C S7500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)
03-Configuration File Management Configuration

Chapter 1  Configuration File Management

When configuring configuration file management, go to these sections for information you are interested in:

l           Introduction to Configuration File

l           Configuration File-Related Operations

1.1  Introduction to Configuration File

Configuration files record and store configurations performed to an Ethernet switch. It also enables users to view these configurations easily.

Upon being powered on, an Ethernet 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 initializes using the default settings. Comparing to 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:

l           The content of a configuration files is a series of commands.

l           Only the non-default configuration parameters are saved.

l           The commands are grouped into sections by command view. The commands of the same command view are grouped into one section. Sections are separated by empty lines or comment lines. (A line starting with the character # is a comment line.)

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

l           A configuration file ends with a “return”.

1.2  Configuration File-Related Operations

You can perform the following operations on an S7500 switch:

l           Saving the current configuration to a configuration file

l           Removing a configuration file from the Flash

l           Viewing/Setting the configuration file to be used in the next startup

Perform the following configuration to configure a configuration file:

To do…

Use the command…

Remarks

Save the current configuration into the Flash

save [ file-name | safely ]

Optional

Remove a specific configuration file from the Flash

reset saved-configuration

Optional

Specify the configuration file to be used in the next startup

startup saved-configuration { cfgfile | device-name }

Optional

Display the primary configuration file

display saved-configuration

Optional

You can execute the display command in any view.

Display the current configuration

display current-configuration [ [ controller | interface [ interface-type [ interface-number ] ] | configuration [ configuration ] ] [ | { begin | exclude | include } text ] ] | [ vlan [ vlan-id ] ]

Display the configuration performed in the current view

display this

Display the information about the configuration files used in the current and next startups

display startup

 

  Caution:

Currently, the extension of a configuration file is .cfg. Configuration files are saved in the root directory of the Flash.

 

In the following conditions, it may be necessary for you to remove the configuration files from the Flash:

l           The system software does not match the configuration file after the software of the Ethernet switch is updated.

l           The configuration files in the Flash are damaged. The common reason is that wrong configuration files are loaded.

You can save the current configuration files in one of the following two ways:

l           Fast saving mode: if the safely keyword is not provided, the system saves the configuration files in the fast saving mode. In this mode, the configuration files are saved fast. However, if restart or power-off occurs in the saving procedure, the configuration files will be lost.

l           Safely saving mode: if the safely keyword is provided, the system saves the configuration files in the safely saving mode. In this mode, the configuration files are saved slowly. However, even if restart or power-off occurs in the saving procedure, the configuration files will be saved in the Flash.

You are recommended to adopt the fast saving mode in the conditions of stable power and adopt the safely saving mode in the conditions of unstable power or remote maintenance.

 

&  Note:

l      You are recommended to use the save command to save the configuration before restarting a device, so that the current configuration remains after the device is restarted.

l      If you use the save command to save the current configuration file without specifying any option, the configuration file is saved as the name of the configuration file used in this startup. If the default configuration file is used in this setup, the current configuration file is saved as the name of the default configuration file.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网