< Home

dpd msg

Function

The dpd msg command configures the payload sequence of DPD packets on the specified IKE peer.

The undo dpd msg command restores the default payload sequence of DPD packets on the specified IKE peer.

By default, the payload sequence of DPD packets on an IKE peer is seq-hash-notify.

Format

dpd msg { seq-hash-notify | seq-notify-hash }

undo dpd msg

Parameters

Parameter

Description

Value

seq-hash-notify

Indicates that in a DPD packet, the hash payload is before the notify payload.

-

seq-notify-hash

Indicates that in a DPD packet, the notify payload is before the hash payload.

-

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

DPD packets carrying the notify payload and hash payload are exchanged bidirectionally. The notify payload sent by the initiator carries an R-U-THERE message equivalent to a Hello packet, and the notify payload sent by the responder carries an R-U-THERE-ACK message equivalent to an ACK packet.

The payload sequence of DPD packets sent by different devices may be different. IKE peers on both ends must send DPD packets with the same payload sequence; otherwise, DPD does not take effect. You can use the ike dpd msg or dpd msg command to set the same payload sequence of DPD packets on the two ends.

Precautions

This command applies only when an IKE peer uses IKEv1.

If the dpd type command is configured on an IKE peer, the payload sequence of DPD packets on the IKE peer uses the value configured using the dpd msg command. If the ike dpd type command is configured globally, the payload sequence of DPD packets on the IKE peer uses the value configured using the ike dpd msg command.

Example

# Set the payload sequence of DPD packets to hash-notify on the IKE peer huawei.
<sysname> system-view
[sysname] ike peer huawei
[sysname-ike-peer-huawei] dpd msg seq-hash-notify
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >