Filter dhcp, Filter dhcp -9 – SMC Networks TigerAccess SMC7816M User Manual
Page 597
P
ACKET
F
ILTERING
C
OMMANDS
23-9
packet filtering if enabled on any interface. This mask will be released
for use by other filtering functions if DHCP packet filtering is disabled
on all interfaces.
Example
filter dhcp
This command filters DHCP reply packets.
Syntax
filter dhcp {add | del} interface
• add - Enables DHCP reply filtering.
• del - Disables DHCP reply filtering.
• interface
- unit - Stack unit. (Range: 1)
- port-list - Single port number or list of ports. (Range: 1-18)
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
• In cases where the client address is dynamically assigned by the service
provider, but you need to ensure that the DHCP service reply is only
obtained through an authorized uplink port, you can use this
command to block DHCP replies from all unauthorized ports
(commonly specifying all data ports).
• To specify a port list, use a hyphen to indicate a range of ports, or a
comma to indicate a group of non-consecutive ports.
• This switch provides a total of 7 masks for filtering functions,
including IP-MAC address packet filtering, NetBIOS packet filtering,
DHCP packet filtering, and ACLs. One mask is allocated to DHCP
packet filtering if enabled on any interface. This mask will be released
Console(config)#filter dhcp-request add 1/1
Console(config)#