NEC MH4500 Parsing the Command Line, Displaying Usage Information, C-18Emergency Management Port

Models: MH4500

1 186
Download 186 pages 30.11 Kb
Page 164
Image 164
Parsing the Command Line

Parsing the Command Line

The FRUSDR load utility allows only one command line function at a time. A command line function can consist of two parameters. For example,

-cfg filename.cfg.

Invalid parameters cause an error message and exit the program. You can use either a slash (/) or a minus sign (-) to specify command line options. The -p and -v flags can be used in conjunction with any of the other options.

Displaying Usage Information

When the utility is run with the -? or -h command line flags, the following message is displayed when the verbose flag -v is added to the help command:

FRU & SDR Load Utility Version 2.1 Revision R.1.1

Usage

frusdr

 

 

-? or -h

Displays usage information

 

-d {dmi,fru,sdr}

Only displays requested area.

 

-cfg filename.cfg

Uses custom CFG file.

 

-p

Pause between blocks of data.

 

-v

Verbose, display any additional details.

Copyright (c) 1998, Intel Corporation, All Rights Reserved

This utility must be run from a system executing DOS. Running in a Window's DOS box is insufficient and causes incorrect results. Programming the BMC FRU area clears the SDR table; therefore the SDR table must be reprogrammed. Upon completing the programming of the FRU and SDR areas, the server should be rebooted. DOS users may alternatively use a '/' instead of the '-'.

The following information displays if the -v option is included in the command line.

The /D FRU command may be followed with up to 16 device addresses. These device addresses are used to view up to 16 different FRU areas, instead of the default of displaying the BMC FRU. The arguments following the "-d FRU" are in the same order and value as the NVS_TYPE, NVS_LUN, DEV_BUS and DEV_ADDRESS which are found in the FRU file header in each FRU file. The LUN address is optional. If the LUN address is used, it must start with an 'L'.

Usage: FRUSDR -d fru (device) [lun] (bus) (addr) (addr2) (etc)

Example: FRUSDR /D FRU IMBDEVICE L00 00 C0 C2

The configuration file may be used to load multiple FRU and SDR files. In the configuration file, you may define which FRU and SDR areas are to be programmed. Additionally, you may request information from the user or ask the user to choose which areas to program.

C-18 Emergency Management Port

Page 164
Image 164
NEC MH4500 manual Parsing the Command Line, Displaying Usage Information, C-18Emergency Management Port