User's Manual

Table Of Contents
29-68
Switch can act as both a DHCP server and a DHCP relay. DHCP server supports not only dynamic IP address
assignment, but also manual IP address binding (i.e. specify a specific IP address to a specified MAC address
or specified device ID over a long period. The differences and relations between dynamic IP address
allocation and manual IP address binding are: 1) IP address obtained dynamically can be different every time;
manually bound IP address will be the same all the time. 2) The lease period of IP address obtained
dynamically is the same as the lease period of the address pool, and is limited; the lease of manually bound
IP address is theoretically endless. 3) Dynamically allocated address cannot be bound manually. 4) Dynamic
DHCP address pool can inherit the network configuration parameters of the dynamic DHCP address pool of
the related segment.
29.2 DHCP Server Configuration
DHCP Sever Configuration Task List:
1. Enable/Disable DHCP server
2. Configure DHCP Address pool
(1) Create/Delete DHCP Address pool
(2) Configure DHCP address pool parameters
(3) Configure manual DHCP address pool parameters
3. Enable logging for address conflicts
1. Enable/Disable DHCP server
Command
Explanation
Global Mode
service dhcp
no service dhcp
Enable DHCP server
. The no command
disables DHCP server.
2. Configure DHCP Address pool
(1) Create/Delete DHCP Address pool
Command
Explanation
Global Mode
ip dhcp pool <name>
no ip dhcp pool <name>
Configure DHCP Address pool
. The no
operation cancels the DHCP Address pool.
(2) Configure DHCP address pool parameters
Command
Explanation
DHCP Address Pool Mode
network-address <network-number>
[mask | prefix-length]
no network-address
Configure the address scope that can be
allocated to the address pool
. The no
operation of this command cancels the
allocation address pool.