176
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Examples
Show packet processor speed.
CONTROLLER>
show packetprocessor speed
Configured as 4 x 1G
set port packetprocessor transform
Use the
set port packetprocessor transform
command to apply a Transform to a port.
Each port supports eight Transforms, numbered 1 to 8. The
show port
command can be used to view what transforms
have been applied to a port. If all the matches of a Transform match the packet contents, the actions associated with that
Transform will be taken. The lowest numbered Transform only will be actioned, and all higher numbered transforms will
be ignored (lowest numbered Transform takes priority).
To see a list of Transforms, use the
show packetprocessor transforms
command. The pre-configured Transforms are
Packet Processor Preset Matches
section.
Syntax
set port
port -id
packetprocessor transform
transform-number
transform-name
Parameters
port-id
Port to set, either A, B, C or D.
transform-name
The name of the packet processor Transform to set.
transform-number
The Transform number, 1-8 to set. Lower numbers have higher priority.
Examples
Apply "remove v2 header" as Transform 7 to port 1A.
SLOT1>
set port A packetprocessor transform 7 "remove v2 header"
SLOT1>
commit
Committed packet processing
set port packetprocessor clear transform
Use the
set port packetprocessor clear transform
command to clear a port transform.
Syntax
set port
port -id
packetprocessor clear transform
transform-number
Parameters
port-id
Port to set, either A, B, C or D.
transform-number
The Transform number, 1-8 to clear.