1
OpenFlow commands
active instance
Use
active instance
to activate 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
After an OpenFlow instance is created or modified, use this command to activate or reactivate the
instance to make the instance take effect. After an OpenFlow instance is reactivated, it disconnects
from all controllers, clears the deployed flow tables, updates the capability set, and then reconnects
to controllers.
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 restore the default.
Syntax
classification
{
global
|
vlan vlan-id
[
mask
vlan-mask
]
[
loosen
]
}
undo
classification
Default
The OpenFlow instance mode is not configured.
Views
OpenFlow instance view
Predefined user roles
network-admin