Example CLI Commands

Example CLI Commands

A

 

 

The following table shows examples of most CLI operations.

Note: The variable “N” (as in bladeN or fantrayN) represents the chassis slot number of the device being acted on (such as Blade5 or fantray1). Please refer to chassis documentation for slot, fan, fan tray, and power supply location and information.

Table 111. Example CLI Commands (Sheet 1 of 3)

Use Case

CLI Command

Return

 

 

 

Get fan tray

cmmget –l fantray1 –d presence

Fantray1 is present.

presence.

Fantray1 is not present.

 

 

 

 

Get the baseboard

 

 

temperature of blade

 

Current Temperature of “ambient

5 when the sensor is

cmmrget –l blade5 –t “ambient temp”–d current

temp” on blade 5.

named “ambient

 

 

temp”.

 

 

 

 

 

Find out if blade 5 is

cmmget –l blade5 –d presence

Blade5 is present.

present.

Blade5 is not present.

 

 

 

 

Get all thresholds for

 

Returns thresholds for upper non-

 

recoverable, upper critical, upper

the +3.3 V sensor on

cmmget –l blade2 –t “+3.3V” –d thresholdsall

non-critical, lower non-critical, lower

blade 2.

 

 

critical, and lower non-recoverable.

 

 

 

 

 

Get the overall

cmmget –l system –d health

Indicates if the entire system is

system health.

healthy, or has health events.

 

 

 

 

Get a list of blades

cmmget –l system –d unhealthylocations

List of locations with active health

with problems

events.

 

 

 

 

Get the CMM’s

 

Indicates if the CMM is healthy or if

cmmget –l cmm –d health

there are active health events on

overall health.

 

the CMM.

 

 

 

 

 

Display the SEL of

cmmget –l cmm –d sel

Displays a list of SEL entries (if any)

the CMM

for the CMM.

 

 

 

 

Get the version of

cmmget –l cmm –d version

Displays the version of firmware

firmware on the CMM

currently installed on the CMM.

 

 

 

 

Find out what

 

A list of sensor names as defined in

sensors are on blade

cmmget –l blade3 –d listtargets

their SDRs on blade 3.

3.

 

 

 

 

 

 

List the data items

 

 

that can be queried or

cmmget –l blade4 –d listdataitems

A list of dataitems for blade 4.

set on blade 4.

 

 

 

 

 

Find out what can be

 

A list of commands to be used as

queried on blade4’s

cmmget –l blade4 –t “+3.3V–d listdataitems

dataitems for the +3.3 V.

+3. 3V sensor.

 

 

 

 

 

 

Get the FRU’s hot

cmmget –l blade5 -d hotswapstate

The intern M state information:

swap state.

Blade5 Hot Swap state is M[4].

 

 

 

 

MPCMM0001 Chassis Management Module Software Technical Product Specification

277

Page 277
Image 277
Intel MPCMM0001 manual Example CLI Commands Sheet 1, Use Case CLI Command Return