Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

dhcp-local-server

Syntax

dhcp-local-server {authentication {password password-string;username-include {circuit-type;delimiter delimiter-character;domain-name domain-name-string;interface-name ;logical-system-name;mac-address;option-60;option-82 <circuit-id> <remote-id>;routing-instance-name;user-prefix user-prefix-string;}}dhcpv6 {authentication {...}group group-name {authentication {...}interface interface-name {exclude;liveness-detection {failure-action (clear-binding | clear-binding-if-interface-up | log-only);method {bfd {version (0 | 1 | automatic);minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}detection-time {threshold milliseconds;}session-mode(automatic | multihop | singlehop);holddown-interval milliseconds;}}}overrides {interface-client-limit number;process-inform {pool pool-name;}rapid-commit;}service-profile dynamic-profile-name;trace;upto upto-interface-name;}overrides {delegated-pool;interface-client-limit number;process-inform {pool pool-name;}rapid-commit;}service-profile dynamic-profile-name;}liveness-detection {failure-action (clear-binding | clear-binding-if-interface-up | log-only);method {bfd {version (0 | 1 | automatic);minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}detection-time {threshold milliseconds;}session-mode(automatic | multihop | singlehop);holddown-interval milliseconds;}}}overrides {delegated-pool;interface-client-limit number;process-inform {pool pool-name;}rapid-commit;}reconfigure {attempts attempt-count;clear-on-abort;strict;timeout timeout-value;token token-value; trigger {radius-disconnect;}}service-profile dynamic-profile-name;}duplicate-clients-on-interface;dynamic-profile profile-name <aggregate-clients (merge | replace) | use-primary primary-profile-name>;forward-snooped-clients (all-interfaces | configured-interfaces | non-configured-interfaces);group group-name {authentication {...}dynamic-profile profile-name <aggregate-clients (merge | replace) | use-primary primary-profile-name>;interface interface-name {exclude;liveness-detection {failure-action (clear-binding | clear-binding-if-interface-up | log-only);method {bfd {version (0 | 1 | automatic);minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}detection-time {threshold milliseconds;}session-mode(automatic | multihop | singlehop);holddown-interval milliseconds;}}}overrides {client-discover-match <option60-and-option82>;interface-client-limit number;no-arp;process-inform {pool pool-name;}}service-profile dynamic-profile-name;trace;upto upto-interface-name;}overrides {client-discover-match <option60-and-option82>;interface-client-limit number;no-arp;process-inform {pool pool-name;}}service-profile dynamic-profile-name;}liveness-detection {failure-action (clear-binding | clear-binding-if-interface-up | log-only);method {bfd {version (0 | 1 | automatic);minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}detection-time {threshold milliseconds;}session-mode(automatic | multihop | singlehop);holddown-interval milliseconds;}}}overrides {client-discover-match <option60-and-option82>;interface-client-limit number;no-arp;process-inform {pool pool-name;}}pool-match-order {external-authority;ip-address-first;option-82;}reconfigure {attempts attempt-count;clear-on-abort;strict;timeout timeout-value;token token-value; trigger {radius-disconnect;}}service-profile dynamic-profile-name;}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name system services],[edit logical-systems logical-system-name system services],[edit routing-instances routing-instance-name system services],[edit system services]

Release Information

Statement introduced in Junos OS Release 9.0.

Statement introduced in Junos OS Release 12.1 for EX Series switches.

Description

Configure Dynamic Host Configuration Protocol (DHCP) local server options on the router or switch and enable the router or switch to function as an extended DHCP local server. The DHCP local server receives DHCP request and reply packets from DHCP clients and then responds with an IP address and other optional configuration information to the client.

The extended DHCP local server is incompatible with the DHCP server on J Series routers and so is not supported on J Series routers. Also, the DHCP local server and the DHCP/BOOTP relay server, which are configured under the [edit forwarding-options helpers] hierarchy level, cannot both be enabled on the router or switch at the same time. The extended DHCP local server is fully compatible with the extended DHCP relay feature.

The dhcpv6 stanza configures the router or switch to support Dynamic Host Configuration Protocol for IPv6 (DHCPv6). The DHCPv6 local server is fully compatible with the extended DHCP local server and the extended DHCP relay feature.

Note: When you configure the dhcp-local-server statement at the routing instance hierarchy level, you must use a routing instance type of virtual-router.

The remaining statements are explained separately.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Published: 2013-07-11