C H A P T E R  3

Using the Command-Line Interface

This chapter describes how to use the ILOM's command-line interface (CLI). The sections include:

To connect to the CLI, see Section 2.1, Connecting to the ILOM

3.1 Using CLI Commands

This section describes how to use CLI commands. CLI commands are case-sensitive.

3.1.1 CLI Namespace

The CLI architecture is based on a hierarchical namespace, which is a predefined tree that contains every managed object in the system. This namespace defines the targets for each command verb.

The ILOM includes two namespaces: the /SP namespace and the /SYS namespace.

You can view your /SYS namespace by typing the show /SYS command from the command line. FIGURE 3-1 shows the /SP namespace. The /SYS namespace is unique to each platform.

FIGURE 3-1 Typical SP Namespace

Graphic showing block diagram of SP namespace.

3.1.2 Privilege Levels

The CLI provides two privilege levels: administrator and operator. Administrators have full access to ILOM functionality and operators have read-only access to ILOM information.

Note - The default user, root, has administrator privileges. To create a user account with operator privileges, see Chapter 5.

3.1.3 CLI Command Syntax

The syntax of a command is: verb options target properties

The following sections describe each of these. Command Verbs

The CLI supports the following command verbs.

TABLE 3-1 CLI Command Verbs




Navigates the object namespace.


Sets up an object in the namespace.


Removes an object from the namespace.


Terminates a session to the CLI.


Displays Help information about commands and targets.


Transfers a file from an indicated source to an indicated target.


Resets the state of the target.


Sets target properties to the specified value.


Displays information about targets and properties.


Starts the target.


Stops the target.


Displays the version of ILOM firmware. Command Options

The CLI supports the options listed in TABLE 3-2. Not all options are supported for all commands. See a specific command section for the options that are valid with that command. The help option can be used with any command.

TABLE 3-2 Command Options

Option Long Form

Short Form




Causes the verb to perform only its default functions.



Specifies the destination for data.



Shows the data the user wants to display.



Causes an immediate action instead of an orderly shutdown.



Displays Help information.



Executes the command for the current target and all targets contained through the level specified.



Specifies the content and form of command output.



Skips warnings or prompts normally associated with the command.



Indicates the location of a source image. Command Targets

Every object in your namespace is a target. Not all targets are supported for all commands. Section A.2, CLI Command Reference lists each command, with its targets and properties. Command Properties

Properties are the configurable attributes specific to each object. An object can have one or more properties. Section A.2, CLI Command Reference lists each command, with its targets and properties.

3.2 Command Syntax

To execute most commands, you need to specify the location of the target, then enter the command. You can execute commands individually, or you can combine them on the same command line.

1. To execute commands individually:

a. Navigate to the namespace using the CD command.

For example:

cd /SP/services/http

b. Enter the verb, target, and value.

For example:

set port=80

2. To combine commands, use the form verb path/target=value.

For example:

set /SP/services/http port=80

The following display shows both methods:

-> cd /SP/services/http          - Navigate to namespace
-> set port=80
Set 'port' to '80'               - Enter the verb, target, and value
-> set /SP/services/http port=80 - Combine path and show command
Set 'port' to '80'