26
Examples
# Configure OpenFlow instance 1 to support matching the dynamic MAC addresses in the flow entry
query and deletion instructions sent from controllers.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] mac-ip dynamic-mac aware
mac-learning forbidden
Use
mac-learning forbidden
to configure OpenFlow to forbid MAC address learning in
VLANs associated with an OpenFlow instance.
Use
undo mac-learning forbidden
to restore the default.
Syntax
mac-learning forbidden
undo mac-learning forbidden
Default
MAC address learning is allowed for VLANs associated with an OpenFlow instance.
Views
OpenFlow instance view
Predefined user roles
network-admin
Examples
# Forbid MAC address learning in VLANs associated with OpenFlow instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] mac-learning forbidden
openflow instance
Use
openflow instance
to create an OpenFlow instance and enter its view, or enter the view of
an existing OpenFlow instance.
Use
undo openflow instance
to remove an OpenFlow instance.
Syntax
openflow instance
instance-id
undo openflow instance
instance-id
Default
No OpenFlow instances exist.
Views
System view
Predefined user roles
network-admin