OpenFlow commands
In this chapter, an OpenFlow switch is the same as an OpenFlow instance, unless otherwise specified.
active instance
Use active instance to activate or reactivate an OpenFlow instance.
Syntax
active instance
Default
An OpenFlow instance is not activated.
Views
OpenFlow instance view
Predefined user roles
network-admin
Usage guidelines
An OpenFlow instance takes effect only after it is activated.
Reactivating an OpenFlow instance refreshes the configuration data and interrupts communication with
the controllers.
Examples
# Activate OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] active instance
classification vlan
Use classification vlan to associate VLANs with an OpenFlow instance.
Use undo classification to cancel the association.
Syntax
classification vlan vlan-id [ mask vlan-mask ] [ loosen ]
undo classification
Default
An OpenFlow instance is not associated with any VLAN.
Views
OpenFlow instance view
1