134
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
•
100,150
several tags (use commas to separate values, no spaces)
PCP
level
Filter by Priority Code Point (user priority) from a VLAN header.
You may use the following formats when specifying levels:
• 2—A single level
• 2-4—An inclusive range
• 0/1—A value/mask pair (here all even)
• 0,2—Multiple levels (use commas to separate values, no spaces)
MAC
src
,
dest
,
either
mac-id
Filter by MAC address source, destination, or either. Use one of the following formats to
specify a single MAC address or multiple MAC addresses:
•
01:23:45:67:89:ab
•
01:23:45:67:89:ab,01:23:45:67:89:ac
(use commas to separate values, no spaces)
Address
src
,
dest
,
either
ipv6-address
Filter by IPv6 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.
The following address formats are recognised:
• 2000:abcd:0:0:0:0:77:88—A single address
• 2000:abcd::77:88—A single address (eliding a single run of zero segments) 2000:abcd::77:88-99—A range address
(inclusive)
• 2000::*—A wildcard (here: 2000::0-ffff )
• ::ffff:0:0/96—Prefix (any address starting 0:0:0:0:0:ffff )
• 2000::1,2000::3—Multiple addresses (use commas to separate values, no spaces). Addresses may each use either
ranges and wildcards or prefix notation.
Ranges and wildcards may be used in any segment(s).
Protocol
protocol-number or name
Filter by IP protocol number. You may also use the following names in place of the
number: TCP (6), UDP (17), ICMPv4 (1), SCTP (132), and TCP_UDP (6 and 17). The following number formats are
recognised:
• 1—A single protocol
• 1-2—An inclusive range
• 0/1—A value/mask pair (here: all even protocols)
• 6,17—Multiple protocols (use commas to separate values, no spaces). Multiple protocols may each use a range or
mask.
DSCP
code
Filter by DSCP code. The following code formats are recognized:
• 10—a single code point
• 10–14—An inclusive range
• 0/1—a value/mask pair
• 10,12,14—multiple code points (use commas to separate values, no spaces). Code points may each use a range or
mask.
Customfield
custom-field-name
value
Filter by custom field if a compatible field has been defined. The value entered
here must be within the scope of the field length defined for the custom field. For example, if the custom field was defined
with an 8-bit length, then values of 0-255 are permitted.
Port
src
,
dest
,
either
port-number
Filter by TCP/UDP port number when protocol number 6 (TCP), 17 (UDP) or SCTP
(132) is specified in Layer 3.
You may enter either a single specification to find packets where either the source or the destination port matches, or
separate specifications for source and/or destination port. Common TCP ports include:
• 80, 8080—HTTP
• 443—HTTPS
• 25—SMTP