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

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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=?





eth_port_id=? ID of a port.

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

ip=? Updated IPv4 address of a port.

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

mask=? 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 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: 2020-01-17

Document ID: EDOC1000181601

Views: 381394

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next