ipv4 force-fragment enable

Function

The ipv4 force-fragment enable command enables forced IPv4 packet fragmentation.

The undo ipv4 force-fragment command disables forced IPv4 packet fragmentation.

By default, forced IPv4 packet fragmentation is not enabled.

Format

ipv4 force-fragment enable

undo ipv4 force-fragment

Parameters

None

Views

Slot view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

By default, forced IPv4 packet fragmentation is not enabled. When the length of an IPv4 packet received by an interface on the device is greater than the MTU of the interface and the DF flag in the IPv4 packet is set to 1, the device will discard this packet and send an ICMP packet to its upstream device. If forced IPv4 packet fragmentation is enabled on the device, the device will fragment the packet before sending it.

When the device is connected to a device with a small interface forwarding capacity, you are advised to enable forced IPv4 packet fragmentation to prevent long packets from being discarded.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable forced IPv4 packet fragmentation.
<HUAWEI> system-view
[~HUAWEI] slot 1
[~HUAWEI-slot-1] ipv4 force-fragment enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >