beautypg.com

Software maintenance methods – H3C Technologies H3C MSR 20-1X User Manual

Page 43

background image

36

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 device, 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

55

.

The details about the three configuration files 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 file for system boot can be a main configuration file, a backup configuration file, or
default configuration file of type N, but not non-default configuration file of type N (namely, neither type
M nor type B).

You can modify the file name of a configuration file in the Flash memory using a command after the
configuration file is loaded. You cannot modify the type of the default configuration file, but you can

modify the type of a type M, B, N configuration file in the BootWare menu, or using commands after the
configuration file is loaded.

You can store type M and B configuration files in the flash memory, but only one for each. For example,

if a type M+B configuration file exists, there will be no type M or B file. If you change the type of a

configuration file to B, the M+B configuration file will become a type M file.

CAUTION:

A file name can contain at most 64 characters (including drive letter and a string terminator). If the drive
letters are “FLASH:/”, the file name can contain at most [64-1-7 ] = 56 characters; otherwise errors will

occur in file operation. Typically, a file name is recommended to be less than 16 characters.

Extended ASCII characters (ASCII>=128) and invisible characters (ASCII<33) should not appear in a
file name.

The following characters should not appear in a file name: ”, ‘, ?, \, space, *, |, <, /, :, >, and ~.

The dot “.” can appear in a file name, but not at the head or the end of the file name. Two consecutive
dots 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.

This manual is related to the following products: