docs/doc/source/datanet/openstack/changing-the-mtu-of-a-data-interface-using-the-cli.rst
Ron Stone 2134828665 Datanet reorg
Split content into kubernetes and openstack to align with refactoring of other docs.
Incorporated review comments
doc/source/_includes/dynamic-vxlan.rest update

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I4c27aa4d1d5d405824eda669d5f484987e7789de
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-04-05 11:39:14 -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.