Examples – HP MPX200 Multifunction Router User Manual

Page 84

Advertising
background image

Examples

The following example shows the get_target_diagnostics command by executing one
specific command from the default set.

nl

nl

MPX200 <1> (admin) #> get_target_diagnostics
Index State (Symbolic Name, WWPN/WWNN,WWPN/iSCSI Name, Ip Address)
----- ----- ------------------------------------------------------
0 Online DGC RAID-1, 50:06:01:68:4b:a0:35:f6

nl

1 Online HP MSA2324fc-6, 24:70:00:c0:ff:da:2c:56

nl

Please select a Array/Target from the list above ('q' to quit): 1
Index (VpGroup Name)
----- --------------
1 VPGROUP_1
2 VPGROUP_2

nl

Please select a VpGroup from the list above ('q' to quit): 1
Do you want to execute command on 1)All LUNs 2)Single LUN: ('q' to quit): 2
Index (LUN/VpGroup)
----- -------------
0 0/VPGROUP_1
1 1/VPGROUP_1
2 2/VPGROUP_1
Please select a LUN from above ('q' to quit): 1
Removes the mapping of a LUN from an initiator.Index (Operation)
----- ------------
1 Execute custom command
2 Execute default command set
3 Execute one command from default command set
Please select an Operation from above ('q' to quit): 3
Index (Command)
----- ---------
1 REPORT LUNS
2 STANDARD INQUIRY
3 SUPPORTED VPD PAGE
4 UNIT SERIAL NUMBER VPD PAGE
5 DEVICE IDENTIFICATION VPD PAGE
6 BLOCK LIMITS VPD PAGE
7 THIN PROVISIONING VPD PAGE
8 READ CAPACITY 10
9 READ CAPACITY 16
10 GET LBA STATUS
11 REPORT TARGET PORT GROUP
12 TEST UNIT READY

nl

13 READ
14 REPORT SUPPORTED OP CODES

nl

Please select a command from above ('q' to quit): 3
Do you want to save output in file? [1) Yes 2) No]: 2
Do you want to display output on CLI? [1) Yes 2) No]: 1
USER INPUTS
================================================
TARGET WWPN :- 00:00:07:00:01:00:00:00
================================================
================================================
PATH 0 :- 24:70:00:c0:ff:da:2c:56
================================================
COMMAND :- SUPPORTED VPD PAGES (0x12 / 0x00)
LUN ID :- 0001000000000000
STATUS :- 0
SCSI STATUS :- 0
CDB :- 12010000ff0000000000000000000000
DATA TRANSFER LENGTH :- 32768
RESIDUE TRANSFER LENGTH :- 32759
ACTUAL DATA LENGTH :- 9
DATA :-
00 00 00 05 00 80 83 85 d0
END OF COMMAND
================================================
PATH 1 :- 20:70:00:c0:ff:da:2c:56
================================================
COMMAND :- SUPPORTED VPD PAGES (0x12 / 0x00)
LUN ID :- 0001000000000000
STATUS :- 0
SCSI STATUS :- 0
CDB :- 12010000ff0000000000000000000000
DATA TRANSFER LENGTH :- 32768
RESIDUE TRANSFER LENGTH :- 32759
ACTUAL DATA LENGTH :- 9
DATA :-
00 00 00 05 00 80 83 85 d0
END OF COMMAND

The following example shows the get_target_diagnostics command using the default option,
single command:

nl

nl

MPX200 <1> (admin) #> get_target_diagnostics
Index State (Symbolic Name, WWPN/WWNN,WWPN/iSCSI Name, Ip Address)
----- ----- ------------------------------------------------------

84

Command line interface

Advertising