Mac-Address Max-Mac-Count (Ethernet Interface View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2482
C
165: MAC A
HAPTER
Related command:
Example

mac-address max-mac-count (Ethernet interface view)

Syntax
View
Parameter
Description
T
M
C
DDRESS
ABLE
ANAGEMENT
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.
display mac-address mac-learning.
# 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 { count | disable-forwarding }
undo mac-address max-mac-count [ disable-forwarding ]
Ethernet interface view, aggregation port group view
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.
Use the
mac-address max-mac-count
maximum number of MAC addresses that can be learned on an Ethernet port.
Use the
mac-address max-mac-count disable-forwarding
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
maximum number of MAC addresses that can be learned on an Ethernet port.
Use the
undo mac-address max-mac-count disable-forwarding
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.
C
ONFIGURATION
OMMANDS
count command to configure the
command to
command to restore the default
command

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents