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

43 lines
1.1 KiB
ReStructuredText

.. hyg1467916541021
.. _changing-the-mtu-of-a-data-interface-using-the-cli:
================================================
Change the MTU of a Data Interface Using the CLI
================================================
You can change the |MTU| value for a data interface from the |os-prod-hor-long|
or the |CLI|.
.. rubric:: |context|
You can use |CLI| commands to lock and unlock hosts, and to modify the |MTU| on
the hosts.
.. code-block:: none
~(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 |MTU| value
For example:
.. code-block:: none
~(keystone_admin)]$ system host-if-modify compute-0 enp0s8 --imtu 1496
.. note::
You cannot set the |MTU| on an openstack-compute-labeled compute node
interface to a value smaller than the largest |MTU| used on its data
networks.