5
controller mode
Use
controller mode
to set the controller mode for an OpenFlow instance.
Use
undo
controller mode
to restore the default.
Syntax
controller mode
{
multiple
|
single
}
undo controller mode
Default
The controller mode is
multiple
.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
multiple
: Specifies the
multiple
mode.
single
: Specifies the
single
mode.
Usage guidelines
In
single
mode, the OpenFlow switch connects to only one controller at a time. When
communication with the current controller fails, the OpenFlow instance uses another controller.
In
multiple
mode, the OpenFlow switch simultaneously connects to all controllers. If one or more
controllers become invalid or disconnected, the OpenFlow switch continues to exchange messages
with the rest of the controllers.
Examples
# Set all controllers of OpenFlow instance 1 to operate in
single
mode.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] controller mode single
controller tcp nsr disable
Use
controller tcp nsr disable
to disable OpenFlow connection backup.
Use
undo controller tcp nsr disable
to restore the default.
Syntax
controller tcp nsr disable
undo controller tcp nsr disable
Default
OpenFlow connection backup is enabled.
Views
OpenFlow instance view
Predefined user roles
network-admin