Custom table numbering

Enables a user to configure custom table numbers for tables in an OpenFlow pipeline. If the table number is not configured, a default value is given to the table.

Syntax


openflow instance <instance-name> table-num policy-table <table-number>
no openflow instance <instance-name> table-num policy-table <table-number>

Configure custom table-number.

policy-table

Specify the policy table number.

table-num

Specify the software table 1 number.

<0-251>

Flow table number.

Configure table number for flow tables.

switch(of-inst-t1)# table-num policy-table

Changing the table-number for a policy-table

switch(of-inst-t1)# table-num policy-table 1
switch(of-inst-t1)# enable
switch(of-inst-t1)# show openflow instance t1 flow-table

OpenFlow Instance Flow Table Information

Table                       Flow     Available Free   Miss    
ID    Table Name            Count    Flow Count       Count    Goto Table
----- --------------------- -------- ---------------- -------- ------------
0     Start                 1        NA               0        1
1     Policy Table          1        NA               0        200
200   SW Table              1        1                0        *
* Denotes that the pipeline could end here.

Policy table as the first table in the instance.

switch(of-inst-t1)# table-num policy-table 0
switch(of-inst-t1)# enable
switch(of-inst-t1)# show openflow instance t1 flow-table

OpenFlow Instance Flow Table Information

Table                       Flow     Available Free   Miss    
ID    Table Name            Count    Flow Count       Count         Goto Table
----- --------------------- -------- ---------------- ------------- ------------
0     Policy Table          1        NA               0             200
200   SW Table              1        1                NA            *
* Denotes that the pipeline could end here.

Software table as the first table in the instance.

switch(of-inst-t1)# disable
switch(of-inst-t1)# no table-num policy-table
switch(of-inst-t1)# table-num sw-table-1 0
switch(of-inst-t1)# enable
switch(of-inst-t1)# show openflow instance t1 flow-table

OpenFlow Instance Flow Table Information
Table                   Flow   Available Free Miss    
ID    Table Name        Count 	Flow Count     Count     Goto Table
----- ----------------- ----  --------------- --------- ------------
0     SW Table          1     1               NA        *
* Denotes that the pipeline could end here.