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]
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. Not supported for Layer 2 ARP/ND liveness detection
on MX Series routers.
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. Not supported for Layer 2 ARP/ND liveness
detection on MX Series routers.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 12.1.