< Home

clear ip df

Function

The clear ip df command enables the function of clearing non-fragment flags in packets.

The undo clear ip df command disables the function of clearing non-fragment flags in packets.

Format

clear ip df

undo clear ip df

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, VLANIF interface view, Tunnel interface view, Loopback interface view, Dialer interface view, Eth-trunk interface view, Eth-trunk sub-interface view, Virtual-Template interface view

Default Level

2: Configuration level

Usage Guidelines

This command applies only to Layer-3 interfaces.

By default, if packets with non-fragment flags are longer than the MTU, the FW clears the non-fragment flags in packets.

The undo clear ip df command takes effect only on the broadcast and multicast packets generated on the FW.

Example

# Enable the function of clearing non-fragment flags in packets.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] clear ip df 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >