No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change iscsi target

change iscsi target


The change iscsi target command is used to modify information about the iSCSI link between two disk arrays.


change iscsi target iscsi_id=? [ port=? | remote_ip=? | recovery_policy=? | chap_enabled=? | chap_user=? ]





iscsi_id=? ID of an iSCSI link.

To obtain the value, run "show iscsi target" without parameters.

port=? TCP port ID of a remote device.

The value ranges from 1 to 65,535.

The default value is "3260".

remote_ip=? IP address of a remote device.


recovery_policy=? Link recovery policy.

The value can be "automatic" or "manual", where:

  • "automatic": automatic recovery.
  • "manual": manual recovery.
chap_enabled=? CHAP authentication status.

The value can be "yes" or "no", where:

  • "yes": CHAP authentication is enabled.
  • "no": CHAP authentication is disabled.
chap_user=? CHAP user name.

The value contains 4 to 223 characters (32 < ASCII code < 127) and must start with a letter or a digit.



Usage Guidelines

When the remote target changes, you can run this command to modify information about the iSCSI link between two disk arrays to set up an iSCSI link to the new target.


Change the TCP port ID of the remote target of iSCSI link 1 to 23456.

admin:/>change iscsi target iscsi_id=1 port=23456
DANGER: You are going to change the target. This operation will cause the running services relevant to the target to be interrupted.
Suggestion: Before you perform this operation, ensure that no services exist or all services relevant to the target are stopped.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response


Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 383165

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next