Setting the MAC learning priority of an Ethernet service instance
A VSI uses the MAC learning priority to control MAC address learning of its Ethernet service instances. An Ethernet service instance with high MAC learning priority takes precedence over an Ethernet service instance with low MAC learning priority when they learn the same MAC address. For example:
A MAC address entry of a high-priority Ethernet service instance can be overwritten only when the MAC address is learned on another high-priority Ethernet service instance.
A MAC address entry of a low-priority Ethernet service instance is overwritten when the MAC address is learned on a high-priority Ethernet service instance or another low-priority Ethernet service instance.
To set the MAC learning priority of an Ethernet service instance:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. |
| N/A |
3. Enter Ethernet service instance view. | service-instance instance-id | N/A |
4. Set the MAC learning priority of the Ethernet service instance. | mac-address mac-learning priority { high | low } | By default, the MAC learning priority of an Ethernet service instance is low. This setting takes effect only after the Ethernet service instance is mapped to a VSI. |