Supported Platforms
Related Documentation
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- DHCP Liveness Detection Overview
- Example: Configuring Group Liveness Detection for DHCP Local Server Clients
- Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients
- MX Series
- Configuring Detection of DHCP Local Server Client Connectivity
Configuring Detection of DHCP Relay or DHCP Relay Proxy Client Connectivity
Liveness detection for DHCP subscriber IP sessions utilizes an active liveness detection protocol to institute liveness detection checks for relevant clients. Clients must respond to liveness detection requests within a specified amount of time. If the responses are not received within that time for a given number of consecutive attempts, then the liveness detection check fails and a failure action is implemented.
![]() | Note: You can also configure DHCP liveness detection for DHCP local server. |
To configure liveness detection for DHCP relay:
- Specify that you want to configure liveness detection.
- For DHCP global configuration:[edit forwarding-options dhcp-relay]user@host# edit liveness-detection
- For DHCP group configuration:[edit forwarding-options dhcp-relay group group-name]user@host# edit liveness-detection
Note: Liveness detection is also supported for DHCPv6 configurations. To configure DHCPv6 liveness detection, include the liveness-detection statement, and any subsequent configuration statements, at the [edit forwarding-options dhcp-relay dhcpv6] or [edit forwarding-options dhcp-relay dhcpv6 group group-name hierarchy level.
- For DHCP global configuration:
- (Optional) Specify that you want to use DHCP relay proxy
mode.[edit forwarding-options dhcp-relay group group-name]user@host# set overrides proxy-mode
- Specify that you want to configure the liveness detection method.
- Specify the liveness detection method that you want DHCP
to use.
Note: In this release, the only method supported for liveness detection is Bidirectional Forwarding Detection (BFD).
- Configure the liveness detection method as desired.
See Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients for an example of how to globally configure DHCP relay liveness detection.
- Configure the action the router takes when a liveness
detection failure occurs.
- For DHCP global configuration:[edit forwarding-options dhcp-relay liveness-detection]user@host# edit failure-action action
- For DHCP group configuration:[edit forwarding-options dhcp-relay group group-name liveness-detection]user@host# edit failure-action action
- For DHCP global configuration:
Related Documentation
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- DHCP Liveness Detection Overview
- Example: Configuring Group Liveness Detection for DHCP Local Server Clients
- Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients
- MX Series
- Configuring Detection of DHCP Local Server Client Connectivity
Published: 2013-02-11
Supported Platforms
Related Documentation
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- DHCP Liveness Detection Overview
- Example: Configuring Group Liveness Detection for DHCP Local Server Clients
- Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients
- MX Series
- Configuring Detection of DHCP Local Server Client Connectivity