Configuring The Aging Timer For Dynamic Mac Address Entries - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

To do...
Enter system view
Enable global MAC address
learning
Enter
interface view
or port group
view
Disable MAC address learning on
the interface or all ports in the port
group
NOTE:
When MAC address learning is disabled, the obtained MAC addresses remain valid until they age out.
For more information about port groups, see the chapter ―Ethernet interface configuration.‖

Configuring the aging timer for dynamic MAC address entries

The MAC address table uses an aging timer for dynamic MAC address entries for security and efficient
use of table space. If a dynamic MAC address entry has failed to update before the aging timer expires,
the switch deletes the entry. This aging mechanism ensures that the MAC address table can quickly
update to accommodate the latest network changes.
Set the aging timer appropriately. A long aging interval might cause the MAC address table to retain
outdated entries, exhaust the MAC address table resources, and fail to update its entries to accommodate
the latest network changes. A short interval might result in the removal of valid entries and unnecessary
broadcasts, which might 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
You can reduce broadcasts on a stable network by disabling the aging timer to prevent dynamic entries
from unnecessarily aging out. By reducing broadcasts, you improve not only network performance, but
also security, because you reduce the chances that a data packet will reach unintended destinations.
Use the command...
system-view
undo mac-address mac-learning
disable
Enter Layer 2
Ethernet interface
interface interface-type interface-
view or Layer 2
number
aggregate interface
view
Enter port group
port-group manual port-group-
view
name
mac-address mac-learning
disable
Use the command...
system-view
mac-address timer { aging
seconds | no-aging }
Remarks
Optional
300 seconds by default.
23
Remarks
Optional
Enabled by default.
Required
Use either command.
The configuration made in Layer
2 Ethernet or Layer 2 aggregate
interface view takes effect on the
current interface only. The
configuration made in port
group view takes effect on all
the member ports in the port
group.
Required
Enabled by default.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents