Excellent question. This is a crucial detail for ensuring VPN stability.
Yes, Dead Peer Detection (DPD) is enabled by default for IKEv2 route-based VPNs on Cisco Firepower Threat Defense (FTD) managed by FMC.
Here are the key details and context you need to know:
How DPD is Handled in IKEv2 on FTD
In the context of IKEv2, the mechanism is often referred to as IKEv2 Keepalives, which serves the same purpose as the traditional DPD found in IKEv1. It is configured within the IKEv2 Policy object in the Firepower Management Center (FMC).
Default Behavior
By default, FTD enables DPD in on-demand mode. This is an important distinction:
- On-Demand (Default): The FTD will only send a keepalive message (an INFORMATIONAL exchange) to the VPN peer if it has traffic to send to that peer but has not received any traffic from the peer in a specified period. This is the most efficient method as it doesn't create unnecessary keepalive traffic when the tunnel is idle.
- Periodic: The FTD will send keepalive messages at a regular, configured interval, regardless of whether there is data traffic to send. This is more proactive but also creates more overhead.
Because the default is on-demand, the tunnel is confirmed to be alive whenever the FTD needs to send traffic through it.
Where to Find and Configure DPD
You can verify and change this setting in the Firepower Management Center (FMC):
- Navigate to Objects > Object Management.
- On the left pane, go to VPN > IKEv2 Policy.
- Either create a new IKEv2 Policy or edit the one you are using for your VPN connection.
- In the policy settings, you will find the Dead Peer Detection section.
Here you will see the following options:
- Action:
on-demand (This is the default)
periodic
disable
- Retry Interval: The time in seconds to wait for a DPD response before retransmitting. (Default is often 30 seconds).
- Retry Count: The number of times to retransmit a DPD message before declaring the peer dead. (Default is often 2 or 3).
If the FTD declares the peer dead after the retries fail, it will tear down the IKE and IPsec Security Associations (SAs) for that peer. For a route-based VPN, this will cause the VTI (Virtual Tunnel Interface) to go down, and the associated static route will be removed from the routing table, allowing for failover if configured.
Route-Based vs. Policy-Based VPN
The DPD mechanism is part of the IKE (Phase 1) negotiations and maintenance. Therefore, its behavior is the same whether you are using a route-based VPN (with a VTI) or a policy-based VPN (with a crypto map). The key is that DPD is configured in the IKEv2 Policy, which is applied to both types of VPNs.
Summary
| Feature | Default Setting on FTD |
|---|
| DPD / IKEv2 Keepalives | Enabled |
| Default Mode | On-Demand |
| Location to Configure | IKEv2 Policy Object (in FMC) |
| Applies to... | Both Route-Based and Policy-Based VPNs |
In short, you can rely on DPD being active by default on your Cisco FTD IKEv2 route-based VPNs without needing to explicitly enable it, but you should always verify the policy settings to ensure they match your network's requirements for failover timing.