22
Field
Description
and the OpenFlow instance is in secure mode.
•
Failed(Sa)
—The OpenFlow channel is disconnected from the controller,
and the OpenFlow instance is in standalone mode.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Table num
Number of flow tables that the OpenFlow instance has.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Port num
Number of ports that belong to the OpenFlow instance.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Reactivate
Whether the OpenFlow instance is required to be reactivated.
N
indicates that
the configuration is unchanged and the OpenFlow instance is not required to
be reactivated.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
fail-open mode
Use
fail-open mode
to set the connection interruption mode for an OpenFlow switch.
Use
undo
fail-open mode
to restore the default.
Syntax
fail-open mode
{
secure
|
standalone
}
undo fail-open mode
Default
The connection interruption mode is
secure
.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
secure
: Configures the OpenFlow switch to use flow tables for traffic forwarding after it is
disconnected from all controllers. The OpenFlow switch does not remove unexpired flow entries.
standalone
: Configures the OpenFlow switch to use the normal forwarding process after it is
disconnected from all controllers.
Examples
# Set the connection interruption mode to
standalone
for OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] fail-open mode standalone
flow-entry max-limit
Use
flow-entry max-limit
to set the maximum number of entries for an extensibility flow table
on an OpenFlow switch.
Use
undo flow-entry max-limit
to restore the default.