delay-offer (DHCPv4)
Syntax
delay-offer { based-on (option-60 | option-77 | option-82) { equals { ascii ascii-string; hexadecimal hexadecimal-string; } not-equals { ascii ascii-string; hexadecimal hexadecimal-string; } starts-with { ascii ascii-string; hexadecimal hexadecimal-string; } } delay-time seconds; }
Hierarchy Level
[edit logical-systems name routing-instances name system services dhcp-local-server group group-name interface interface-name overrides] [edit logical-systems name routing-instances name system services dhcp-local-server group group-name overrides] [edit logical-systems name routing-instances name system services dhcp-local-server overrides] [edit logical-systems name system services dhcp-local-server group group-name interface interface-name overrides] [edit logical-systems name system services dhcp-local-server group group-name overrides] [edit logical-systems name system services dhcp-local-server overrides] [edit routing-instances name system services dhcp-local-server group group-name interface interface-name overrides] [edit routing-instances name system services dhcp-local-server group group-name overrides] [edit routing-instances name system services dhcp-local-server overrides] [edit system services dhcp-local-server group group-name interface interface-name overrides] [edit system services dhcp-local-server group group-name overrides] [edit system services dhcp-local-server overrides]
Description
Delay sending a DHCP-offer message to specified clients. The configured server sends the offer message when the delay timer expires. If the client is already bound to another server when it receives this offer message, the DHCPv4 server that delayed the message releases the client. You can change the delay value at any time, but the change applies only to clients from which an offer is received after the change; the new value does not apply to clients for which the response is already delayed.
Configuring the delay on DHCPv4 local servers enables load-balancing among multiple local servers on the network. When a client sends a discover message, the delay prevents more than one server from replying at the same time. The delay applies on a per-client basis. You can configure the clients affected based on DHCPv4 option 60 (vendor class identifier), option 77 (user class identifier), or option 82 (ACI and ARI).
If the configured server receives a second discover message from the client, that means that no other server has responded. In this case, the configured server immediately replies to the client. This behavior enables the server to act as a back-up for other servers on the network.
Options
ascii ascii-string | Value of the option expressed as an ASCII string. |
based-on | Specify the DHCPv4 option received in the discover message that is compared with the configured value on the local server.
|
delay-time seconds | Time delay between receiving DHCPv4 discover message and responding to the client with an offer message.
|
equals | Specify that the received option value from the client must match the configured string. |
hexadecimal hexadecimal-string | Value of the option expressed as a hexadecimal. |
not-equals | Specify that the received option value from the client must not match the configured string. |
starts-with | Specify that the received option value from the client must start with the configured string. |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.1R1.