Configuration file – H3C Technologies H3C MSR 50 User Manual
Page 50
42
NOTE:
•
The application programs for system boot can be type M, B and S, but not type N. You can store them
in Flash memory, but only one for each. For example, if an M+B file exists, it is impossible to have
another M or B file. If you change the file type of another file to B, the M+B file becomes a type M file.
•
You can modify the name of an application file in the storage medium after the application file is
loaded. You cannot modify the file type of a type S application file, but you can modify the file type of
type M/B and N application files in the BootWare menu or using commands after the application
program boots.
•
Secure boot file is the last resort for system boot. You can download it in the BootWare menu and must
name it secure.bin. However, you cannot modify this file or change the type of another file to S. If you
change the name of the secure boot file with the rename command after the system boots, the file is
removed from CF card. To use the secure boot file after that, you need to download it again.
•
You can store type M, B, S files in storage media, but only one for each type in each storage medium.
For example, if a type M+B file exists in the Flash memory, there will be no type M or B file. If you change
the type of a file to B, the M+B file will become a type M file.
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 started. 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 storage 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.