Skip to main content
SANtricity commands

Set iSCSI target properties

Contributors netapp-driley

The set iscsiTarget command defines properties for an iSCSI target.

Supported Arrays

This command applies to any individual storage array, including the E2700, E5600, E2800, E5700, EF600 and EF300 arrays, as long as all SMcli packages are installed.

Roles

To execute this command on an E2800, E5700, EF600, or EF300 storage array, you must have the Storage Admin role.

Note

This command is deprecated and is replaced by the Set target properties command.

Syntax

set iscsiTarget ["userLabel"]
authenticationMethod=(none | chap) |
chapSecret=securityKey |
targetAlias="userLabel"

Parameters

Parameter Description

iscsiTarget

The iSCSI target for which you want to set properties. Enclose the userLabel in double quotation marks (" "). You must also enclose the userLabel in square brackets ([ ]) if the user label is a target alias or angle brackets (< >) if the user label is an iSCSI Qualified Name (IQN).

authenticationMethod

The means of authenticating your iSCSI session.

chapSecret

The security key that you want to use to authenticate a peer connection.

targetAlias

The new name that you want to use for the target. Enclose the name in double quotation marks (" ").

Notes

Challenge Handshake Authentication Protocol (CHAP) is a protocol that authenticates the peer of a connection. CHAP is based upon the peers sharing a secret. A secret is a security key that is similar to a password.

Use the chapSecret parameter to set up the security keys for initiators that require a mutual authentication. The CHAP secret must be between 12 characters and 57 characters. This table lists the valid characters.

Space

!

"

#

$

%

&

'

(

)

*

,

-

.

/

0

1

2

3

4

5

6

7

8

9

:

;

<

=

>

?

@

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

[

\

]

^

_

'

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

{

|

}

~

Minimum firmware level

7.10

8.41 This command is deprecated.