Award Winning Solutions
Xena has won multiple global awards for price/performance and technical innovation. Learn more.

Technical Expertise
Copyright © 2009-2023 Teledyne LeCroy Xena ApS, Denmark
Explanation |
The full list of which match terms are defined for a port. These are the sub-index values that are used for the parameters defining the content-based matching of packets received for the port.
Setting the value of this parameter creates a new empty match term for each value that is not already in use, and deletes each match term that is not mentioned in the list. The same can be accomplished onematch-term-at-a-time using the PM_CREATE and PM_DELETE commands.
|
mid: |
integer, the sub-index of a match term definition for the port. |
Summary |
set and get, value types: I* |
Example, set or get: |
0/1 PM_INDICES 1 3 |
Explanation |
Creates an empty match term definition with the specified sub-index value.
|
mid: |
integer, the sub-index value of the match term definition to create. |
Summary |
set only, match term index. |
Example, set: |
0/1 PM_CREATE [3] |
Explanation |
Deletes the match term definition with the specified sub-index value. A match term cannot be deleted while it is used in the condition of any filter for the port.
|
mid: |
integer, the sub-index value of the match term definition to delete. |
Summary |
set only, match term index. |
Example, set: |
0/1 PM_DELETE [3] |
Explanation |
The protocol segments assumed on the packets received on the port.
This is mainly for information purposes, and helps you identify which portion of the packet header is being matched. The actual value definition of the match position is specified with PM_POSITION.
|
mid: |
integer, the sub-index value of the match term definition. |
segment: |
coded integer, a number specifying a built-in protocol segment: Uses the same coded values as the PS_HEADERPROTOCOLparameter. |
Summary |
set and get, match term index, value types: B* |
Example, set or get: |
0/1 PM_PROTOCOL [3] ETHERNET VLAN |
Explanation |
The position within each received packet where content matching begins for the port. |
mid: |
integer, the sub-index value of the match term definition. |
byteoffset: |
integer, offset from the start of the packet bytes. |
Summary |
set and get, match term index, value types: I |
Example, set: |
0/1 PM_POSITION [3] 14 |
Explanation |
The value that must be found at the match term position for packets received on the port. The mask can make certain bit positions don’t-care.
|
mid: |
integer, the sub-index value of the match term definition. |
mask: |
eight hex bytes, which bits are significant in the match operation. |
value: |
eight hex bytes, the value that must be found for the match term to be true. |
Summary |
set and get, match term index, value types: HHHHHHHH,HHHHHHHH |
Example, set: |
0/1 PM_MATCH [3] 0x0FFF000000000000 0x0123000000000000 |
Explanation |
Multi-parameter query, obtaining all the parameters for a specific match term.
|
mid: |
integer, the sub-index value of the match term definition. |
Summary |
get only, match term index. |
Example, set: |
0/1 PM_PROTOCOL [3] ETHERNET VLAN 0/1 PM_POSITION [3] 14 0/1 PM_MATCH [3] 0x0FFF000000000000 0x0123000000000000 |
Explanation |
Multi-parameter query, obtaining all parameters for all match terms defined on a port. |
||||||||||||||||||||||||
Summary |
get only. |
||||||||||||||||||||||||
Example, get: |
0/1 PM_MATCH [3] 0x0FFF000000000000 0x0123000000000000 |