Is the MTU of an interface configurable

3

The maximum transmission unit (MTU) of Layer 3 interfaces is configurable. The MTU of Layer 2 interfaces is not configurable.

Other related questions:
How to configure the MTU for an interface on a CE series switch
The procedure for configuring the MTU for an interface on a CE series switch is described on the right.

How is the MTU of an AR interface changed
The network layer limits the size of data frames. When a network layer device receives an IP packet, it determines the outbound interface and obtains the MTU configured on the interface. The IP layer then compares the MTU with the packet length. If the packet length is longer than the MTU, the device fragments the IP packet. Each fragment has the smaller or equal size as the MTU. If forcible unfragmentation is configured, some packets may be discarded when transmitted at the IP layer. Therefore, large packets must be forcibly fragmented to prevent packet loss on the network. The mtu command is used to set the size of a fragment. The MTU value can be configured for Layer 3 interfaces only. The commands are as follows: [Huawei] interface gigabitethernet1/0/0 [Huawei-GigabitEthernet1/0/0] mtu 1200 [Huawei-GigabitEthernet1/0/0] restart

Can we change MTU for vlan interface ?
yes, we can. For example: [HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] mtu 1492

Why does not the MTU configuration take effect on tunnel interfaces of a switch
The maximum transmission unit (MTU) configuration is valid for packets sent to and from the control plane, but invalid for packets directly forwarded by hardware. To limit the size of packets forwarded by hardware, configure the MTU on physical interfaces.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top