D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
343
Chapter 33
Filter Commands
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] | ports [<portlist> | all] state [enable | disable] | illegal_server_log_suppress_duration [1min
| 5min | 30min]]
config filter dhcp_server log [enable | disable]
config filter dhcp_server trap [enable | disable]
show filter dhcp_server
config filter extensive_netbios [<portlist> | all] state [enable | disable]
show filter extensive_netbios
config filter netbios [<portlist> | all] state [enable | disable]
show filter netbios
33-1 config filter dhcp_server
Description
This command has two purposes: to specify to filter all DHCP server packets on the specific port
and to specify to allow some DHCP server packets with pre-defined server IP addresses and client
MAC addresses. With this function, we can restrict the DHCP server to service specific DHCP
clients. This is useful when two DHCP servers are present on the network; one of them can
provide the private IP address and the other can provide the public IP address.
Enabling filter DHCP server port state will create one access profile and create one access rule
per port (UDP port = 67). Filter commands in this file will share the same access profile. Addition of
a permit DHCP entry will create one access profile and create one access rule. Filter commands in
this file will share the same access profile.
Format
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] | ports [<portlist> | all] state [enable | disable] | illegal_server_log_suppress_duration
[1min | 5min | 30min]]
Parameters
add permit server_ip - Specify the IP address of the DHCP server to be permitted.
<ipaddr> - Specify the IP address.
client_mac - (Optional) Specify the MAC address of the DHCP client.
<macaddr> - Specify the MAC address.
ports - Specify the ports.
<portlist> - Specify the range of ports to be configured.
all - Specify to configure all ports.
delete permit server_ip - Specify the delete permit server IP address.
<ipaddr> - Specify the IP address.
client_mac - (Optional) Specify the MAC address of the DHCP client.
<macaddr> - Specify the MAC address.
ports - Specify the ports.
<portlist> - Specify the range of ports to be configured.
all - Specify to configure all ports.