chportethernet

Use the chportethernet command to configure the permitted uses of ethernet ports and the maximum transmission unit (MTU) setting for the ethernet.

Syntax

Read syntax diagramSkip visual syntax diagramchportethernet-iogrpio_grp_idio_grp_name-hostyesno-storageyesno-replicationyesno-mtumtu-defaultmtuport_id

Parameters

-iogrp iogrp
(Optional) Specifies the I/O group that contains the nodes to modify.
-host yes | no
(Optional) Specifies port that is used for host attach (the existing system settings are retained). Specifying:
  • yes turns on IP host attached functionality for that port (default).
  • no turns off IP host attached functionality for that port.
-storage yes | no
(Optional) Specifies whether the port can be used for backend storage functionality. The values are yes and no.
  • The value yes indicates that this port can be used for backend storage connectivity (default).
  • You must specify no if you are not using backend storage.
-replication yes | no
(Optional) Specifies whether the port can be used for remote copy. The values are yes and no.
-mtu mtu | -defaultmtu
(Optional) Specifies the maximum transmission unit (MTU). The default is 1500, with a maximum of 9000. Specify -defaultmtu to use the default value.
Note:
  • This parameter must be used when you are setting or changing the port MTU value.
  • The port MTU value for the 100 Gbps adapter must be set at 1500. The default port MTU value for 100 Gbps is 1500, and any value other than the default value is not supported.
port_id
(Required) Specifies the port on which changes are applicable. Value can be in between 1 - 16.

An invocation example to disable host attachment for Ethernet port 1 of the nodes in I/O group iogrp0

chportethernet -iogrp iogrp0 -host no 1

The resulting output:

No feedback

An invocation example to modify the MTU setting to 9000 for Ethernet port 2 of the nodes in I/O group 0

chportethernet -iogrp 0 -mtu 9000 2

The resulting output:

No feedback.

An invocation example to disable storage virtualization setting for port 3 for entire system

chportethernet -storage no 3

The resulting output:

No feedback.