EasyManua.ls Logo

Network Critical SmartNA-X - Page 144

Network Critical SmartNA-X
233 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
139
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
SET FILTER IPV4
Use the set filter ipv4 command to create a filter for IPv4 packets. If no other conditions are specified, the filter
matches all packets of type IPv4. Additional IPv4 conditions can be specified to further refine the match
conditions. For example, specifying the VLAN number limits matches to those IPv4 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 ipv4 [ipv4-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.
ipv4-conditions (Optional) Provides additional filtering conditions for the specified protocol. All
conditions must be satisfied for the filter to match. For IPv4 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.
The following caveats should be noted when filtering by VLAN:
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 by SmartNA-X.
[
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:acMultiple 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, ICMPV4, TCP_UDP.

Table of Contents

Other manuals for Network Critical SmartNA-X