System Response
When the command is complete, you can run the showtgt command to view the result.
9.4.2 showtgt
Function
The command showtgt is used to query information of the initiator added to a target (controller).
Format
showtgt -c controller ID [-ti target ID]
Parameters
Keyword and Value Description Default Value
-c controller ID
The controller ID. The value is A or B, and it is case
insensitive.
None.
-ti target ID
The target ID. The value ranges from 0 to 7.
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
l The showtgt -c controller ID command queries information of all the targets (controllers)
added to the initiator.
l The showtgt -c controller ID -ti target ID command queries detailed information of a
specified target (controller) added to the initiator.
Example
Query information of the target on controller A.
OceanStor: admin> showtgt -c a
Controller ID Target ID Target IP Target Port Connect Status
A 0 128.12.13.25 3260 Unconnected
System Response
None.
9 Value-Added Service Management Commands
OceanStor S2600 Storage System
Command Reference
9-52 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)