docs/doc/source/datanet/openstack/changing-the-mtu-of-a-data-interface-using-the-cli.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00: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.