JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
Chapter 38  DHCP Server Commands 
DHCP (Dynamic Host Configuration Protocol) is a network configuration protocol for hosts on 
TCP/IP networks, and it provides a framework for distributing configuration information to 
hosts. DHCP server assigns IP addresses from specified address pools on a switch or router to 
DHCP clients and manages them. 
38.1  service dhcp server 
Description 
The service dhcp server command is used to enable DHCP service globally. 
To disable DHCP server service, please use no service dhcp server 
command. 
Syntax 
service dhcp server 
no service dhcp server 
Command Mode 
Global Configuration Mode 
Example 
Enable DHCP server service globally: 
T3700G-52TQ(config)# service dhcp server 
38.2  option code 
Description 
The  option code  command is used to configure DHCP Server options. To 
delete the DHCP Server options, please use no option code command. 
Syntax 
option 
code
 {ascii | hex | ip-address } 
content 
no option 
code 
Parameter 
code
 ——Specify the extend option code. It ranges from 1 to 254. 
content
 ——Specify the extend option value. 
328