Configuring OpenFlow to forbid MAC address learning

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter OpenFlow instance view.

openflow instance instance-id

N/A

3. Forbid MAC address learning for VLANs associated with the OpenFlow instance.

mac-learning forbidden

By default, MAC address learning is allowed for VLANs associated with an OpenFlow instance.

The configuration does not take effect on inband management VLANs.

This feature is applicable only to OpenFlow instances that are in the VLAN mode.