- Table of Contents
-
- H3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)
- 00-1Cover
- 00-2Overview
- 01-CLI Configuration
- 02-Login Configuration
- 03-Configuration File Management Configuration
- 04-VLAN Configuration
- 05-Extended VLAN Application Configuration
- 06-IP Address-IP Performance-IPX Configuration
- 07-GVRP Configuration
- 08-QinQ Configuration
- 09-Port Basic Configuration
- 10-Link Aggregation Configuration
- 11-Port Isolation Configuration
- 12-Port Binding Configuration
- 13-DLDP Configuration
- 14-MAC Address Table Configuration
- 15-MSTP Configuration
- 16-Routing Protocol Configuration
- 17-Multicast Configuration
- 18-802.1x Configuration
- 19-AAA-RADIUS-HWTACACS-EAD Configuration
- 20-Traffic Accounting Configuration
- 21-VRRP-HA Configuration
- 22-ARP Configuration
- 23-DHCP Configuration
- 24-ACL Configuration
- 25-QoS Configuration
- 26-Mirroring Configuration
- 27-Cluster Configuration
- 28-PoE Configuration
- 29-UDP-Helper Configuration
- 30-SNMP-RMON Configuration
- 31-NTP Configuration
- 32-SSH Terminal Service Configuration
- 33-File System Management Configuration
- 34-FTP and TFTP Configuration
- 35-Information Center Configuration
- 36-DNS Configuration
- 37-System Maintenance and Debugging Configuration
- 38-HWPing Configuration
- 39-RRPP Configuration
- 40-NAT-Netstream-Policy Routing Configuration
- 41-Telnet Protection Configuration
- 42-Hardware-Dependent Software Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
03-Configuration File Management Configuration | 38 KB |
Table of Contents
Chapter 1 Configuration File Management
1.1 Introduction to Configuration File
1.2 Configuration File-Related Operations
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.