You can configure the MTU (maximum transmission unit) at the system level or at the physical port level for Layer 2, IPv4, and IPv6.
Tip
In SLX-OS, you can use the show interface ethernet command to see the current MTU configuration for an interface.
You can change the MTU for one or more IP addresses or for a specified fabric. For more configuration examples, see the ExtremeCloud Orchestrator Command Reference, 3.2.1 .
Note
The efa inventory device interface set-mtu command is an operational (or exec) command, not a configuration command. With operational commands, there is no configuration persistence, no drift identification, and no configuration reconciliation. You run operational commands as needed.This example configures the MTU on multiple IP addresses.
efa inventory device interface set-mtu --ip 10.25.225.167,10.24.48.131, 10.24.51.135 --if-name 0/20-22 --mtu 3600 --ip-mtu 3600 --ipv6-mtu 3600 +---------------+-----+------+----------------+------+--------+----------+--------- | DeviceIP | ID | Name | Interface Type | MTU | IP MTU | IPv6 MTU | Result +---------------+-----+------+----------------+------+--------+----------+--------- | 10.25.225.167 | 9 | 0/21 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 89 | 0/20 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 1 | 0/22 | ethernet | 3600 | 3600 | 3600 | Success +---------------+-----+------+----------------+------+--------+----------+--------- | 10.24.48.131 | 142 | 0/20 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 148 | 0/22 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 110 | 0/21 | ethernet | 3600 | 3600 | 3600 | Success +---------------+-----+------+----------------+------+--------+----------+--------- | 10.24.51.135 | 16 | 0/21 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 48 | 0/22 | ethernet | 3600 | 3600 | 3600 | Success + +-----+------+----------------+------+--------+----------+--------- | | 86 | 0/20 | ethernet | 3600 | 3600 | 3600 | Success +---------------+-----+------+----------------+------+--------+----------+--------- Interface MTU Details --- Time Elapsed: 59.5462548s ---
This example configures the MTU for the specified fabric name.
efa inventory device interface set-mtu --fabric nc_no_vni --if-name 0/20-22,0/55-58 --mtu 3200 --ip-mtu 3200 --ipv6-mtu 3200 +-------+-----+--------+---------+-----+-----+-----+--------+-------------------------- |Device | ID | Name |Interface| MTU | IP |IPv6 | Result | Reason |IP | | |Type | | MTU |MTU | | +-------+-----+--------+---------+-----+-----+-----+--------+-------------------------- |10.24 | 16 | 0/21 |ethernet | 3200| 3200| 3200| Success| |.51.135| | | | | | | | + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 48 | 0/22 |ethernet | 3200| 3200| 3200| Success| + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 86 | 0/20 |ethernet | 3200| 3200| 3200| Success| + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 0 | 0/55-58|ethernet | 0 | 0 | 0 | Failed | Interfaces [0/55-58] | | | | | | | | | do not exist for device | | | | | | | | | IP 10.24.51.135 | | | | | | | | | Specify a valid interface +-------+-----+--------+---------+-----+-----+-----+--------+-------------------------- |10.24 | 0 | 0/55-58|ethernet | 0 | 0 | 0 | Failed | Interfaces [0/55-58] |.48.131| | | | | | | | does not exist for | | | | | | | | | device IP 10.24.51.131 | | | | | | | | | Specify a valid interface + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 110 | 0/21 |ethernet | 3200| 3200| 3200| Success| + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 148 | 0/22 |ethernet | 3200| 3200| 3200| Success| + +-----+--------+---------+-----+-----+-----+--------+-------------------------- | | 142 | 0/20 |ethernet | 3200| 3200| 3200| Success| +-------+-----+--------+---------+-----+-----+-----+--------+-------------------------- Interface MTU Details --- Time Elapsed: 37.3021602s ---
This example unsets the MTU and IP-MTU from an interface.
efa inventory device interface unset-mtu --ip 10.20.24.10 --if-name=0/6 --mtu –ip-mtu +------------+----+------+----------+------+-----+------+--------+-------+ | DeviceIP | ID | Name | Interface| MTU | IP | IPv6 | Result | Reason| | | ID | | Type | MTU | MTU | MTU | | | +------------+----+------+----------+------+-----+------+--------+-------+ | 10.20.24.10| 451| 0/6 | ethernet | true | true| false| Success| | +------------+----+------+----------+------+-----+------+--------+-------+ Interface MTU Details --- Time Elapsed: 6.469215243s ---
Note
Drift and Reconcile does not enforce the unset-mtu setting and enables an OOB (out-of-band) change to stay on the device.