change port eth
Format
change port eth eth_port_id=? { mtu=? [ is_host_port=? ] | work_mode=? } *
change port eth eth_port_id=? { mtu=? [ is_host_port=? ] | running_type=? | 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:
|
running_type=? | Running type of a port. This parameter is not supported in OceanStor 2800 V5 storage systems. | The value can be "host", "management", or "maintenance", where:
|
work_mode=? | Work mode of an Ethernet port. | - |
Example
Change the running type of management/host port "CTE0.A.H4" to host. The ID and command output vary depending on product models.
developer:/>change port eth eth_port_id=CTE0.A.H4 running_type=host DANGER: You are about to change the running type of the management port or maintenance port on the storage device. This operation may cause no management ports or maintenance ports available on the storage device and make functions, such as SNMP, syslog, email, FTP upload, and LDAP-based storage management unavailable. Suggestion: Before performing this operation, ensure that the running type needs to be changed. Before changing the running type from management or maintenance to service, ensure that other functional management ports and maintenance ports can be used to manage and maintain the storage device. 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.