Keyword and Value
Description
Default Value
-i port ID
The ID of a host port. The
value ranges from 0 to 255.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
The command
deleteport
is used to delete a specified host port.
Example
Delete host port 0.
OceanStor: admin> deleteport -f -i 0
6.3.13 chgport
Function
The command
chgport
is used to change the name of a host port.
Format
chgport
-i
port ID
-n
name
Parameters
Keyword and Value
Description
Default Value
-i port ID
The ID of a host port. The
value ranges from 0 to 255.
None.
-n name
The port name. The name
contains 1 to 32 characters,
including digits, letters,
underscores, and hyphens.
The first character cannot be
a hyphen. The interface name
is case sensitive, and must be
unique.
None.
OceanStor S2600 Storage System
Command Reference
6 Service Management Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-27