P
ACKET

F

ILTERING

C

OMMANDS

23-5

Packet Filtering Commands
This section describes commands used to configure packet filtering for
inbound traffic.
Note: Packet Filtering occupies valuable hardware resources. Using
Private VLANs provides a more efficient alternative for separating
the traffic sent to each subscriber (see “Configuring Private
VLANs” on page 32-17).

filter ipmac

This command filters packets matching the specified source MAC and IP
address.
Syntax
filter ipmac add interface MAC-address IP-address
filter ipmac del interface [MAC-address [IP-address]]
add - Adds a MAC and IP address pair to filter.
del - Deletes all filtering entries, or an entry for a MAC and IP
address pair.
•interface
-unit - Stack unit. (Range: 1)
-port-list - Single port number or list of ports. (Range: 1-18)
• MAC-address - Physical address of source.
• IP-address - IP address of source.
Table 23-3 Packet Filter Commands
Command Function Mode Page
filter ipmac Filters packets matching specified MAC address
and IP address
GC 23-5
filter netbios Filters NetBIOS packets GC 23-7
filter
dhcp-request
Filters DHCP request packets GC 23-8
filter dhcp Filters DHCP re ply packets GC 23-9
show filter Displays packet filter settings PE 23-10