![Huawei Quidway S8500 Series Command Manual Download Page 1027](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_1694791027.webp)
Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 2 MAC Address Table Management
Commands
Huawei Technologies Proprietary
2-6
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet3/1/3
[Quidway-Ethernet3/1/3] mac-address max-mac-count 600
[Quidway-Ethernet3/1/3] mac-address max-mac-count enable forward alarm
# Cancel the alarm function
[Quidway-Ethernet3/1/3] undo mac-address max-mac-count enable alarm
2.1.6 mac-address max-mac-count enable forward
Syntax
mac
-
address max
-
mac
-
count enable forward
undo mac
-
address max
-
mac
-
count enable forward
View
Ethernet port view
Parameter
None
Description
Use the
mac-address max-mac-count enable forward
command to enable the
switch to forward the packets whose source MAC addresses have not been learned by
ports when the number of automatically learned MAC addresses of a specified port
exceeds maximum number of learned MAC addresses.
Use the
undo mac
-
address max
-
mac
-
count enable forward
command to discard
the packets whose source MAC addresses have not been learned by ports when the
number of automatically learned MAC addresses of a specified port exceeds maximum
number of learned MAC addresses.
By default, the switch forwards the packets whose source MAC addresses have not
been learned by ports when the number of automatically learned MAC addresses of a
specified port exceeds maximum number of learned MAC addresses.
Related commands:
mac
-
address
,
mac
-
address timer
.
Example
# Set the maximum number of learned MAC addresses of Ethernet port Ethernet3/1/3
to 600, so that the switch discards the packets whose source addresses have not been
learned by ports when the number of automatically learned MAC addresses exceeds
600.
<Quidway> system-view