xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
161
config filter dhcp_server
illegal_server_log_suppress_duration
- Specify the suppress duration of illegal DHCP server
feature.
trap_log
– Enable or disable trap/log related to DHCP server filter.
Restrictions
Only Administratorand 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-3450: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-3450:admin#
To configure the filter DHCP server state:
DGS-3450: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-3450:admin#
To disable log and trap for the DHCP server filter event:
DGS-3450:admin# config filter dhcp_server trap_log disable
Command: config filter dhcp_server trap_log disable
Success.
DGS-3450: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: