Displaying the current default scsi device id, Setting a default scsi device id – HP NetRAID-4M Controller User Manual

Page 60

Advertising
background image

4-10

Command Line Interface User’s Guide

convenience, you can simplify the specification of the SCSI device
ID. Ordinarily, when specifying a CLI command that requires a SCSI
device ID, you must specify a channel number, device ID, and
logical unit number; for example,

disk list (2,1,0)

. When you

set a default SCSI ID, you can specify just the device ID, for example,

disk list 1

.

The CLI allows you to do the following:

Display the current SCSI device ID default

Set a default SCSI device ID.

Displaying the Current Default SCSI Device ID

To display the current default SCSI device ID, use the

disk show

default

command, as in the following example. The example

shows that a default has not been set.

HPN0> disk show default

Executing: disk show default

No Default

Setting a Default SCSI Device ID

To set a default SCSI device ID, use the

disk set default

command, as in the following example. In the example the SCSI
device ID (2,1,0) will be defaulted to 1:

HPN0> disk set default (2,1,0)

Executing: disk set default (CHANNEL=2,ID=1,LUN=0)

To verify that the default has been set, use the

disk show

default

command, as in the following example. The example

shows that a default has been set for device (2,1,0)

.

HPN0> disk show default

Executing: disk show default

Default Scsi: (CHANNEL=2,ID=1,LUN=0)

To use the default SCSI device ID, enter a CLI command using the
default SCSI ID, as in the following example. In the example, the

disk list

command uses the default SCSI device ID of 1 to

display information about SCSI device (2,1,0).

HPN0> disk list 1

Executing: disk list (ID=1)

Advertising