The dpd msg notify-hash-sequence learning command enables automatic learning of the payload sequence of DPD packets.
The undo dpd msg notify-hash-sequence learning command disables automatic learning of the payload sequence of DPD packets.
By default, automatic learning of the payload sequence of DPD packets is enabled.
When DPD is used to detect the IKEv1 peer status, the payload sequence of DPD packets on both ends must be consistent. Otherwise, DPD does not take effect, and even the IPSec tunnel between both ends flaps.
If the local end does not know the payload sequence of DPD packets sent from the remote end, run the dpd msg notify-hash-sequence learning command on the local end to enable automatic learning of the payload sequence of DPD packets. When the local end receives a DPD packet from the remote end, the local end learns the payload sequence of the DPD packet and sends a DPD packet in the same payload sequence.