Disabling Mac Address Learning; Disabling Global Mac Address Learning - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

You can configure a multiport unicast MAC address entry globally or on an interface.
Configuring a multiport unicast MAC address entry globally
Step
1.
Enter system view.
2.
Add or modify a multiport
unicast MAC address entry.
Configuring a multiport unicast MAC address entry on an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Add the interface to a
multiport unicast MAC
address entry.

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

After you disable global MAC address learning, the device cannot learn MAC addresses on all
interfaces.
To disable global MAC address learning:
Step
1.
Enter system view.
2.
Disable global MAC address
learning.
Command
system-view
mac-address multiport
mac-address interface
interface-list vlan vlan-id
Command
system-view
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
mac-address multiport
mac-address vlan vlan-id
Command
system-view
undo mac-address
mac-learning enable
23
Remarks
N/A
By default, no multiport unicast
MAC address entry is configured
globally.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.
Remarks
N/A
N/A
By default, no multiport unicast
MAC address entry is configured
on the interface.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.
Remarks
N/A
By default, global MAC address
learning is enabled.

Advertisement

Table of Contents
loading

Table of Contents