Command Manual – MAC Address Table Management
H3C S7500E Series Ethernet Switches
Chapter 1 MAC Address Table Management
Configuration Commands
1-8
Use the
undo mac-address max-mac-count
command to remove the restriction on
the maximum number of MAC addresses that can be learned on an Ethernet port.
By default, no maximum number of MAC addresses that can be learned on a port is
configured.
Executed in port view, this command takes effect on the current port; executed in port
group view, this command takes effect on all ports in the port group.
Related commands:
mac-address (system view)
,
mac-address (Ethernet interface
view)
,
mac-address timer
.
Examples
# Set the maximum number of MAC addresses that can be learned on port Ethernet
2/0/1 to 600.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] mac-address max-mac-count 600
1.1.8 mac-address timer
Syntax
mac-address timer
{
aging seconds
|
no-aging
}
undo mac-address timer aging
View
System view
Parameters
aging seconds
: Sets an aging timer in seconds for dynamic MAC address entries, in
the range 10 to 1000000.
no-aging
: Sets dynamic MAC address entries not to age.
Description
Use the
mac-address timer
command to configure the aging timer for dynamic MAC
address entries.
Use the
undo mac-address timer
command to restore the default.
By default the default aging timer is 300 seconds.
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.