Configuring the Aging Timer for Dynamic MAC Address Entries
The MAC address table on your device is available with an aging mechanism for dynamic entries to
prevent its resources from being exhausted. Set the aging timer appropriately: a long aging interval may
cause the MAC address table to retain outdated entries and fail to accommodate the latest network
changes; a short interval may result in 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...
Enter system view
Configure the aging timer for
dynamic MAC address entries
The aging timer for dynamic MAC address entries takes effect globally on dynamic MAC address
entries (learned or administratively configured) only.
Configuring the MAC Learning Limit
To prevent a MAC address table from getting so large that it may degrade forwarding performance, you
may restrict the number of MAC addresses that can be learned on a per-port, port group basis.
Follow these steps to configure the MAC learning limit:
To do...
Enter system view
Enter
Ethernet
interface
view, port
group view
Configure the maximum number
of MAC addresses that can be
learned on an Ethernet port view
or port group
Use the command...
system-view
mac-address timer { aging
seconds | no-aging }
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter port group
port-group manual
view
port-group-name
mac-address
max-mac-count count
Use the command...
1-4
Remarks
—
Optional
300 by default.
Remarks
—
Required
Use any of these three
commands.
The configuration you make in
Ethernet interface 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.
Required
The default maximum number
of MAC addresses that can be
learned is not configured.