HP Carrier-grade cc2300 User Information and Service Guide - HP Carrier-Grade - Page 61

Table 5-1., Command Line Format

Page 61 highlights

Table 5-1. Command Line Format Command -? or -h -d {fru, sdr} -cfg filename.cfg -p Description Displays usage information. Displays requested area only. Uses custom CFG file. Pause between blocks of data. Parsing the Command Line The FRU/SDR load utility allows only one command line function at a time. A command line function can consist of two parameters. 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. Use the p and flags with any of the other options. Displaying a Given Area When the utility is run with the -d FRU or -d SDR command line flag, information about each area is read from memory and printed on the screen. Each area represents one sensor for each instrumented device in the server. If the given display function fails because of an inability to parse the data present or a hardware failure, the utility displays an error message and exits. Using Specified CFG File Run the utility with the command line parameter of -cfg filename.cfg. The filename can be any DOS-accepted, eight-character filename string. The utility loads the specified CFG file and uses the entries in that file to probe the hardware and to select the proper SDRs to load into nonvolatile storage. Displaying Utility Title and Version The utility displays its title: FRU & SDR Load Utility, Version Y.Y, Revision X.XX, where Y.Y is the version number and X.XX is the revision number for the utility. Configuration File The configuration file is in ASCII text format. The utility executes commands formed by the strings present in the configuration file. These commands cause the utility to run tasks needed to load the proper SDRs into the nonvolatile storage of the BMC and possibly generic FRU devices. Some of the commands may be interactive and require you to make a choice. Prompting for Product Level FRU Information With a configuration file, the utility might prompt you for FRU information. Filtering Records from the SDR File The MASTER.SDR file has all the possible SDRs for the system. You might need to filter these records based on the current product configuration. The configuration file directs the filtering of the SDRs. Updating the SDR Nonvolatile Storage Area After the utility validates the header area of the supplied SDR file, it updates the SDR repository area. Before programming, the utility clears the SDR repository area. The utility filters all tagged SDRs depending on the product configuration set in the configuration file. Untagged SDRs come automatically Chapter 5 61

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Chapter 5
61
Table 5-1.
Command Line Format
Command
Description
-? or -h
Displays usage information.
-d {fru, sdr}
Displays requested area only.
-cfg filename.cfg
Uses custom CFG file.
-p
Pause between blocks of data.
Parsing the Command Line
The FRU/SDR load utility allows only one command line function at a time. A command line function can
consist of two parameters. 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. Use the -
p and flags with any of the other options.
Displaying a Given Area
When the utility is run with the -d FRU or -d SDR command line flag, information about each area is read
from memory and printed on the screen. Each area represents one sensor for each instrumented device in
the server. If the given display function fails because of an inability to parse the data present or a hardware
failure, the utility displays an error message and exits.
Using Specified CFG File
Run the utility with the command line parameter of
-cfg filename.cfg
. The filename can be any
DOS-accepted, eight-character filename string. The utility loads the specified CFG file and uses the entries
in that file to probe the hardware and to select the proper SDRs to load into nonvolatile storage.
Displaying Utility Title and Version
The utility displays its title:
FRU & SDR Load Utility, Version Y.Y, Revision X.XX
, where
Y.Y
is the version number
and
X.XX
is the revision number for the utility.
Configuration File
The configuration file is in ASCII text format. The utility executes commands formed by the strings present
in the configuration file. These commands cause the utility to run tasks needed to load the proper SDRs into
the nonvolatile storage of the BMC and possibly generic FRU devices. Some of the commands may be
interactive and require you to make a choice.
Prompting for Product Level FRU Information
With a configuration file, the utility might prompt you for FRU information.
Filtering Records from the SDR File
The
MASTER.SDR
file has all the possible SDRs for the system. You might need to filter these records based
on the current product configuration. The configuration file directs the filtering of the SDRs.
Updating the SDR Nonvolatile Storage Area
After the utility validates the header area of the supplied SDR file, it updates the SDR repository area.
Before programming, the utility clears the SDR repository area. The utility filters all tagged SDRs
depending on the product configuration set in the configuration file. Untagged SDRs come automatically