Example
Query the information about all free host ports.
OceanStor: admin> showfreeport
Port Type Port Information Status
FC 2100001b328722d0 Connected
FC 2100001b3287e7b1 Connected
FC 2101001b32a74abc Connected
FC 2100001b32870fd3 Connected
FC 2101001b32a722d0 Connected
FC 2101001b32a7e7b1 Connected
FC 2100001b32874abc Connected
FC 2101001b32a70fd3 Connected
6.3.10 addport
Function
The command
addport
is used to add a host port.
Format
addport
-i
host ID
-t
port type
-I
port information
|
-w
wwn
-n
name
Parameters
Keyword and Value
Description
Default Value
-i host ID
The host ID. The value
ranges from 0 to 255.
None.
-t port type
The type of a host port. The
value can be 0, 1 or 2.
l
0: The FC host port.
l
1: The iSCSI host port.
l
2: The mini SAS host port.
None.
-I port information
The information about iSCSI
host ports. The parameter is
required when the iSCSI host
ports are used as the front-
end host ports.
None.
6 Service Management Commands
OceanStor S2600 Storage System
Command Reference
6-24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)