23
Syntax
flow-entry max-limit
limit-value
undo
flow-entry max-limit
Default
An OpenFlow instance supports a maximum of 65535 entries for an extensibility flow table.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
limit-value
: Specifies the maximum number of flow entries. The value range for this argument is
1 to 65535.
Examples
# Configure OpenFlow instance 1 to have a maximum of 256 entries in each extensibility flow table.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] flow-entry max-limit 256
flow-table
Use
flow-table
to configure the flow table type and the flow table ID for an OpenFlow instance.
Use
undo
flow-table
to restore the default.
Syntax
flow-table
{
extensibility
extensibility-table-id
&<1-n>
|
mac-ip
mac-ip-table-id
}*
undo flow-table
Default
An OpenFlow instance has an extensibility flow table with ID 0.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
extensibility
extensibility-table-id
: Specifies an extensibility flow table by its ID in
the range of 0 to 254.
mac-ip
mac-ip-table-id
: Specifies a MAC-IP flow table by its ID in the range of 0 to 254.
&<1-n>: Specifies the maximum number of flow tables that can be configured. The value for n varies
by device model. You can create only one MAC-IP flow table for an OpenFlow instance.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
The ID you enter for an extensibility flow table must be larger than the ID for an MAC-IP flow table.