142
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
SET FILTER IPV6
Use the set filter ipv6 command to create a filter for IPv6 packets. If no other conditions are specified, the filter
matches all packets of type IPv6. Additional IPv6 conditions can be specified to further refine the match
conditions. For example, specifying the VLAN number limits matches to those IPv6 packets which have the
specified VLAN header information. Multiple conditions can also be specified where all conditions must be
satisfied before a filter is considered a match. Packets matching an applied filter will either be passed or dropped,
depending the criteria specified in the set map command.
Command form set filter name-string ipv6 [ipv6-conditions …]
name-string Specifies the filter name. The name may contain spaces, but if it does, it must be
contained in quotes “…”; the name itself may not contain the quotes character.
Filter names are case-sensitive.
ipv6-conditions (Optional) Provides additional filtering conditions for the specified protocol. All
conditions must be satisfied for the filter to match. For IPv6 packets, the following
additional filtering conditions may be specified:
[
vlan vl-value] (Optional) Filters on the specified value matching the VLAN number.
For vl-value, the following formats are recognized:
• 100 – A single tag
• 100–110 – A range (inclusive)
• 0/1 – A value/mask pair (here: all even tags)
• 100,150 – Multiple tags. Use commas (no spaces) to separate VLANs.
[
mac src mac-value] (Optional) Filters on the specified value matching the source
MAC address. For mac-value, the following formats are recognized:
• 01:23:45:67:89:ab – A single address
• 01:23:45:67:89:ab,01:23:45:67:89:ac – Multiple addresses. Use commas (no
spaces) to separate addresses.
•[
mac dest mac-value] (Optional) Filters on the specified value matching the
destination MAC address.
•[
mac either mac-value] (Optional) Filters on the specified value matching either the
source or destination MAC address.
[
protocol ptcl-value] (Optional) Filters on the specified value matching the specified
protocol type. ptcl-value may be an Assigned Internet Protocol Number or one of the
following keywords:
TCP, UDP, TCP_UDP.
Note that no keyword exists to filter packets by ICMPv6, but you can still do so by
specifying the protocol number (58) instead.
[
dscp dscp-value] (Optional) Filters on the specified value matching the DSCP
number. Use commas if specifying multiple DSCP values.