dhcp
Syntax
dhcp {
boot-file filename;
boot-server (address | hostname);
default-lease-time seconds;
domain-name domain-name;
domain-search [domain-list];
maximum-lease-time seconds;
next-servernext-server
option option-identifier-code ;
static-binding mac-address {
fixed-address {
address;
}
host-name hostname;
client-identifier (ascii client-id | hexadecimal client-id);
}
}
Hierarchy Level
[edit system services]
[edit logical-systems logical -system-name system services]
Release Information
Statement introduced before Junos OS Release 7.4.
The logical-systems option is introduced in Junos OS Release 18.4R1.
Description
Configure a router, or a switch as a DHCP server. A DHCP server can allocate network addresses and deliver configuration information to client hosts on a TCP/IP network.
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.