3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2482 CHAPTER 165: MAC ADDRESS TABLE MANAGEMENT CONFIGURATION COMMANDS
You may need to disable MAC address learning sometimes to prevent the MAC
address table from being saturated, for example, when your device is being
attacked by a great deal of packets with different source MAC addresses. This
somewhat affects update of the MAC address table.
As disabling MAC address learning may result in broadcast storms, you need to
enable broadcast storm suppression after you disable MAC address learning on
a port.
Related command: display mac-address mac-learning.
Example # Disable global MAC address learning.
<Sysname> system-view
[Sysname] mac-address mac-learning disable
# Disable MAC address learning on the interface Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] mac-address mac-learning disable
mac-address max-mac-count (Ethernet interface view)
Syntax mac-address max-mac-count { count | disable-forwarding }
undo mac-address max-mac-count [ disable-forwarding ]
View Ethernet interface view, aggregation port group view
Parameter count: Maximum number of MAC addresses that can be learned on a port. When
the argument takes 0, the VLAN is not allowed to learn MAC addresses. The value
range for this argument varies with devices.
disable-forwarding: Disables forwarding of frames with unknown destination
MAC addresses after the number of learned MAC addresses reaches the upper
limit.
Description Use the
mac-address max-mac-count count command to configure the
maximum number of MAC addresses that can be learned on an Ethernet port.
Use the
mac-address max-mac-count disable-forwarding command to
configure whether forwarding frames with unknown destination MAC addresses
is allowed 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
destination MAC addresses after the number of learned MAC addresses reached
the upper limit.