During the initial configuration of an S2600 on a deployment site, Huawei engineers tried to bind iSCSI ports on the CLI, but an error occurred. The S2600 is configured with a single controller. The command is as follows:
chgiscsiip -c A -p 0 -a 172.23.20.151 -s 255.255.255.0 -m 1
The error information is displayed as follows:
Error chgiscsiip: The command format is wrong.
Usage: chgiscsiip -c controller ID [-p Port ID] -a IP address -s subnet mask -m config mode
Try 'clihelp -h chgiscsiip' for more information
The correct command is as follows:
OceanStor: test1> chgiscsiip -c A -a 172.23.20.151 -s 255.255.255.0 -m 1
This operation will lead to interrupt the service!
Do you want to continue? y or n:y