Configuring MAC Address Table Management 175
n
Do not configure a static or dynamic MAC address entry on an aggregation port.
Configuring MAC
Address Aging Timer
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 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 MAC address aging timer:
n
The MAC address aging timer takes effect globally on dynamic MAC address 
entries (learned or administratively configured) only.
Configuring the
Maximum Number of
MAC Addresses an
Ethernet Port or a Port
Group Can Learn
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. One approach is to do this on a per-port or port group basis.
Follow these steps to configure the maximum number of MAC addresses that an 
Ethernet port or port group can learn:
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.
To do… Use the command…  Remarks 
Enter system view system-view - 
Enter 
Ethernet 
port or 
port group 
view 
Enter Ethernet port 
view 
interface interface-type 
interface-number 
Required
Use either command to 
configure on a port or ports 
in a group. 
Enter port group 
view 
port-group { aggregation 
agg-id | manual 
port-group-name }
Configure the maximum 
number of MAC addresses that 
can be learned on an Ethernet 
port or port group.
mac-address 
max-mac-count count 
Required
The maximum number of 
MAC addresses that can be 
learned on a port or port 
group is not configured by 
default.