Instruction restrictions – H3C Technologies H3C S6800 Series Switches User Manual
Page 28
20
Instruction restrictions
Table 2 Instruction restrictions
Instruction type Restrictions
Clear-Actions
The Clear-Actions instruction has the following restrictions:
•
For the single flow table, the flow entries of the table cannot include this
instruction and other instructions at the same time.
•
For multiple flow tables of the pipeline, the device does not support
including this instruction and other instructions at the same time.
Apply-Actions
The action list of the Apply-Actions instruction cannot include multiple Output
actions.
When the action list includes only one Output action, the switch processes the
action list as described in "
Restrictions for merging the action list into the action
."
Write-Metadata/mask
The flow entries of the last table of the pipeline cannot include this instruction.
Otherwise, the switch returns an unsupported flow error.
Goto-Table
Restrictions for merging the action list into the action set
The switch follows the following restrictions to merge the action list into the action set:
•
When the action set and the action list do not contain the Output or Group action, the following
rules apply:
{
If actions in the action set do not overlap with actions in the action list, the switch merges the
action list into the action list.
{
If actions in the action set overlap with actions in the action list, actions in the action list are
replaced with actions in the action set.
•
When the action set and the action list contain the Output action or the Group action, the following
rules apply:
{
If both the action list and the action set contain an Output action, the Output action in the action
list takes precedence. The Output action in the action list does not modify the packet. The
Output action in the action set is executed at the last step of the pipeline processing to modify
the packet.
{
If either the action list or the action set contains an Output action, the port specified by the
Output action is treated as the output port. The actions are executed in the order defined by the
action set rules.
{
If the action list contains an Output action and the action set contains a Group action, the
following rules apply:
−
The Output action does not modify the packet.
−
The Group action is executed.