R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)
4
Step Command Remarks
3. Disable MAC address
learning.
mac-address mac-learning disable
By default, MAC address learning
is enabled on each port.
The learned MAC address entries
are removed after MAC address
learning is disabled.
Configuring the aging timer for dynamic MAC
address entries
The MAC address table uses an aging timer for dynamic MAC address entries for security and efficient
use of table space. If a dynamic MAC address entry has failed to update before the aging timer expires,
the device deletes that entry. This aging mechanism makes sure the MAC address table can promptly
update to accommodate the latest network changes.
Set the aging timer appropriately. Too long an aging interval might cause the MAC address table to
retain outdated entries, exhaust the MAC address table resources, and fail to update its entries to
accommodate the latest network changes. Too short an interval might result in removal of valid entries,
causing unnecessary floods, which could affect device performance.
To configure the aging timer for dynamic MAC address entries:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Configure the aging timer for
dynamic MAC address
entries.
mac-address timer { aging seconds
| no-aging }
Optional.
The no-aging keyword disables the
aging timer.
You can reduce floods on a stable network by disabling the aging timer to prevent dynamic entries from
unnecessarily aging out. By reducing floods, you improve not only network performance, but also
security, because you reduce the chances that a data packet will reach unintended destinations.
Configuring the MAC learning limit on ports
As the MAC address table grows, the forwarding performance of your device might degrade. To prevent
the MAC address table from getting so large that the forwarding performance degrades, you can limit
the number of MAC addresses that a port can learn.
The following matrix shows the command and router compatibility:










