DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
216
all - Specifies that all the port will be used for this configuration.
delete permit - Specifies to delete a DHCP permit.
server_ip - The IP address of the DHCP server to be filtered.
<ipaddr> - Enter the DHCP server IP address here.
client_mac - (Optional) The MAC address of the DHCP client.
<macaddr> - Enter the DHCP client MAC address here.
ports - The port number of filter DHCP server.
<portlist> - Enter the list of ports to be configured here.
all - Specifies that all the port will be used for this configuration.
state - Specifies to enable or disable the filter DHCP server state.
enable - Specifies that the filter DHCP server state will be enabled.
disable - Specifies that the filter DHCP server state will be disabled.
illegal_server_log_suppress_duration - Specifies the same illegal DHCP server IP address
detected will be logged only once within the duration. The default value is 5 minutes.
1min - Specifies that illegal server log suppress duration value will be set to 1 minute.
5min - Specifies that illegal server log suppress duration value will be set to 5 minutes.
30min - Specifies that illegal server log suppress duration value will be set to 30 minutes.
trap_log - Specifies to enable or disable the trap and log function.
enable - Enables the trap and log function.
disable - Disables the trap and log function.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add an entry from the DHCP server filter list in the Switch’s database:
DGS-3000-26TC:admin#config filter dhcp_server add permit server_ip 10.90.90.20
ports 1-20
Command: config filter dhcp_server add permit server_ip 10.90.90.20 ports 1-20
Success.
DGS-3000-26TC:admin#config filter dhcp_server ports 1-10 state enable
Command: config filter dhcp_server ports 1-10 state enable
Success.
DGS-3000-26TC:admin# config filter dhcp_server add permit_server_ip 10.1.1.1
client_mac 00-00-00-00-00-01 port 1-26
Command: config filter dhcp_server add permit_server_ip 10.1.1.1 client_mac 00-
00-00-00-00-01 port 1-26
Success.