XG Series User's Guide Chapter 5 Command Reference
VLAN Information Settings
164
5.3.3 Filter Information
This section explains about the commands related to filter information.

5.3.3.1 vlan macfilter

Function Set the MAC filter for VLAN.
Available Model XG0224 / XG0448 / XG2600
Syntax vlan <vid> macfilter <count> <action> <acl>
Options
<vid>
VLAN ID
Specify a VLAN ID with a decimal value.
<count>
Priority
Set the filtering priority to be specified with a decimal value.
A smaller value has a higher priority.
The specified value is sorted and renumbered in sequence. If a filtering definition with
the same value already exists, the existing one will be changed.
<action>
pass
Transmit the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp"
or "acl udp" definition of access control list.
reject
Discard the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or
"acl udp" definition of access control list.
<acl>
ACL definition number
Specify the ACL definition number of the access control list where the packet pattern to
be filtered has been defined.
Use Mode Configuration mode (admin class)
Explanation Set MAC filtering for each VLAN.
For the input packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or
"acl udp" definitions of the access control list which has been specified by <acl>, the filter
processing is executed in the way as specified by <action>.
Range Model
0 to 511 XG0224 / XG0448
0 to 63 XG2600