Example
Set the IP address of the management network interface on the controller A to 10.10.10.1 , the
subnet mask to 255.255.0.0, and the gateway to 10.10.10.0.
OceanStor: admin> chgctrlip -c a -a 10.10.10.1 -s 255.255.0.0 -g 10.10.10.0
3.4.2 showctrlip
Function
The command
showctrlip
is used to query the information about the IP address of the controller.
Format
showctrlip
[
-c
controller ID
]
Parameters
Keyword and Value
Description
Default Value
-c controller ID
The controller ID. The value
is A or B, and is case
insensitive.
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
When using this command, note the following items:
l
The command
showctrlip
is used to query the information about the IP addresses of all
controllers.
l
The command
showctrlip
-c
controller ID
is used to query the information about the IP
address of a specified controller.
Example
Query the information about the IP addresses of all controllers.
OceanStor: admin> showctrlip
Controller IP Address Subnet Mask Gateway MAC Address
A 129.26.10.31 255.255.0.0 0.0.0.0 00:12:34:56:70:46
B 129.26.10.32 255.255.255.0 0.0.0.0 00:12:34:56:79:92
OceanStor S2600 Storage System
Command Reference
3 Basic Operation Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-7