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