R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

76
Predefined user roles
network-admin
mdc-admin
Usage guidelines
If ports on different cards of the same device or of different IRF member devices are selected ports from
the same aggregation group, MAC address entries are synchronized among these cards regardless of
whether MAC address synchronization is enabled. For more information about aggregation groups, see
Layer 2—LAN Switching Configuration Guide.
The MAC address table size might vary with different cards. With MAC address synchronization enabled,
MAC address table entries exceeding the table size of a card cannot be synchronized to the MAC
address table.
Examples
# Enable MAC address synchronization.
<Sysname> system-view
[Sysname] mac-address mac-roaming enable
mac-address max-mac-count
Use mac-address max-mac-count to configure the MAC learning limit on an interface.
Use undo mac-address max-mac-count to restore the default.
Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
Default
The maximum number of MAC addresses that can be learned on an interface is not configured.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
count: Sets the maximum number of MAC addresses that can be learned on an interface. The value
range is 0 to 4096. When the argument is set to 0, the interface is not allowed to learn MAC addresses.
Usage guidelines
This command limits the number of MAC address entries to prevent a large MAC address table from
degrading forwarding performance. When the number of MAC address entries learned by an interface
reaches the limit, the interface stops learning MAC address entries.
Examples
# Configure interface Ten-GigabitEthernet 1/0/1 to learn up to 600 MAC address entries.
<Sysname> system-view