Example CLI Commands

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

Use Case

CLI Command

Return

 

 

 

 

 

LED support information:

Query what LEDs are

cmmget -l blade5 -d ledproperties

Blade5 has control of hsled, led1,

supported by a FRU

led2,

 

 

 

Blade5 support 0 user leds

 

 

 

 

 

Information on the colors supported

Query the color

 

by an LED:

 

led1 supports red,green,amber

support of an LED1

cmmget -l blade5 -t led1 -d ledcolorprops

on a FRU

 

Default local control color is green

 

 

Default override color is red

 

 

 

Query the current

 

Current LED state information:

 

led1 is in localcontrol mode

state of LED1 on a

cmmget -l blade5 -t led1 -d ledstate

function is on

FRU

 

 

color is green

 

 

 

 

 

Set LED1 on a FRU

cmmset -l blade5 -t led1 -d ledstate -v

 

to blink green, 900ms

Success or failure

blink,900,100,green

off, 100ms on

 

 

 

 

 

 

Get a FRU’s

 

The FRU’s steady state power

cmmget -l blade5 -d powerlevels

levels:

supported power

AdvancedTCA FRU Power Levels:

levels

 

 

Power Level 1 = 152 watts

 

 

 

 

 

 

 

The shelf’s power budget:

 

 

Shelf Power Budget Distribution:

Query the CMM for

cmmget -l cmm -d powerbudget

Feed #1 = 1322 Watts

it’s power budget

Feed #2 = 1322 Watts

 

 

 

Feed #3 = 1474 Watts

 

 

Feed #4 = 1474 Watts

 

 

 

Query the shelf’s

cmmget -l chassis -d location

The shelf address information:

address/location

Shelf Address: lab bench

 

 

 

 

Set the shelf’s

cmmset -l chassis -d location -v “[location]”

Success or Failure

address/location

 

 

 

 

 

 

 

Information about whether the

 

 

“Locked Bit” is set or not:

 

 

“Blade11 activation locked bit is set.

Query the FRU’s

 

If in M1 Blade 11 cannot transition

cmmget -l bladeN -d fruactivationpolicy

to M2 until unlocked”

activation policy

 

or

 

 

 

 

“Blade11 activation locked bit is not

 

 

set. Blade11 can transition from M1

 

 

to M2”

 

 

 

Set the FRU

cmmset -l bladeN -d fruactivationpolicy -v [0-1]

Success or Failure

activation policy

 

 

 

 

 

Activate or

cmmset -l bladeN -d fruactivation -v [0-1]

Success or Failure

Deactivate the FRU

 

 

 

 

 

278MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 278
Image 278
Intel MPCMM0001 manual Example CLI Commands Sheet 2