xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Manual
51
6
config filter dhcp_server
DHCP se
rver 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.
Purpose
config filter d
hcp_server [ add permit server_ip <ipaddr> { client_mac <macaddr>}
ports [ <portlist> | all ] | delete permit server_ip <ipaddr> { client_mac <macaddr> } ports
[ <portlist> | all ] | ports [ <portlist> | all ] state [ enable | disable ] ]
Syntax
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.
Description
ipadd
r – The IP address of the DHCP server to be filtered
Parameters
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.
Only Administrator can issue this comm
and.
Restrictions
Example usage:
To add an entry from the DHCP server/client filter list in the switch’s database:
DES-3200-28F:4#config filter dhcp_server add permit_server_ip 10.1.1.1 client_mac 00-00-00-00-
00-01 port all
Command: config filter dhcp_server add permit_server_ip 10.1.1.1 client_mac 00-00-00-00-00-