No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change port ipv4_address

change port ipv4_address


The change port ipv4_address command is used to change the IPv4 address of a specific port.


change port ipv4_address eth_port_id=? ip=? mask=?






ID of a port.

To obtain the value, run "show port general".


An updated IPv4 address of a port.

The IPv4 address cannot start with 0 or an integer from 224 to 255.


An updated IPv4 subnet mask of a port.




Usage Guidelines

  • Running this command interrupts the connection between the storage system and the application sever.
  • Before running this command, check whether there are redundant links. If there is no redundant link, stop services running on the application sever before you run this command.
  • Before running this command, check that the specified IP address is available.
  • The IP address of a host port cannot reside on the same network segment as that of the management network port.


To change the IP address to "" and subnet mask to "" for the port whose ID is "ENG0.A3.P0", run the following command. The ID and output vary depending on a specific product.

admin:/>change port ipv4_address eth_port_id=ENG0.A3.P0 ip= mask= 
DANGER: You are about to change the IP address of Ethernet port.This operation will disconnect the storage system from hosts. This operation will also clear the configured routes on the IP address that is modified on this port. 
1. Check whether there are redundant connections to hosts. If there are no redundant connections, stop host services. 
2. Ensure that the entered IP address is available. 
Have you read danger alert message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.

System Response


Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 122834

Downloads: 153

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next