Disabling Mac Address Learning; About Disabling Mac Address Learning; Disabling Global Mac Address Learning - H3C S6850 Series Configuration Manual

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

An aging interval that is too long might cause the MAC address table to retain outdated entries. As a
result, the MAC address table resources might be exhausted, and the MAC address table might fail
to update its entries to accommodate the latest network changes.
An interval that is too short might result in removal of valid entries, which would cause unnecessary
floods and possibly affect the device performance.
To reduce floods on a stable network, set a long aging timer or disable the timer to prevent dynamic
entries from unnecessarily aging out. Reducing floods improves the network performance. Reducing
flooding also improves the security because it reduces the chances for a data frame to reach
unintended destinations.
Procedure
1.
Enter system view.
system-view
2.
Set the aging timer for dynamic MAC address entries.
mac-address timer { aging seconds | no-aging }
The default setting is 300 seconds.

Disabling MAC address learning

About disabling MAC address learning

MAC address learning is enabled by default. To prevent the MAC address table from being saturated
when the device is experiencing attacks, disable MAC address learning. For example, you can
disable MAC address learning to prevent the device from being attacked by a large amount of frames
with different source MAC addresses.
After MAC address learning is disabled, the device immediately deletes existing dynamic MAC
address entries.

Disabling global MAC address learning

Restrictions and guidelines
After you disable global MAC address learning, the device cannot learn MAC addresses on any
interfaces.
Global MAC address learning does not take effect on a VPLS VSI or VXLAN VSI. For information
about VPLS VSIs, see MPLS Configuration Guide. For information about VXLAN VSIs, see VXLAN
Configuration Guide.
Procedure
1.
Enter system view.
system-view
2.
Disable global MAC address learning.
undo mac-address mac-learning enable
By default, global MAC address learning is enabled.
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents