6
Usage guidelines
This command takes effect only on OpenFlow connections that the OpenFlow instance establishes
with controllers through TCP.
By default, an OpenFlow instance backs up OpenFlow connections established over TCP on the
subordinate device. This prevents connection interruption when a master/subordinate switchover
occurs.
Examples
# Disable OpenFlow connection backup for OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] controller tcp nsr disable
datapath-id
Use
datapath-id
to set a datapath ID for an OpenFlow instance.
Use
undo datapath-id
to restore the default.
Syntax
datapath-id
id
undo datapath-id
Default
The datapath ID of an OpenFlow instance contains the instance ID and the bridge MAC address of
the device. The lower 16 bits are the instance ID and the upper 48 bits are the bridge MAC address
of the device.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
id
: Specifies the datapath ID for the OpenFlow instance, in the range of 1 to 0xFFFFFFFFFFFFFFFF.
Examples
# Set the datapath ID to
0x123456
for OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] datapath-id 123456
default table-miss permit
Use
default table-miss permit
to change the default action of table-miss flow entries to forward
packets to the normal pipeline.
Use
undo default table-miss permit
to restore the default.
Syntax
default table-miss permit
undo default table-miss permit