Usage Guidelines
The
chgtgt
command requires the compulsory parameters
-c
and
-ti
, and at least one optional
parameter.
Example
Change
IP address
of the target on controller
A
with the
ID
of
0
.to
128.23.25.26
,
TCP/IP
port
to
1234
, and
Link recovery policy
to
Auto
.
OceanStor: admin> chgtgt -c a -ti 0 -ip 128.23.25.26 -port 1234 -m 1
System Response
When the command is complete, you can run the
showtgt
command to view the result.
9.4.5 disconnecttgt
Function
The command
disconnecttgt
is used to disconnect a target (controller) from the initiator.
Format
disconnecttgt
-c
controller ID
-ti
Target ID
Parameters
Keyword and Value Description
Default Value
-c controller ID
The ID of the connected controller . 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 and administrator level.
Usage Guidelines
None.
Example
Disconnect the target with the
ID
of
1
on controller
A
.
OceanStor S2600 Storage System
Command Reference
9 Value-Added Service Management Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-55