Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Detection of DHCP Local Server Client Connectivity

Liveness detection for DHCP subscriber IP sessions or DHCP client 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 relay.

To configure liveness detection for DHCP local server:

  1. Specify that you want to configure liveness detection.
    • For DHCP global configuration:
      [edit system services dhcp-local-server]user@host# edit liveness-detection
    • For DHCP group configuration:
      [edit system services dhcp-local-server 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 system services dhcp-local-server dhcpv6] or [edit system services dhcp-local-server dhcpv6 group group-name] hierarchy level.

  2. Specify that you want to configure the liveness detection method.
    • For DHCP global configuration:
      [edit system services dhcp-local-server liveness-detection]user@host# edit method
    • For DHCP group configuration:
      [edit system services dhcp-local-server group group-name liveness-detection]user@host# edit method
  3. 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).

    • For DHCP global configuration:
      [edit system services dhcp-local-server liveness-detection method]user@host# edit bfd
    • For DHCP group configuration:
      [edit system services dhcp-local-server group group-name liveness-detection method]user@host# edit bfd
  4. Configure the liveness detection method as desired.

    See Example: Configuring Group Liveness Detection for DHCP Local Server Clients for an example of how to configure DHCPv4 groups for DHCP local server liveness detection.

  5. Configure the action the router takes when a liveness detection failure occurs.
    • For DHCP global configuration:
      [edit system services dhcp-local-server liveness-detection]user@host# edit failure-action action
    • For DHCP group configuration:
      [edit system services dhcp-local-server group group-name liveness-detection]user@host# edit failure-action action

Published: 2013-04-01