1
OpenFlow commands
active instance
Use
active instance
to activate or reactivate an OpenFlow instance.
Use
undo active instance
to deactivate an OpenFlow instance.
Syntax
active instance
undo active instance
Default
An OpenFlow instance is not activated.
Views
OpenFlow instance view
Predefined user roles
network-admin
Usage guidelines
To change the VLAN configuration or flow table configuration of an activated OpenFlow instance,
perform the following tasks:
1.
Use the
undo active instance
command to deactivate the OpenFlow instance.
If you do not deactivate the OpenFlow instance first, the system prompts an error.
2.
Modify the VLAN configuration or flow table configuration for the OpenFlow instance.
3.
Use the
active instance
command to reactivate the instance to make the configuration change
take effect.
Examples
# Activate OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] active instance
classification
Use
classification
to configure the OpenFlow instance mode.
Use
undo
classification
to remove the configuration.
Syntax
classification
{
global
|
vlan
vlan-id
[
mask
vlan-mask
] [
loosen
] }
undo
classification
Default
The OpenFlow instance mode is not configured.
Views
OpenFlow instance view