Command Options

Command options control verb behavior.

Command options can appear immediately after the verb and must be prefaced with a dash (-). Most command options have both a full name and a short form; for example:

show –level all or show –l all

Level Option

The level option instructs the command verb to include n number of levels in the scope of its execution. A level typically refers to the depth of containment to be processed by the verb.

Forms:

-level <n>

-l <n>

Where n is the number of levels to include in command scope.

The value of n is interpreted as follows:

n=1 Verb is interpreted for the command target only (default).

n=2 Verb acts on the command target and any directly contained Managed Elements (MEs).

n=3 Verb acts on the command target, directly contained MEs, and any MEs contained by those MEs (such as – current target and two down).

n=all Verb acts on the command target and all target MEs recursively contained in the command. The following examples show command display option syntax:

Show information about default target and one level of contained MEs:

</>hpiLO-> show -l 2

Show all contained MEs:

</>hpiLO-> show -l all

Show information about system1 and all contained MEs: </>hpiLO-> show -l all system1

Display Option

The display option filters the information returned in command results.

The following examples show command display option syntax:

Display targets under /map1 target:

</map1> hpiLO-> show -d targets

Display properties of /map1 target:

</map1> hpiLO-> show -d properties

Display verbs of /map1 target:

</map1> hpiLO-> show -d verbs

Display the name property of /map1 target:

</>hpiLO-> show -d properties=name /map1

Find a target that has a property name with value of MP Menu:

</>hpiLO-> show -l all -d properties=(name==”MP Menu”)

Find a target that has a property name with value of MP Menu and display all verbs supported for that target:

</>hpiLO-> show -l all -d properties=(name==”MP Menu”), verbs

128 Using iLO 2 MP

Page 128
Image 128
HP Integrity iLO 2 MP 5991-6005 manual Command Options