Configures the global MTU (maximum transmission unit) for Layer 2, IPv4, and IPv6.
In SLX-OS, you can use the show running-config command to see see the global MTU configuration.
This example configures the MTU on one device.
efa inventory device system set-mtu --ip 10.25.225.167 --mtu 3000 --ip-mtu 3000 --ipv6-mtu 3000 WARNING: Setting MTU at device level will set MTU for all the interfaces where its not explicitly set. This could cause some issues where traffic is running. Do you want to proceed [y/n]? y Global MTU Updated Successfully +----+---------------+------+--------+----------+---------+--------+ | ID | IP Address | MTU | IP MTU | IPv6 MTU | Result | Reason | +----+---------------+------+--------+----------+---------+--------+ | 1 | 10.25.225.167 | 3000 | 3000 | 3000 | Success | | +----+---------------+------+--------+----------+---------+--------+ Global MTU Details --- Time Elapsed: 23.5212882s ---
This example attempts to configure the MTU for two IP addresses, however one IP address is invalid.
efa inventory device system set-mtu --ip 10.25.225.167,10.10.10.10 --mtu 2500 --ip-mtu 2500 --ipv6-mtu 2500 WARNING: Setting MTU at device level will set MTU for all the interfaces where its not explicitly set. This could cause some issues where traffic is running. Do you want to proceed [y/n]? y Global MTU Updated Successfully +----+---------------+------+--------+----------+---------+------------------ | ID | IP Address | MTU | IP MTU | IPv6 MTU | Result | Reason +----+---------------+------+--------+----------+---------+------------------ | 0 | 10.10.10.10 | | | | Failed | Device does not exist with IP: 10.10.10.10 +----+---------------+------+--------+----------+---------+------------------ | 1 | 10.25.225.167 | 2500 | 2500 | 2500 | Success | +----+---------------+------+--------+----------+---------+------------------ | 1 | 10.25.225.167 | 2500 | 2500 | 2500 | Success | +----+---------------+------+--------+----------+---------+------------------ Global MTU Details --- Time Elapsed: 31.6608056s ---
This example configures the MTU on multiple IP addresses.
efa inventory device system set-mtu --ip 10.25.225.167,10.24.48.131,10.24.51.135 --mtu 3600 --ip-mtu 3600 --ipv6-mtu 3600 WARNING: Setting MTU at device level will set MTU for all the interfaces where its not explicitly set. This could cause some issues where traffic is running. Do you want to proceed [y/n]? y Global MTU Updated Successfully +----+---------------+------+--------+----------+---------+--------+ | ID | IP Address | MTU | IP MTU | IPv6 MTU | Result | Reason | +----+---------------+------+--------+----------+---------+--------+ | 2 | 10.24.51.135 | 3600 | 3600 | 3600 | Success | | +----+---------------+------+--------+----------+---------+--------+ | 1 | 10.25.225.167 | 3600 | 3600 | 3600 | Success | | +----+---------------+------+--------+----------+---------+--------+ | 3 | 10.24.48.131 | 3600 | 3600 | 3600 | Success | | +----+---------------+------+--------+----------+---------+--------+ Global MTU Details --- Time Elapsed: 50.7948311s ---
This example configures the MTU for the specified Fabric name.
efa inventory device system set-mtu --fabric nc_no_vni --mtu 3100 --ip-mtu 3100 --ipv6-mtu 3100 WARNING: Setting MTU at device level will set MTU for all the interfaces where its not explicitly set. This could cause some issues where traffic is running. Do you want to proceed [y/n]? y Global MTU Updated Successfully +----+--------------+------+--------+----------+---------+--------+ | ID | IP Address | MTU | IP MTU | IPv6 MTU | Result | Reason | +----+--------------+------+--------+----------+---------+--------+ | 2 | 10.24.51.135 | 3100 | 3100 | 3100 | Success | | +----+--------------+------+--------+----------+---------+--------+ | 3 | 10.24.48.131 | 3100 | 3100 | 3100 | Success | | +----+--------------+------+--------+----------+---------+--------+ Global MTU Details --- Time Elapsed: 38.1473365s ---