50Use the undo mac-address max-mac-count command to restore the default maximum number of MACaddresses that can be learned on an Ethernet port.By default, no MAC learning limit is configured.If the command is executed in interface view, the configuration takes effect on the current interface.If the command is executed in port group view, the configuration takes effect on all ports belonging to theport group.Related commands: mac-address and mac-address timer.Examples# Set the maximum number of MAC addresses that can be learned on port GigabitEthernet1/0/1 to600. system-view[Sysname] interface GigabitEthernet1/0/1[Sysname-GigabitEthernet1/0/1] mac-address max-mac-count 600mac-address timerSyntaxmac-address timer { aging seconds | no-aging }undo mac-address timer agingViewSystem viewDefault level2: System levelParametersaging seconds: Sets an aging timer (in seconds) for dynamic MAC address entries. The value rangesfrom 10 to 630 seconds, and the default value is 300 seconds.no-aging: Sets dynamic MAC address entries not to age.DescriptionUse the mac-address timer command to configure the aging timer for dynamic MAC address entries.Use the undo mac-address timer command to restore the default.Set the aging timer appropriately:• A long aging interval may cause the MAC address table to retain outdated entries and fail toaccommodate the latest network changes.• A short aging interval may result in removal of valid entries and unnecessary broadcasts that mayaffect device performance.Examples# Set the aging timer for dynamic MAC address entries to 500 seconds. system-view[Sysname] mac-address timer aging 500