5
Step Command
Remarks
2.
Add or modify a multiport
unicast MAC address entry.
mac
-
address multiport
mac
-
address
interface
interface-list
vlan
vlan
-
id
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.
Configuring a multiport unicast MAC address entry on an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
•
Enter Layer 2 Ethernet
interface view:
interface
interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
N/A
3.
Add the interface to a
multiport unicast MAC
address entry.
mac
-
address multiport
mac
-
address
vlan
vlan
-
id
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.
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, existing dynamic MAC address entries age out when the
aging timer expires.
Disabling global MAC address learning
After you disable global MAC address learning, the device stops learning MAC addresses on all
interfaces.
The global MAC address learning configuration does not take effect on a VPLS VSI or an S-channel.
For information about VSIs, see
MPLS Configuration Guide
. For information about S-channels, see
EVB Configuration Guide
.
To disable global MAC address learning:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Disable global MAC address
learning.
undo mac-address
mac-learning enable
By default, global MAC address
learning is enabled.
Summary of Contents for H3C S7500E-X
Page 70: ...57 ...