Set Packetprocessor Transform Named-Match - Network Critical SmartNA-X User Manual

Smart network access modular system x 1g/10g network tapping device
Hide thumbs Also See for SmartNA-X:
Table of Contents

Advertisement

172 | Command Line Reference | SmartNA-X 1G/10G Modular
start-bit
The position of the starting match bit within the field. Bits are counted in network order from zero starting from the
first transmitted/received bit of the MAC destination address in the Ethernet header, and ignoring the preamble.
width
The match field width, in bits. The field width is not limited, but not all values are possible over 32 bits wide. It is
possible to set wider fields, but only the least-significant 32 bits are controlled.
value
Value of the match bits. The value has the limits of a signed 32-bit number. A value of -1 will set any field entirely
to 1s. For example, a length of 9 and a value of -1 gives b111111111. The value may be entered in hex using a "0x"
prefix.
Example
Set up a custom match field with the properties of start bit 17, width 1 and value 1 on the Transform named
"remove v2 header".
CONTROLLER>set packetprocessor transform "remove v2 header" match 17 1 1
show packetprocessor transform "remove v2 header"
matches:
17, width:1, match:1 (0x1)
actions: none
CONTROLLER>commit
Committed packet processing

set packetprocessor transform named-match

Use the set packetprocessor transform named-match command to create a match using a named-match.
Named-matches are included as part of the system software and have been configured to match against a range of
common matching requirements for IPv4 and IPv6, transport, GRE (Generic Routing Encapsulation) , and GTP (GPRS
Tunneling Protocol) headers. Each preset has been preconfigured with the start-bit, width and value of the match bits, and
is assigned a case-sensitive, user-friendly name that can be used in transforms.
Examples of named matches include:
Ethertype-IPv4
Match untagged IPv4 packets.
IPv4-protocol-GRE
Match untagged GRE packets delivered by IPv4.
t-Version-IPv6
Match tagged IPv6 packets.
To see the list of named-matches, use the show packetprocessor matches command and the section
Preset
Matches.
Syntax
set packetprocessor transform transform-name named-match match-name
Parameters
transform-name
Specify the name of the packet processor Transform to set.
match-name
Specify the preset match name. The name is case-sensitive.
©
SmartNA-X
1G/10G User Guide 1.4
2015 Network Critical Solutions Limited
Packet Processor

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartNA-X and is the answer not in the manual?

Table of Contents