interface (DHCP Local Server)
Syntax
interface interface-name { access-profile profile-name; exclude; overrides { asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; delay-advertise { based-on (option-15 | option-16 | option-18 | option-37) { 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; } 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; } dual-stack dual-stack-group-name; interface-client-limit number; rapid-commit; } service-profile dynamic-profile-name; short-cycle-protection <lockout-min-time seconds> <lockout-max-time seconds>; trace; upto upto-interface-name; }
Hierarchy Level
[edit system services dhcp-local-server group group-name], [edit system services dhcp-local-server dhcpv6 group group-name], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server ...], [edit logical-systems logical-system-name system services dhcp-local-server ...], [edit routing-instances routing-instance-name system services dhcp-local-server ...]
Description
Specify one or more interfaces, or a range of interfaces,
that are within a specified group on which the DHCP local server is
enabled. You can repeat the interface
statement to specify multiple interfaces within a group,
but you cannot specify the same interface in more than one group.
Also, you cannot use an interface that is being used by the DHCP relay
agent.interface-name
DHCP values are supported in integrated routing and bridging (IRB) configurations. When you configure an IRB interface in a network that is using DHCP, the DHCP information (for example, authentication, address assignment, and so on) is propagated in the associated bridge domain. This enables the DHCP server to configure client IP addresses residing within the bridge domain. IRB currently supports only static DHCP configurations.
Options
exclude
—Exclude an interface
or a range of interfaces from the group. This option and the overrides
option are mutually exclusive.
interface-name
—Name of
the interface. You can repeat this option multiple times.
upto-interface-name
—Upper
end of the range of interfaces; the lower end of the range is the
interface-name entry. The interface device name of the upto-interface-name
must be the same as the device
name of the interface-name
.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
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 9.0.
Options upto
and exclude
introduced in
Junos OS Release 9.1.