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

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

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".

ip=?

An updated IPv4 address of a port.

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

mask=?

An updated IPv4 subnet mask of a port.

-

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. This operation will also clear the configured routes on the IP address that is modified on this port. 
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-07-16

Document ID: EDOC1100049140

Views: 122834

Downloads: 153

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