52 | Restricting Traffic with Filters | SmartNA-X 1G/10G Modular
Table 2: Layer 2 headers
Header type
VLAN tag
PCP
MAC addressing
MPLS top of stack label
Filtering options
Filters by VLAN number. The following caveats should be
noted when filtering by VLAN:
•
•
•
You may use the following formats when specifying tags:
•
•
•
•
Filters by Priority Code Point (user priority) from a VLAN
header.
You may use the following formats when specifying levels:
•
•
•
•
Filters by MAC address. You may give either a single
specification to find packets where either the source or the
destination address matches, or separate specifications for
source and/or destination address.
You may use the following formats when specifying MAC
addressing:
•
•
For ARP packets use source for the sender address and
destination for the target address.
Filters by MPLS label. Where the MPLS header for a
packet contains multiple labels, this will test the top label
in the stack.
You may use the following formats when specifying labels:
•
•
•
™
©
SmartNA-X
1G/10G User Guide 1.4
2015 Network Critical Solutions Limited
When a filter is set to permit VID 1, untagged packets
will still be forwarded.
Tagged packets with a VID of 1 will be forwarded
untagged.
Tagged packets with a VID of 0 will be dropped.
100—A single tag
100-110—An inclusive range
0/1—A value/mask pair (here: all even tags)
100, 150—Multiple tags Multiple tags may each use a
range or mask.
2—A single level
2-4—An inclusive range
0/1—A value/mask pair (here all even)
0,2—Multiple levels
01:23:45:67:89:ab—A single address
01:23:45:67:89:ab, 01:23:45:67:89:ac—Multiple
addresses
100—A single label
100-110—An inclusive range
0/1—A value/mask pair (here: all even labels)
Need help?
Do you have a question about the SmartNA-X and is the answer not in the manual?