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; name-server { address; } next-servernext-server option option-identifier-code ; pool address/prefix-length { address-range { low address; high address; } exclude-address { address; } } router { address; } static-binding mac-address { fixed-address { address; } host-name hostname; client-identifier (ascii client-id | hexadecimal client-id); } wins-server { address; } }
Hierarchy Level
[edit system services] [edit logical-systems logical -system-name system services]
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.
Release Information
Statement introduced before Junos OS Release 7.4.
The logical-systems
option is introduced in Junos
OS Release 18.4R1.