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 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 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).
create iscsi target

create iscsi target

Function

The create iscsi target command is used to create a target. Run this command if a storage system needs to implement functions such as LUN copy and remote replication with a remote device over iSCSI links.

Format

create iscsi target local_control_id=? local_port_id=? remote_ip=? [ chap_user=? | chap_enabled=? | port=? | recovery_policy=? ] *

Parameters

Parameter

Description

Value

local_control_id=? ID of a local controller to which a iSCSI link routes.

The value is in the format of "XA", "XB", "XC", "XD",where the "X" is an integer ranging from

0 to 3, for example: "0A", "1C".

local_port_id=? ID of an Internet Small Computer System Interface (iSCSI) host port.

To obtain the value, run "show port general".

remote_ip=? IP address of a remote device.

-

chap_user=? Name of a CHAP user.

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

chap_enabled=? Switch of the Challenge Handshake Authentication Protocol (CHAP) authentication function.

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

  • "yes": The CHAP authentication function will be enabled.
  • "no": The CHAP authentication function will be disabled.
The default value is "no".
port=? ID of the employed port on a remote device.

The value ranges from "1" to "65535".The default value is "3260".

recovery_policy=? An iSCSI link recovery policy.

The value can be:

  • "automatic": indicates automatic recovery.
  • "manual": indicates manual recovery.
The default value is "automatic".

Level

Administrator

Usage Guidelines

Running this command with chap_enabled=? set to "yes" will prompt you to type CHAP passwords in interaction mode. The passwords are subject to the following

conditions:

  • Each password is case sensitive and contains 12 to 16 characters.
  • Each password must be a combination of at least two of the following items:
    • Lowercase characters
    • Uppercase characters
    • Numbers
    • Special characters and the following: ` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ]

      ; : ' " , < . > / ?

  • Each password must be different from a user name that is either in its normal or

reverse order.

Example

To create a target, where the local controller is controller "0A", the ID of the employed port is "ENG0.A3.P0", the port ID is "3260", the IP address of the remote device is "192.168.4.3", and the link recovery policy is automatic.

admin:/>create iscsi target local_control_id=0A local_port_id=ENG0.A3.P0 remote_ip=192.168.4.3
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 273195

Downloads: 1556

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