Mac-Address Timer - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

disable-forwarding: Disables forwarding of frames with unknown source MAC addresses after the
number of learned MAC addresses reaches the upper limit. Frames with the source MAC addresses
listed in the MAC address table will be forwarded normally.
Description
Use the mac-address max-mac-count count command to configure the maximum number of MAC
addresses that can be learned on a port.
Use the undo mac-address max-mac-count command to restore the default maximum number of
MAC addresses that can be learned on an Ethernet port.
No MAC learning limit is configured by default.
If the command is executed in interface view, the configuration takes effect on the current interface; if
the command is executed in port group view, the configuration takes effect on all ports belonging to the
port group.
Related commands: mac-address and mac-address timer.
Examples
# Set the maximum number of MAC addresses that can be learned on port GigabitEthernet2/0/1 to
600..
<Sysname> system-view
[Sysname] interface GigabitEthernet2/0/1
[Sysname-GigabitEthernet2/0/1] mac-address max-mac-count 600

mac-address timer

Syntax
mac-address timer { aging seconds | no-aging }
undo mac-address timer aging
View
System view
Default Level
2: System level
Parameters
aging seconds: Sets an aging timer (in seconds) for dynamic MAC address entries. The value range
form 0 to 1000000 and 300 seconds by default.
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.
Set the aging timer appropriately: a long aging interval may cause the MAC address table to retain
outdated entries and fail to accommodate the latest network changes; a short interval may result in
removal of valid entries and hence unnecessary broadcasts which may affect device performance.
Examples
# Set the aging timer for dynamic MAC address entries to 500 seconds.
7-10

Advertisement

Table of Contents
loading

Table of Contents