C613-50631-01 Rev A Command Reference for IE340 Series 504
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
INTERFACE COMMANDS
MTU
mtu
Overview Use this command to set the Maximum Transmission Unit (MTU) size for interfaces,
where MTU is the maximum packet size that interfaces can transmit. The MTU size
setting is applied to both IPv4 and IPv6 packet transmission.
Use the no variant of this command to remove a previously specified Maximum
Transmission Unit (MTU) size, and restore the default MTU size. For example, the
VLAN interface default is 1500 bytes.
Syntax
mtu <68-1582>
no mtu
Default The default MTU size, for example 1500 bytes for VLAN interfaces.
Mode Interface Configuration
Usage notes If a device receives an IPv4 packet for Layer 3 switching to another interface with
an MTU size smaller than the packet size, and if the packet has the ‘don’t
fragment’ bit set, then the device will send an ICMP ‘destination unreachable’ (3)
packet type and a ‘fragmentation needed and DF set’ (4) code back to the source.
For IPv6 packets bigger than the MTU size of the transmitting interface, an ICMP
‘packet too big’ (ICMP type 2 code 0) message is sent to the source.
Note that show interface output will only show MTU size for VLAN interfaces.
Examples To configure an MTU size of 1555 bytes on vlan2, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# mtu 1555
To restore the MTU size to the default MTU size of 1500 bytes on vlan2, use the
commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# no mtu
Related
commands
show interface
Command
changes
Version 5.4.7-1.1: Behavior change when MTU set to less than 1500 on FS980M and
GS980M.
Version 5.5.1-0.1: Layer 3 jumbo frames supported on SBx908 GEN2 and x950.
Parameter Description
<68-1582> The Maximum Transmission size in bytes.