failure-action
Syntax failure-action (clear-binding | clear-binding-if-interface-up | log-only);
Hierarchy Level [edit system services dhcp-local-server liveness-detection],
[edit system services dhcp-local-server dhcpv6 liveness-detection],
[edit forwarding-options dhcp-relay liveness-detection],
[edit forwarding-options dhcp-relay dhcpv6 liveness-detection],
[edit system services dhcp-local-server group group-name liveness-detection],
[edit system services dhcp-local-server dhcpv6 group group-name liveness-detection],
[edit forwarding-options dhcp-relay group group-name liveness-detection],
[edit forwarding-options dhcp-relay dhcpv6 group group-name liveness-detection]
Release Information Statement introduced in Junos OS Release 12.1.
Statement introduced in Junos OS Release 12.3R2 for EX Series switches.
Description Configure the action the router (or switch) takes when a liveness detection failure occurs.
Options Default: clear-binding
clear-binding—The DHCP client session is cleared when a liveness detection failure occurs,
except when maintain-subscribers interface-delete setting is configured and active.
clear-binding-if-interface-up—The DHCP client session is cleared only when a liveness
detection failure occurs and the local interface is detected as being up. Use this
setting to distinguish failures from between a liveness detection failure due to a local
network error, and a host disconnecting from the network. If the client binding is in
the maintain-binding Finite State Machine (FSM) state when the liveness detection
failure detection occurs, then the binding is not deleted.
log-only—A message is logged to indicate the event; no action is taken and DHCP is left
to manage the failure and maintain the client binding.
Required Privilege
Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related
Documentation
• DHCP Liveness Detection Overview on page 95
• Configuring Detection of DHCP Local Server Client Connectivity on page 96
• Configuring Detection of DHCP Relay or DHCP Relay Proxy Client Connectivity on
page 98
• Example: Configuring Group Liveness Detection for DHCP Local Server Clients
• Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients
Copyright © 2017, Juniper Networks, Inc.202
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches