
19-4
Follow these steps to disable MAC address learning on a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Disable MAC address learning
on the VLAN
mac-address mac-learning
disable
Required
Enabled by default
Once MAC learning is disabled in a VLAN, all MAC address entries learnt in the VLAN are removed.
Configuring the Aging Timer for Dynamic MAC Address Entries
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 the 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 aging timer for dynamic MAC address entries:
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 by default.
The aging timer for dynamic MAC address entries takes effect globally on dynamic MAC address
entries (learned or administratively configured) only.
Configuring the MAC Learning Limit
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 on a per-port, port group basis.
Follow these steps to configure the MAC learning limit:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...