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

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 eth

change port eth

Function

The change port eth command is used to modify the properties of an Ethernet port.

Format

change port eth eth_port_id=? { mtu=? [ is_host_port=? ] | work_mode=? } *

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 (.).

mtu=? Size of the largest packet that can be transmitted on a certain layer of a protocol.

The value ranges from 1280 to 9000, expressed in bytes. (If the running type of a maintenance/host port is changed to "host", the value ranges from 1280 to 1500.).

is_host_port=? Whether the port is a host port.

The value can be "yes" or "no", where:

  • "yes": The port is a host port.
  • "no": The port is not a host port.
The default value is "no".
work_mode=? Work mode of an Ethernet port.

-

Level

Administrator

Usage Guidelines

None

Example

  • Set the MTU of the Ethernet port "CTE0.A1.P0" to "1600" bytes. The ID and output vary depending on a specific product.

    admin:/>change port eth eth_port_id=CTE0.A1.P0 mtu=1600
    DANGER: You are about to modify the MTU of the Ethernet port.
    This operation may interrupt services or cause service exceptions.
    Suggestion: Before performing this operation, determine whether the modification is necessary.
    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.
  • Set the work mode of the Ethernet port "CTE0.A3.P0" to "40GE_NOFEC". The ID and output vary depending on a specific product.

    admin:/>change port eth eth_port_id=CTE0.A3.P0 work_mode=40GE_NOFEC
    DANGER: You are about to modify the work mode of Ethernet port. If the work mode of the Ethernet port does not match the work mode of the peer Ethernet port, the operation will interrupt the connection.
    Suggestion: Before performing this operation, you are advised to determine the work mode supported by the peer Ethernet port.
    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: 2020-01-17

Document ID: EDOC1000181601

Views: 380883

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next