R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
5
Ste
p
Command
Remarks
2. Configure the aging
timer for dynamic
MAC address
entries.
mac-address timer { aging
seconds | no-aging }
Optional.
The default aging timer for .dynamic MAC address
entries is 300 seconds.
The no-aging keyword disables the aging timer.
You can reduce floods on a stable network by disabling the aging timer to prevent dynamic entries from
unnecessarily aging out. By reducing floods, you improve not only network performance, but also
security, because you reduce the chances that a data packet will reach unintended destinations.
Configuring the MAC learning limit on ports
As the MAC address table grows, the forwarding performance of your device might degrade. To prevent
the MAC address table from getting so large that the forwarding performance degrades, you can limit
the number of MAC addresses that a port can learn.
To configure the MAC learning limit on a Layer 2 Ethernet interface, Layer 2 aggregate interface, or all
ports in a port group:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or port
group view.
• Enter Layer 2 Ethernet or
aggregate interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use either command.
Settings in interface view take effect only
on the specific interface. Settings in port
group view take effect on all member
ports in the port group.
3. Configure the MAC
learning limit on the
interface or port group.
mac-address max-mac-count
count
By default, the MAC learning limit on an
interface is not configured.
Displaying and maintaining MAC address tables
Task Command
Remarks
Display MAC address table
information.
display mac-address [ mac-address [ vlan vlan-id ] |
[ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole ] [ vlan vlan-id ]
[ count ] ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display the aging timer for
dynamic MAC address
entries.
display mac-address aging-time [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display the system or interface
MAC address learning state.
display mac-address mac-learning [ interface-type
interface-number ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.










