Format
chghost
-i
host ID
-n
host name
Parameters
Keyword and Value
Description
Default Value
-i host ID
The ID of the host to be
changed. The value ranges
from 0 to 255.
None.
-n host name
The new name of the host.
The name contains 1 to 32
characters, including
numbers, letters,
underscores, and hyphens.
The first character cannot be
a hyphen. The name of a host
is case sensitive, and must be
unique.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
The command
chghost
is used to change the host name.
Example
Change the name of host 0 to host_1.
OceanStor: admin> chghost -i 0 -n host_1
6.3.7 deletehost
Function
The command
deletehost
is used to delete a specified host.
Format
deletehost
[
-f
]
-i
host ID
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-21