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 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:

  1. 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.

  2. (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
  3. Specify that you want to configure the liveness detection method.
    • For DHCP global configuration:
      [edit forwarding-options dhcp-relay liveness-detection]user@host# edit method
    • For DHCP group configuration:
      [edit forwarding-options dhcp-relay group group-name liveness-detection]user@host# edit method
  4. 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 forwarding-options dhcp-relay liveness-detection method]user@host# edit bfd
    • For DHCP group configuration:
      [edit forwarding-options dhcp-relay group group-name liveness-detection method]user@host# edit bfd
  5. 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.

  6. 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

Published: 2013-02-11