SmartNA-X 1G/10G Modular | Command Line Reference |
173
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Example
Add the named-match "Ethertype-C-tag" to the Transform named "remove v2 header".
CONTROLLER>
set packetprocessor transform "remove v2 header" named-match Ethertype-C-tag
CONTROLLER>show packetprocessor transform "remove v2 header"
matches:
17, width:1, match:1 (0x1)
Ethertype-C-tag
actions: none
set packetprocessor transform clear match
Use the
set packetprocessor transform clear match
command to remove a match from the transform. Clearing a match
field returns the affected bits to the don't care (X) condition.
Syntax
set packetprocessor transform
transform-name
clear
match
start-bit
Parameters
transform-name
The name of the packet processor match to clear.
start-bit
The position of the starting match bit within the field. The start bit can be seen in the
show packetprocessor
transform
output.
Example
Clear a match field in the Transform named "remove v2 header" starting at bit 17.
CONTROLLER>
set packetprocessor transform "remove v2 header" clear match 17
set packetprocessor transform clear named-match
Use the
set packetprocessor transform clear named-match
command to remove a named-match from the transform.
Clearing a match field returns the affected bits to the don't care (X) condition.
Syntax
set packetprocessor transform
transform-name
clear
named-match
match-name
Parameters
transform-name
The name of the packet processor Transform to clear.
match-name
The name of the preset match to clear. You may use the
show packetprocessor transform
command to see a list of
all the matches and actions that are associated with a transform.
Example
Clear the named-match "Ethertype-C-tag" on the Transform named "remove v2 header".
CONTROLLER>
set packetprocessor transform "remove v2 header" clear named-match "Ethertype-C-tag"