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

Reminder

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

upgrade

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Level

Administrator

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.

Example

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

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 318196

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next