docs/doc/source/datanet/changing-the-mtu-of-a-data-interface-using-the-cli.rst
Rafael Jardim d6fb867888 Upstreaming WRO
Removed duplicate abbrev definitions

Signed-off-by: Rafael Jardim <rafaeljordao.jardim@windriver.com>
Change-Id: I7910d9f54e158250004abd7e17a4e119f8064252
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-03-31 08:57:23 -04:00

1.1 KiB

Change the MTU of a Data Interface Using the CLI

You can change the value for a data interface from the or the .

You can use commands to lock and unlock hosts, and to modify the on the hosts.

~(keystone_admin)]$ system host-lock <nodeName>
~(keystone_admin)]$ system host-if-modify <nodeName> <interfaceName> --imtu <mtuSize>
~(keystone_admin)]$ system host-unlock <nodeName>

where:

<nodename>

is the name of the host

<interface name>

is the name of the interface

<mtu_size>

is the new value

For example:

~(keystone_admin)]$ system host-if-modify compute-0 enp0s8 --imtu 1496

Note

You cannot set the on an openstack-compute-labeled compute node interface to a value smaller than the largest used on its data networks.