148

DEVICE MANAGEMENT COMMANDS

n There are many types of storage media such as Flash, compact Flash (CF), universal serial bus (USB), and hard disk. Different devices support different types of storage

 

device. CF card is exemplified in this document.

 

File names in this document comply with the following rules

 

Path + file name (namely, a full file name): File on a specified path. A full file

 

name consists of 1 to 135 characters.

 

File name" (namely, only a file name without a path): File on the current

 

working path. The file name without a path consists of 1 to 91 characters.

 

 

boot-loader

 

Syntax

boot-loader file file-url[ slot slot-number] { main backup }

View

User view

Parameter

file file-url: Specifies a file name, a string of 1 to 64 characters.

 

slot slot-number: Specifies the slot number of a card. The value range varies with

 

devices.

 

main: Specifies a file as a primary boot file.

 

backup: Specifies a file as a secondary boot file.

Description

Use the boot-loadercommand to specify a boot file on a card.

 

By default, the boot file is specified as a primary boot file.

 

A primary boot file is used to boot a device and a secondary boot file is used to

 

boot a device only when a primary boot file is unavailable.

Related command:

display boot-loader.

Example

# Specify the primary boot file of the interface card in slot 2 on a device as

 

plat.bin.

<Sysname> boot-loader file plat.bin main

This command will set boot file, Continue? [Y/N]:y

The specified file will be used as the main boot file at the next reboot!

Page 2247
Image 2247
3Com MSR 50, MSR 30 manual 148, Device Management Commands