View
System view
Default level
2: System level
Parameters
aging seconds: Sets an aging timer (in seconds) for dynamic MAC address entries. The value is in the
range of 10 to 1000000 seconds.
no-aging: Sets dynamic MAC address entries not to age.
Description
Use mac-address timer to configure the aging timer for dynamic MAC address entries.
Use undo mac-address timer to restore the default.
By default, the aging timer is 300 seconds.
Follow these guidelines to 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 aging interval may result in removal of valid entries and unnecessary broadcasts that may
•
affect the performance of the switch.
Examples
# Set the aging timer for dynamic MAC address entries to 500 seconds.
<Sysname> system-view
[Sysname] mac-address timer aging 500
mac-flapping notification enable
Use mac-flapping notification enable to enable MAC address migration log notifying.
Use undo mac-flapping notification enable to disable the MAC address migration notifying.
Syntax
mac-flapping notification enable
undo mac-flapping notification enable
Default
MAC address migration log notifying is disabled.
Views
System view
Default command level:
2: System level
Usage guidelines
A MAC address migration log contains a MAC address, ID of the VLAN to which the MAC address
belongs, source interface from which the MAC address migrates, and the current interface with which the
MAC address associates.
70