25
Syntax
mac-ip dynamic-mac aware
undo mac-ip dynamic-mac aware
Default
An OpenFlow instance ignores dynamic MAC address messages sent from controllers.
Views
OpenFlow instance view
Predefined user roles
network-admin
Usage guidelines
This command configures an OpenFlow instance to support querying and deleting dynamic MAC
addresses in only MAC-IP flow tables.
When this command is configured, the OpenFlow instance does not send change events for the
dynamic MAC addresses to controllers.
Examples
# Configure OpenFlow instance 1 to support dynamic MAC addresses.
<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