Hi, everyone! Today I’m going to introduce how to set MTU.
Usage Scenario
Generally, the IP layer limits the size of a packet sent each time. Any time the IP layer receives an IP packet, it checks to which local interface the packet needs to be sent and obtains the MTU of the interface. Then, the IP layer compares the MTU with the packet size. If the packet size is larger than the MTU, the IP layer disassembles the packet into fragments smaller than the MTU.
If forcible unfragmentation is configured, oversized packets are discarded at the IP layer. To prevent packet loss on the network, oversized packets must be forcibly fragmented. You can run the MTU command to set the size of a fragment.
Here is an example of how to set an MTU
<Huawei> system-view
[Huawei] interface virtual-template 10
[Huawei-Virtual-Template10] mtu 1200
Restart the interface to make the configured MTU take effect.
After configuring MTU, to take effect the change, need to restart port using the next ways:
--Run the shutdown command and then the undo shutdown command.
--Run the restart command.
Hope to help you,thanks!



