Configuring MAC address learning

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter VSI view.

vsi vsi-name [ hub-spoke ]

N/A

3. Enable MAC address learning for the VSI.

mac-learning enable

By default, MAC address learning is enabled for a VSI.

4. Set the maximum number of MAC addresses that the VSI can learn.

mac-table limit mac-limit

By default, the number of MAC addresses that a VSI can learn is not limited.