DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
377
49
DHCP
S
ERVER
S
CREENING
S
ETTINGS
Due to this function allow you not only to restrict all DHCP Server packets but also to receive any specified DHCP server packet
by any specified DHCP client, it is useful when one or more than one DHCP servers are present on the network and both provide
DHCP services to different distinct groups of clients.
When DHCP Server Screening function is enabled, all DHCP Server packets will be filtered from a specific port. Also, you are
allowed to create entries for specific Server IP address and Client MAC address binding by port-based. Be aware that the DHCP
Server Screening function must be enabled first. Once all setting is done, all DHCP Server packets will be filtered from a specific
port except those that meet the Server IP Address and Client MAC Address binding.
Command
Parameters
config filter dhcp_server
[ add permit server_ip <ipaddr> { client_mac <macaddr>}
ports [<portlist>| all ] |delete permit server_ip <ipaddr>
{ client_mac <macaddr> } ports [ <portlist> | all ] | state [ enable
| disable ] ]
show filter dhcp_server
config filter dhcp_server trap_log
[ enable | disable]
config filter dhcp_server
illegal_server_log_suppress_duration
[1min | 5min | 30min ]
config filter dhcp_server
Purpose
DHCP server packets except those that have been IP/client MAC bound will be filtered.
This command is used to configure the state of the function for filtering of DHCP server
packet and to add/delete the DHCP server/client binding entry.
Syntax
config filter dhcp_server [ add permit server_ip <ipaddr> { client_mac <macaddr>}
ports [<portlist>| all ] |delete permit server_ip <ipaddr> { client_mac <macaddr> } ports
[ <portlist> | all ] | state [ enable | disable ] ]
Description
This command has two purposes: To filter all DHCP server packets on the specified
port(s) and to allow some DHCP server packets to be forwarded if they are on the pre-
defined server IP address/MAC address binding list. Thus the DHCP server can be
restricted to service a specified DHCP client. This is useful when there are two or more
DHCP servers present on a network.
Parameters
ipaddr – The IP address of the DHCP server to be filtered
macaddr – The MAC address of the DHCP client.
state – Enable/Disable the DHCP filter state
ports <portlist> – The port number to which the DHCP filter will be applied.
Restrictions
Only Administrator level, Operator level or Power User level users can issue this
command.