Mac-Address Max-Mac-Count (Interface View) - H3C S7500E Series Command Reference Manual

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

Advertisement

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 commands: display mac-address mac-learning.
When MAC address learning is disabled, the learned MAC addresses remain valid until they age out.
Examples
# Disable global MAC address learning.
<Sysname> system-view
[Sysname] mac-address mac-learning disable
# Disable MAC address learning on port GigabitEthernet2/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet2/0/1
[Sysname-GigabitEthernet2/0/1] mac-address mac-learning disable
# Disable MAC address learning on VLAN 10.
<Sysname> system-view
[Sysname] vlan 10
[Sysname-vlan10] mac-address mac-learning disable
# Disable MAC address learning on Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-Aggregation 1
[Sysname-Bridge-Aggregation1] mac-address mac-learning disable

mac-address max-mac-count (Interface view)

Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
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 form 0 to 4096.
7-9

Advertisement

Table of Contents
loading

Table of Contents