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:

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.

  • Enter Layer 2 Ethernet interface view.interface interface-type interface-number

  • Enter Layer 2 aggregate interface view.interface bridge-aggregation interface-number

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.