
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
296
Chapter 35 DHCP Server
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.
service dhcp
Description
The
service dhcp
command is used to enable DHCP service globally, including
DHCP Server and DHCP Relay function. To disable DHCP service, please use
no service dhcp
command.
Syntax
service dhcp
no service dhcp
Command Mode
Global Configuration Mode
Example
Enable DHCP service globally:
T2700G-28TQ(config)# service dhcp
ip dhcp server exclude-address
Description
The
ip dhcp server exclude-address
command is used to specify the reserved
IP addresses which are forbidden to allocate, such as the gateway address, the
network segment broadcast address, the server address etc. To delete the
reserved IP addresses, please use
no ip dhcp server exclude-address
command.
Syntax
ip dhcp server exclude-address
start-ip-address end-ip-address
no
ip dhcp server exclude-address
start-ip-addr end-ip-address
Parameter
start-ip-address
——
Specify the start IP address of the reserved IP pool.