Configuring the DF bit for IP packets
This task configures the Don't Fragment (DF) bit for the IP packets to be forwarded:
set—Sets the DF bit in the IP packets to 1 to prevent the devices on the path from fragmenting the IP packets. If the path MTU is less than the size of the IP packets and DF bit is set, communication interruption occurs. The devices on the path will drop the IP packets and reply ICMP error messages to the IP packet sender.
clear—Sets the DF bit in the IP packets to 0. The devices can fragment the IP packets before forwarding them.
This feature does not apply to IP packets generated by the local device.
To configure the DF bit for IP packets:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the DF bit for IP packets. | ip df-bit { clear | set } | By default, the DF bit value of IP packets is retained as it is. |