Setting the MAC learning limit on an interface
This feature limits the MAC address table size. A large MAC address table will degrade forwarding performance.
To set the MAC learning limit on an interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view. | interface interface-type interface-number | N/A |
3. Set the MAC learning limit on the interface. | mac-address max-mac-count count | By default, the maximum number of MAC addresses that can be learned on an interface is not set. |