ECS2020 Series CLI Reference Guide R04

94
23 DHCP v4 server
23.1
Configure commands
DHCP v4 server
Configures the DHCP server parameters, enable the DHCP sever to allow downstream devices to
receives IP address allocations
from the switch.
ip dhcpserver pool
ip dhcpserver mask
ip dhcpserver gate-way
ip address
ip dhcpserver leasetime
ip dhcpserver major
ip dhcpserver minor
ip dhcp server
dhcp-snooping
disabled
Global configuration mode
In the global configuration mode, used to enable and IPv4 DHCP server, to allow client
devices access to switch through the IP address pool allocations configured.
Parameter
Description
ip dhcpserver pool
Configures the v4 server pool.
ip dhcpserver mask
Configures the v4 server mask.
ip dhcpserver gate-way
Configures the v4 server gate-way.
ip dhcpserver leasetime
Configures the v4 server pool leasetime
ip dhcpserver major
Configures the v4 primary client DNS
ip dhcpserver major
Configures the v4 secondary client DNS
ip address
The IP address of the device must be in the same
network segment as the address pool of the sever.
ip dhcp server
Enables the DHCP server function. Use
the “no”
command to disable the function.
dhcp-snooping
Enables dhcp-snooping.
Default
Mode
Usage