R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Command Reference
63
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] mac-address mac-learning priority high
# Assign high MAC learning priority to interface S-Channel 1/0/1:10.
<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10
[Sysname-S-Channel1/0/1:10] mac-address mac-learning priority high
mac-address mac-roaming enable
Use mac-address mac-roaming enable to enable MAC address synchronization.
Use undo mac-address mac-roaming enable to restore the default.
Syntax
mac-address mac-roaming enable
undo mac-address mac-roaming enable
Default
MAC address synchronization is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
If ports on different cards 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 may 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 maximum number of MAC addresses that can be
learned on an interface.
Use mac-address max-mac-count enable-forwarding to enable the device to forward frames with
unknown source MAC addresses after the number of learned MAC addresses reaches the upper limit.
Use undo mac-address max-mac-count to restore the default maximum number of MAC addresses that
can be learned on an interface.
Use undo mac-address max-mac-count enable-forwarding to disable the device from forwarding
frames with unknown source MAC addresses after the number of learned MAC addresses reaches the
upper limit. Frames with the source MAC addresses listed in the MAC address table are forwarded.










