Configuration file, Software maintenance methods – H3C Technologies H3C MSR 30 User Manual
Page 57
49
Configuration file
The file stores configuration information of the router.
By default, the system defines three configuration files for booting: main, backup, and default file. If the
three configuration files are loaded in a storage medium, the system selects them in sequence until the
router is successfully loaded. To change the sequence of these configuration files or modify them, refer to
Maintaining Application and Configuration Files
on page
.
The details about the three configuration files and file selection sequence are as follows:
•
Main configuration file: The configuration file used for booting by default. The file type is M.
•
Backup configuration file: The file type is B. The system uses the backup configuration file when it
fails to boot using the main configuration file.
•
Default configuration file: The file type can be M, B, or N. The system uses the default configuration
file when it fails to boot using the backup configuration file. If the system fails to boot using the
default configuration file, it boots with null configuration. The name of the default configuration file
varies with router brands. The main and backup configuration operations on the default
configuration file are the same as those on common configuration files.
NOTE:
•
The configuration files for system boot can be type M, B and default configuration file of type N, but not
non-default configuration file of type N (i.e. neither M nor B).
•
You can modify the file name of a configuration file in a storage medium using the command after the
configuration file is loaded. You cannot modify the type of the default configuration file, but you can
modify the file type of type M/B and N configuration files in the BootWare menu or using commands
after the configuration file is loaded.
CAUTION:
•
The file name cannot be longer than 64 characters (including drive letter and a string terminator. If the
drive letter is “CFA0: /”, the file name can be at most [ 64-1-6 ] = 57 characters in length; or, errors will
occur in file operation. Typically, the file name is recommended to be not more than 16 characters.
•
The extension ASCII characters (ASCII>=128) and invisible characters (ASCII<33) cannot be included in
the file name.
•
The following characters cannot be included in the file name: ”, ‘, ?, \, space, *, |, <, /, :, >, ~.
•
The character “.” can be included in the file name, but cannot be the first or last character of the file
name. Two consecutive “.”s are not allowed.
Software Maintenance Methods
•
Upgrade BootWare and an application using the XModem protocol through a serial port.
•
Upgrade an application from a TFTP/FTP server through an Ethernet interface in BootWare.
•
Upload/download an application and configuration file from a TFTP/FTP server via command
lines.