chportethernet
Use the chportethernet command to configure the permitted uses of ethernet ports and the maximum transmission unit (MTU) setting for the ethernet. Changing MTU value of a ethernet port through chportethernet command takes some time to configure MTU in the background. If you want to change the MTU of the ethernet ports, you need to wait for five seconds to reflect the MTU change on the system.
Syntax
Parameters
- (Optional) Specifies the I/O group that contains the nodes to modify.
- (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.
- (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.
- (Optional) Specifies whether the port can be used for replication. The values are yes and no.
- (Optional) Specifies the maximum transmission unit (MTU). The default is 1500, with a maximum of 9000. Specify -defaultmtu to use the default value.
- (Required) Specifies the port on which changes are applicable.
Note:
- Management-only port refers to dedicated ethernet ports for storage management.
- The changes in port attributes are not allowed for a management-only ports.
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
