remark ip-df

Function

The remark ip-df command re-sets the value of the DF field in a packet.

The undo remark ip-df command prevents any changes on the DF field in a packet.

By default, re-setting the value of the DF field in a packet is not configured in traffic behavior view.

Format

remark ip-df dfvalue

undo remark ip-df [ dfvalue ]

Parameters

Parameter Description Value
dfvalue

Specifies the value of the DF field in a packet, which indicates whether the packet is fragmentable.

The value is an integer ranging from 0 to 1. Value 0 indicates that the packet can be fragmented; value 1 indicates that the packet cannot be fragmented.

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

If the length of a packet is greater than the MTU value of the interface, and the DF field value of the packet is 1, the packet is discarded, which may cause service interruption. In this case, you can run this command to re-set the value of the DF field to make the packet fragmentable.

Precautions

The remark ip-df command is applied only to incoming packets. This command is used to set the DF field in the packets to 0 or 1, which indicates that the packet can or cannot be fragmented during transmission.

This command re-marks only the outermost label of packets.

Example

# Set the DF field value in a packet to 0.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] remark ip-df 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >