3com S7906E Instruccion De Instalación
1-6
Disabling MAC address learning on a VLAN
You may disable MAC address learning on a per-VLAN basis.
Follow these steps to disable MAC address learning on a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable global MAC address
learning
learning
undo mac-address
mac-learning disable
mac-learning disable
Optional
Enabled by default
Enter VLAN view
vlan vlan-id
—
Disable MAC address learning
on the VLAN
on the VLAN
mac-address mac-learning
disable
disable
Required
Enabled by default
When global MAC address learning is disabled, the learned MAC addresses remain valid until they age
out.
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. In this
way, dynamic MAC address entries that are not updated within their aging time will be deleted to make
room for new entries, and the MAC address table can be timely updated to accommodate the latest
network changes.
Set the aging timer appropriately: a long aging interval may cause the MAC address table to retain
outdated entries, exhaust the MAC address table resources, and thus fail to update its entries to
accommodate the latest network changes; a short interval may result in the 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
dynamic MAC address entries
mac-address timer { aging
seconds | no-aging }
seconds | no-aging }
Optional
300 seconds by default.