show scsi-target

To display information about existing SCSI target configurations, use the show scsi-target command.

show scsi-target {auto-poll | custom-list | devices [vsan vsan-id] [fcid fcid-id] | disk [vsan vsan-id] [fcid fcid-id] | lun [vsan vsan-id] [fcid fcid-id] [os [aix | all | hpux | linux | solaris | windows] | pwwn | status | tape [vsan vsan-id] [fcid fcid-id] | vsan vsan-id}

Syntax Description

auto-poll

Displays SCSI target auto polling information.

custom-list

Displays customized discovered targets.

devices

Displays discovered SCSI target devices information

vsan vsan-id

(Optional) Specifies the Virtual SAN (VSAN) ID. The range is from 1 to 4093.

fcid fcid-id

(Optional) Specifies the FCID of the SCSI target to display.

disk

Displays discovered disk information.

lun

Displays discovered SCSI target logical unit number (LUN) information.

os

(Optional) Discovers the specified operating system.

aix

(Optional) Specifies the AIX operating system.

all

(Optional) Specifies all operating systems.

hpux

(Optional) Specifies the HPUX operating system.

linux

(Optional) Specifies the Linux operating system.

solaris

(Optional) Specifies the Solaris operating system.

windows

(Optional) Specifies the Windows operating system.

pwwn

Displays discovered pWWN information for each operating system.

status

Displays the SCSI target discovery status.

tape

Displays discovered tape information.


Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

Use the show scsi-target auto-poll command to verify automatic discovery of online SCSI targets.

Examples

This example shows how to display the status of a SCSI discovery:

switch# show scsi-target status 

This example shows how to display the customized discovered targets:

switch# show scsi-target custom-list 

This example shows how to display the discovered disk information:

switch# show scsi-target disk 

This example shows how to display the discovered LUNs for all operating systems:

switch# show scsi-target lun os all 

This example shows how to display the discovered LUNs for the Solaris operating system:

switch# show scsi-target lun os solaris 

This example shows how to display the auto-polling information:

switch# show scsi-target auto-poll 

This example shows how to display the port WWN that is assigned to each operating system (Windows,  AIX, Solaris, Linux, or HPUX):

switch# show scsi-target pwwn 

Related Commands

Command
Description

scsi-target

Configures SCSI target discovery.