Setting the connection interruption mode
An OpenFlow switch is set to either of the following modes when it is disconnected from all controllers:
Secure—In this mode, the OpenFlow switch forwards traffic based on flow tables and does not delete unexpired flow entries.
Standalone—The OpenFlow switch uses the normal forwarding process.
The OpenFlow switch forwards traffic based on flow tables when it reconnects to a controller successfully.
To set the connection interruption mode for an OpenFlow switch:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OpenFlow instance view. | openflow instance instance-id | N/A |
3. Set the connection interruption mode. | fail-open mode { secure | standalone } | By default, the secure mode is used. |