Example
Change the system time to 2008-12-17/11:05:00.
OceanStor: admin> chgsystime -t 2008-12-17/11:05:00
4.10 CHAP Setting Command
CHAP setting command is used to create, change, delete, and query CHAP user.
4.10.1 chap
4.10.1 chap
Function
The command
chap
is used to set CHAP-related functions for iSCSI host ports.
Format
chap
{
-adduser -user
username
-password
password
|
-adduser -initiator
initiator name
-
user
username
|
-chgpassword -user
username
-password
password
|
-showuser
[
-initiator
initiator name
] |
-deluser
[
-initiator
initiator name
]
-user
username1...usernameN
|
-
showinitiator
[
-user
username
|
-free
] |
-chgchapuser -initiator
initiator name1...initiator
nameN
-status
{
START
|
STOP
} |
-addinitiator -initiator
initiator name1 ...initiator
nameN
|
-delinitiator -initiator
initiator name1 ...initiator nameN
}
Parameters
Keyword and Value
Description
Default Value
-adduser -user username -
password password
The command provides the
functions of adding a CHAP
user and setting the
password.
l
-user
username
:
CHAP user name. The
name contains 4 to 25
characters, including
numbers, letters,
underscores, and hyphens.
The first character must be
a letter.
l
-password
password
:
The password. It contains
12 to 16 characters.
None.
OceanStor S2600 Storage System
Command Reference
4 System Management Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-33