Configuration Files; Approaches For Software Maintenance - H3C WX6103 Installation Manual

Hide thumbs Also See for WX6103:
Table of Contents

Advertisement

If you have loaded the three application files into the CF card, the system will choose one of these three
files to boot the access controller, depending on the boot sequence described below. For how to set the
application file types, see
The default names and types of the application files and their loading sequence are as follows:
Main application file. The default name is main.bin, and the file type is M. It is the default
application file to be loaded when the system starts.
Backup application file. The default name is backup.bin, and the file type is B. If failing to load the
main application file, the system will try the backup file.
Secure application file. The default name is secure.bin, and the file type is S. If the system fails to
load the backup application file, the secure application file is the last choice. If it again fails to load
the secure application file, the system will give a boot failure message.
Note the following guidelines:
Only the application files of the M, B, and S types can be used to boot the system, while an
application file of the N type (an application file other than the M, B, or S type) cannot.
After the application program is loaded, you can rename the application files through the CLI or
change the types of the M, B and N application files through the BootWare menu or the CLI.
However, you cannot change the type of the S application file.
As the S application file is the last choice for booting the system, you cannot change its type or
obtain a secure application file by changing the type of another type of application file. You can
only download it using the BootWare menu.
Only one file of the same type (M, B, or S) can exist in the CF card. For example, if an application
file of type M+B exists in the CF card, another file of type M or B cannot exist. If the type of another
file is changed to B, the existing type M+B file changes to a file of type M.

Configuration files

With a file extension of .cfg, the configuration files are to store the configuration information of the access
controller. Typically, the default configuration file is written into the built-in CF card before the access
controller is delivered.
CAUTION:
The length of a configuration file name must not exceed 64 characters (including the drive name and the
string terminator). For example, if the drive name is cfa0:/, the maximum length of a file name is [ 64
– 1 – 4 ] = 59 characters.
If the length of a file name exceeds 59 characters, file operation errors will occur on that file. It is
recommended to keep the file name within 16 characters.
There is a limitation on the length of file name that can be displayed in BootWare. If a file name is
shorter than 30 characters, all the characters of the file name can be displayed; if a file name has or
exceeds 30 characters, only the first 26 characters of the file name can be displayed, followed by a tilde
(~) and a serial number. The serial number identifies position in sequence of the file. For example, if
some files, file A, file B and file C, have a file name longer than 30 characters, the name of file A will
appear as the first 26 characters plus ~001, that of file B will appear as the first 26 characters plus ~002,
and that of file C will appear as the first 26 characters plus ~003.

Approaches for software maintenance

Upgrading the BootWare and application files by using the Xmodem protocol through a serial port
"Maintaining application and configuration
64
files."

Advertisement

Table of Contents
loading

Table of Contents