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

Reminder

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

upgrade

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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

Function

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

Format

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

Parameters

Parameter

Description

Value

eth_port_id=? ID of a port.

To obtain the value, run "show port general".The value contains 1 to 31 characters, including letters, digits, and periods (.). The value cannot start with a digit or a period (.), or end with a period (.).

ip=? An updated IPv4 address of a port.

The value must be an IPv4 address.

mask=? An updated IPv4 subnet mask of a port.

The value must be an IPv4 subnet mask.

Level

Administrator

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.

Example

To change the IP address to "192.168.3.2" and subnet mask to "255.255.0.0" 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=192.168.3.2 mask=255.255.0.0
DANGER: You are about to change the IP address of Ethernet port.This operation will disconnect the storage system from hosts. 
Suggestion: 
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

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 242157

Downloads: 169

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