23
An interval that is too short might result in removal of valid entries, which would cause unnecessary
floods and possibly affect the device performance.
To reduce floods on a stable network, set a long aging timer or disable the timer to prevent dynamic
entries from unnecessarily aging out. Reducing floods improves the network performance. Reducing
flooding also improves the security because it reduces the chances for a data frame to reach
unintended destinations.
To configure the aging timer for dynamic MAC address entries:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the aging timer for
dynamic MAC address
entries.
mac-address timer
{
aging
seconds
|
no-aging
}
By default, the aging timer for
dynamic MAC address entries is
300 seconds
The
no-aging
keyword disables
the aging timer.
Configuring the MAC learning limit on an interface
This feature limits the MAC address table size. A large MAC address table will degrade forwarding
performance..
To configure the MAC learning limit on an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Configure the MAC learning
limit on the interface.
mac-address max-mac-count
count
By default, the maximum number
of MAC addresses that can be
learned on an interface is not
configured.
Configuring the device to forward unknown
frames after the MAC learning limit on an interface
is reached
In this document, unknown frames refer to frames whose source MAC addresses are not in the MAC
address table.
You can enable or disable forwarding of unknown frames after the MAC learning limit is reached.
To enable the interface to forward unknown frames after the MAC learning limit is reached:
Step Command
Remarks
1.
Enter system view.
system-view
N/A