Configuring the mac learning limit – H3C Technologies H3C S7500E Series Switches User Manual
Page 118
9-7
accommodate the latest network changes; a short interval may result in the removal of valid entries
and hence unnecessary broadcasts, which may affect device performance.
Follow these steps to configure the aging timer for dynamic MAC address entries:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the aging timer for
dynamic MAC address entries
mac-address timer
{ aging
seconds
| no-aging }
Optional
300 seconds by default.
The MAC address aging timer takes effect globally on dynamic MAC address entries (learned or
administratively configured) only.
In a stable network, when there has been no traffic activity for a long time, all the dynamic entries
in the MAC address table maintained by the device will be deleted. When it happens, the device
broadcasts a large amount of data packets, which may be listened to by unwanted users, resulting
in security hazards. In this case, you can configure mac-address timer no-aging for dynamic
MAC address entries, that is, not to age out dynamic MAC address entries, thus reducing
broadcasts and ensuring the stability and security of the network.
Configuring the MAC Learning Limit
As the MAC address table is growing, the forwarding performance of your device may degrade. To
prevent the MAC address table from getting so large that the forwarding performance is affected, you
can limit the number of MAC addresses that can be learned on a port.
Follow these steps to configure the MAC learning limit on an Ethernet port, or the Ethernet ports in a
port group or ONU port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface
view
interface interface-type
interface-number
Enter port group view
port-group manual
port-group-name
Enter Ethernet
interface view,
port group
view, or ONU
port view
Enter ONU port view
interface onu
interface-number
Use any of these three
commands.
The configuration you make in
Ethernet interface view or ONU
port view takes effect on the
current interface only; the
configuration you make in port
group view takes effect on all the
member ports in the port group.