SmartNA-X 1G/10G Modular | Command Line Reference |
175
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Truncate
Truncate (delete) the specified byte and all bytes beyond it.
Examples
Add an action to Transform "remove v2 header" to exclusive OR the 48th byte with 30.
CONTROLLER>
set packetprocessor transform "remove v2 header" action 48 xor 30
Add an action to Transform "remove v2 header" to delete the bytes from (and including) byte 48.
CONTROLLER>
set packetprocessor transform "remove v2 header" action 48 truncate
CONTROLLER>
show packetprocessor transform "remove v2 header"
matches:
17, width:1, match:1 (0x1)
actions:
384 (byte 48), truncate
set packetprocessor speed
Use the
set packetprocessor speed
command to configure the packet processor ports as 2 x 10G or 4 x 1G ports. This
setting applies to the currently selected slot with a packet processor module present. Note that 10G ports are only possible
when the module is installed in Slot 0 (rear slot) or Slot 1 (front left slot).
Syntax
set packetprocessor speed
{
1G
|
10G
}
Parameters
1G
Set ports
A
,
B
,
C
and
D
to 1G bps.
10G
Set ports
A
and
B
to 10G bps. Note that
C
and
D
ports will no longer pass traffic.
Examples
Set the packet processor module to 1G bps.
CONTROLLER>
set packetprocessor speed 1G
Set the packet processor module to 10G bps.
CONTROLLER>
set packetprocessor speed 10G
show packetprocessor speed
Use the
show packetprocessor speed
command to show the configured speed of the packet processor module. This
setting applies to the selected slot.
Syntax
show packetprocessor speed
Parameters
This command has no arguments or keywords.