TP-Link TL-SG2424 Switch User Manual


 
Chapter 19 DHCP Filtering Commands
DHCP Filtering functions to monitor the process of hosts obtaining IP addresses from DHCP
Servers by configuring the desired port(s) as Trusted Port(s). Only the hosts connected to the
trusted port(s) can receive DHCP packets from DHCP servers. In this way, the switch can devoid
of DHCP cheating attack which will cause network confusion and security problem.
ip dhcp filtering
Description
The ip dhcp filtering command is used to enable DHCP Filtering function. To
disable please use no ip dhcp filtering command.
Syntax
ip dhcp filtering
no ip dhcp filtering
Command Mode
Global Configuration Mode
Example
Enable the DHCP Filtering:
TL-SG2424(config)# ip dhcp filtering
ip dhcp filtering trust
Description
The ip dhcp filtering trust command is used to configure a port to be a Trusted
Port. Only the trusted ports can receive DHCP packets from DHCP servers. To
turn the port back to a distrusted port, please use no ip dhcp filtering trust
command.
Syntax
ip dhcp filtering trust
no ip dhcp filtering trust
Command Mode
Interface Configuration Mode interface gigabitEthernet / interface range
ethernet
128