DGS-6604
ip dhcp screening ports
CLI Reference Guide
230
ip dhcp screening ports
Use the command to configure the state of the function for filtering of DHCP
server packet on ports and Use the no form of this command to disable function
on ports.
ip dhcp screening ports
INTERFACE-ID
[, | - ]
no ip dhcp screening ports
INTERFACE-ID
[, | - ]
Default
Not configured
Command Mode
Global configuration mode
Usage Guideline
Use this command to enable per port control of the DHCP server screening
function. If a port is configured to enable DHCP server screening function, it will
deny all DHCP server packets (UDP source port = 67). You can add a permit
binding rule by command "
ip dhcp screening
".
Example
The following example enable the DHCP server screening function on port eth4.1
and eth5.3:
Syntax Description
INTERFACE-ID
The interface should be a physical port or port channel.
,
Specify a series of interface, or separate a range of interfaces from a previous
range. No space before and after the comma.
-
Specify a range of interfaces. No space before and after the hyphen.
switch# configure terminal
switch(config)#ip dhcp screening ports eth4.1,eth5.3