21
Predefined user roles
network-admin
network-operator
Examples
# Display brief OpenFlow instance information.
<Sysname> display openflow summary
Fail-Open mode: Se -- secure mode, Sa -- standalone mode
ID Status Datapath-ID Channel Table-num Port-num Reactivate
1 Active 0x0000000100001221 Connected 2 8 Y
10 Inactive - - - - -
4094 Active 0x00000ffe00001221 Failed(Sa) 2 0 N
Table 9 Command output
Field Description
ID
ID of the OpenFlow instance.
Status
Activation status of the OpenFlow instance:
•
Active
—The OpenFlow instance has been activated.
•
Inactive
—The OpenFlow instance has not been activated.
Datapath-ID
Datapath ID of the OpenFlow instance.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Channel
Status of the connection channel to the controller:
•
Connected
—A secure channel has been established.
•
Failed(Se)
—The connection channel is disconnected from the controller,
and the OpenFlow instance is in secure mode.
•
Failed(Sa)
—The connection 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 included in the OpenFlow instance.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Port-num
Number of ports included in the OpenFlow instance.
If the OpenFlow instance is not activated, this field displays a hyphen (
-
).
Reactivate
Whether the configuration for an OpenFlow instance is changed and whether
the OpenFlow instance needs to be reactivated:
•
Y
—The configuration is changed, and the OpenFlow instance needs to
be reactivated.
•
N
—The configuration is unchanged, and the OpenFlow instance does
not need to be reactivated.
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