Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
The command
chgiscsiroute
is used to set the routing information about an iSCSI host port.
NOTE
The command is applicable only to the iSCSI host ports on the controller of the storage device.
Example
On controller A, set the routing information about iSCSI host port with ID
1
. Set the network
segment of the destination host to 129.16.11.0, subnet mask of the destination host to
255.255.255.0, and gateway of the iSCSI host port to 192.168.1.1.
OceanStor: admin> chgiscsiroute -c a -p 1 -a 129.16.11.0 -s 255.255.255.0 -g
192.168.1.1
5.13.7 chgiscsiname
Function
The command
chgiscsiname
is used to modify the name of an iSCSI host port.
Format
chgiscsiname
-n
iscsiname
Parameters
Keyword and Value
Description
Default Value
-n iscsiname
The changed name of an
iSCSI host port. The name
contains 1 to 32 characters,
including numbers, letters,
underscores, and hyphens.
The first character cannot be
a hyphen. The host port
names must be unique.
None.
Modes
Normal mode.
5 Device Management Commands
OceanStor S2600 Storage System
Command Reference
5-32
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)