Configure table number for a flow table
This command is used to configure a table number for a flow table. If the table number is not configured, a default value is given to the table. Table number configuration is supported only on standard-match pipeline-model.
If user does not configure table number for a given table, that table retains its default value.
If any table uses table number as 0, the default table 0 is not configured in the pipeline. In standard match pipeline-model, user can configure either policy table or the first software table as table 0. When the software table is configured as table 0, the OpenFlow pipeline has no H/W table at all.
Standard Match |
|
---|---|
Flow Table |
Table Number |
Start |
0 |
Policy Table |
100 |
S/W Table 1 |
200 |
S/W Table 2 |
201 |
S/W Table 3 |
202 |
S/W Table 4 |
203 |
Syntax
openflow instance <instance-name> table-num
no openflow instance <instance-name> table-num
switch(of-inst-t1)# table-num policy-table
Configure table number for flow tables.
policy-table
Specify the policy table number.
sw-table-#
Specify the software table 1 number.
<0-254>
Flow table number.
Flow policy table
switch(of-inst-t1)# table-num policy-table <0-254> Flow table number. switch(of-inst-t1)# table-num sw-table-1 <0-254> Flow table number. switch(of-inst-t1)# table-num sw-table-2 <0-254> Flow table number. switch(of-inst-t1)# table-num sw-table-3 <0-254> Flow table number. switch(of-inst-t1)# table-num sw-table-4 <0-254> Flow table number.