Step
2.
Enter interface view.
3.
Disable MAC address
learning on the interface.
Disabling MAC address learning on a VLAN
When global MAC address learning is enabled, you can disable MAC address learning on a per-VLAN
basis.
To disable MAC address learning on a VLAN:
Step
1.
Enter system view.
2.
Enable global MAC address
learning.
3.
Enter VLAN view.
4.
Disable MAC address
learning on the VLAN.
Configuring the aging timer for dynamic MAC
address entries
For security and efficient use of table space, the MAC address table uses an aging timer for each
dynamic MAC address entry. If a dynamic MAC address entry is not updated before the aging timer
expires, the device deletes the entry. This aging mechanism ensures that the MAC address table can
promptly update to accommodate latest network topology changes.
A stable network requires a longer aging interval, and an unstable network requires a shorter aging
interval.
Command
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
•
Enter S-channel interface view:
interface s-channel
interface-number.channel-id
•
Enter S-channel aggregate
interface view:
interface schannel-aggregation
interface-number:channel-id
undo mac-address mac-learning
enable
Command
system-view
mac-address mac-learning enable
vlan vlan-id
undo mac-address mac-learning
enable
27
Remarks
N/A
By default, MAC address
learning on the interface is
enabled.
Remarks
N/A
By default, global MAC address
learning is enabled.
N/A
By default, MAC address learning
on the VLAN is enabled.