Intel MPCMM0001 Network Card User Manual


 
MPCMM0001 Chassis Management Module Software Technical Product Specification 77
The Command Line Interface (CLI)
8.4 CLI Command Line Syntax and Arguments
The command line interface on the CMM supports two types of commands: cmmget and cmmset.
cmmget is used to query for information, whereas cmmset is used to write information.
There are man pages available on the CMM for these two commands. To access the man page for
cmmget use the command man cmmget. To access the man page for cmmset, use the command
man cmmset.
8.4.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.4.2 Help Parameter: -h
If the Help parameter is given, the rest of the parameters are ignored, and the help text is output to
the user.
8.4.3 Location Parameter: -l
The Location parameter is the location in the system on which the user is executing the cmmget or
cmmset on. If no location is given then the default location is the CMM.
Use the following cmmget command to list all valid locations in the chassis:
cmmget -d listlocations
The Location keywords are shown in the following table.
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. Please refer to the Chassis
documentation for slot information.
system The entire platform.