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-5
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 seconds by default.
Note:
The MAC address aging timer takes effect globally on dynamic MAC address entries
(learned or administratively configured) only.
1.2.5 Configuring Maximum Number of MAC Addresses an Ethernet Port or a
Port Group Can Learn
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. One
approach is to do this on a per-port or port group basis.
Follow these steps to configure the maximum number of MAC addresses that an
Ethernet port or port group can learn:
To do… Use the command… Remarks
Enter system view
system-view
Enter
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet
port 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.
Configure the maximum
number of MAC
addresses that can be
learned on an Ethernet
port or port group
mac-address
max-mac-count count
Required
No maximum number of
MAC addresses that can
be learned on a port or
port group is configured
by default.