H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – MAC Address Table Management
H3C S7500E Series Ethernet Switches
Chapter 1 MAC Address Table Management
Configuration
1-4
1.2.3 Disabling MAC Address Learning on an Ethernet Port or Port Group
After enabling global MAC address learning, you may disable the function on a per-port
basis as needed.
Follow these steps to disable MAC address learning on a port or port group:
To do… Use the command… Remarks
Enter system view
system-view
—
Enable global MAC
address learning
undo mac-address
mac-learning disable
Optional
Enabled by default.
Enter
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet
port view
or port
group
view
Enter port
group view
port-group
{ aggregation agg-id |
manual port-group-name}
Required
Use either command to
configure on a port or
ports in a group.
Disable MAC address
learning on an Ethernet
port or port group
mac-address
mac-learning disable
Required
Enabled by default.
Note:
z When global MAC address learning is disabled, the learned MAC addresses remain
valid until they age out.
z For configuration about port groups, refer to Port Correlation Configuration.
1.2.4 Configuring MAC Address Aging Timer
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 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 MAC address aging timer: