Intel ZT 7102 TV Video Accessories User Manual


 
Intel
®
NetStructure
TM
ZT 7102 Chassis Management Module
Command Line Interface (CLI) Syntax and Arguments
Technical Product Specification 57
8.0 Command Line Interface (CLI) Syntax and
Arguments
The command line interface on the CMM supports two types of commands: cmmgets and
cmmsets. Cmmgets are used to query for information, whereas cmmsets are used to write
information.
8.1 cmmget and cmmset syntax
The syntax for calling the CLI from the command line is as follows:
cmmget [-h] [-l location] [-t target] -d dataitem
cmmset [-h] [-l location] [-t target] -d dataitem -v value
Where cmmget and cmmset are the CLI executables. The parameters can be in any order. The CLI
is case insensitive, except for the executable name. Parameters shown in brackets are optional.
Any attribute value that contains a space must be enclosed in quotes. This happens often when
specifying targets. For example, to get the current value of a sensor called Brd Temp on the CMM,
the command would be:
cmmget –l cmm –t “Brd Temp” –d current
8.2 Help Parameter: -h
If the Help parameter is given, then the rest of the parameters are ignored, and the help text is
output to the user.
8.3 Location Parameter: -l
The Location parameter is the location in the system that the user is executing the cmmget or
cmmset on. If no location is given then the default location is the CMM. The Location keywords
are shown in the following table.
If no location parameter is given, then the default is CMM.
Table 21. Location (-l) Keywords
Keyword Function
cmm The Chassis Management Module.
bladeN
One of the CPU boards in the chassis. N refers to the chassis slot number into which
the CPU board is inserted. Refer to the chassis documentation for slot information.
system The entire platform.
chassis Chassis specific items excluding the boards (such as fan trays and power supplies).
fantrayN One of the fan trays in the system. N refers to the number of the fan tray in the system.
powersupplyN
(Only works with IPMI power supplies.) One of the power supplies in the system
where N is a number between 1-8.