xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
202
config filter dhcp_server
state
– To Enable/disable the filter DHCP server state.
portlist
– The port list of filter DHCP server.
Restrictions
Only Administrator and Operator level users can issue this command.
Enabling the DHCP filter will create one access profile and create one access rule per port
(UDP port 67).
Addition of a DHCP filter permit entry will create one access profile and create one access
rule (DA = client MAC address, SA = source IP address and UDP port 67).
Example usage:
To add an entry from the DHCP server/client filter list in the switch’s database:
DGS-3627:admin# config filter dhcp_server add permit server_ip 10.1.1.1 client_mac 00-00-
00-00-00-01 ports 1:1-1:3
Command: config filter dhcp_server add permit server_ip 10.1.1.1 client_mac 00-00-00-00-
00-01 ports 1:1-1:3
Success.
DGS-3627:admin#
To configure the filter DHCP server state:
DGS-3627:admin# config filter dhcp_server ports 1:1-1:3 state enable
Command: config filter dhcp_server ports 1:1-1:3 state enable
Success.
DGS-3627:admin#
show filter dhcp_server
Purpose
Used to display current DHCP server/client filter list created on the switch.
Syntax
Show filter dhcp_server
Description
This command is used to display DHCP server/client filter list created on the switch. The log
ceasing unauthorized duration and the log/trap state.
Parameters
None.
Restrictions
None.
Example usage:
To display the DHCP server/client filter list created on the switch the log ceasing unauthorized duration and the log/trap
state: