Mac-Address Timer - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

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 mac-address max-mac-count disable-forwarding command to configure not to forward
frames with unknown source MAC addresses after the number of learned MAC addresses reaches the
upper limit.
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.
Use the undo mac-address max-mac-count disable-forwarding command to allow forwarding
frames received on an Ethernet port with unknown source MAC addresses after the number of learned
MAC addresses reaches the upper limit.
The default maximum number of MAC addresses that can be learned is not configured. When the upper
limit is reached, frames received are forwarded 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, mac-address timer.
Examples
# Set the maximum number of MAC addresses that can be learned on port GigabitEthernet1/0/1 to 600.
After this upper limit is reached, frames received with unknown source MAC addresses on the port will
not be forwarded.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-address max-mac-count 600
[Sysname-GigabitEthernet1/0/1] mac-address max-mac-count disable-forwarding

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 for
the seconds argument is 10~630.
no-aging: Sets dynamic MAC address entries not to age.
1-7

Advertisement

Table of Contents
loading

Table of Contents