Format
chgtgt
-c
controller ID
-ti
target ID
[
-p
port ID
][
-ip
IP address
] [
-port
TCP/IP port
] [
-m
recovery mode
] [
-chap
yes or no
] [
-user
user
-pwd
password
]
Parameters
Keyword and Value Description
Default Value
-c controller ID
The controller ID. The value is A or B, and are case
insensitive.
None.
-ti target ID
The target ID. The value ranges from 0 to 7.
None.
-p port ID
The ID of the iSCSI port . The value can be 0, 1, 2,
or 3.
None.
-ip IP address
The IP address of the iSCSI target. The format is
xx.xx.xx.xx.
None.
-port TCP/IP port
The TCP/IP port ID of the iSCSI target. The value
ranges from 0 to 65535.
None.
-m recovery mode
The link recovery policy. The value can be 1 or 2.
l
The value
1
stands for the
auto
mode.
l
The value 2 stands for the
manual
mode.
None.
-chap yes or no
The parameter decides whether to enable the CHAP
authentication. The value can be 0 or 1.
l
The value
0
stands for
no
. The CHAP
authentication is disabled.
l
The value
1
stands for
yes
. The CHAP
authentication is enabled.
None.
-user user
The CHAP user name.
None.
-pwd password
The CHAP password.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
9 Value-Added Service Management Commands
OceanStor S2600 Storage System
Command Reference
9-54
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)