TP-Link T1500-28PCT Switch User Manual


 
120
Chapter 18 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 trusted port(s) can forward
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 filte ring 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:
T1500-28PCT(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 forward 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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)