R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Configuration Guide

21
A manually configured dynamic MAC address entry has the same priority as an automatically
learned one. If a packet with such a source MAC address enters the device on a different interface
from that in the static MAC address entry, the device learns a new MAC address entry and uses the
learned one to overwrite the manually configured dynamic MAC address entry.
When you configure a dynamic MAC address entry, if an automatically learned MAC address
entry with the same MAC address but a different outgoing interface already exists in the MAC
address table, the manually configured entry overwrites the automatically learned MAC address
entry.
The manually configured static, blackhole, and multiport unicast MAC address entries cannot
survive a reboot if you do not save the configuration. The manually configured dynamic MAC
address entries, however, are lost upon reboot whether or not you save the configuration.
Configuration procedure
To add or modify a static or dynamic MAC address entry globally:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Add or modify a
MAC address
entry.
mac-address { dynamic | static } mac-address
interface interface-type interface-number vlan
vlan-id
By default, no MAC address
entry is configured globally.
Make sure you have created
the VLAN and assigned the
interface to the VLAN.
To adding or modifying a static or dynamic 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
Enter S-channel interface view:
interface s-channel
interface-number.channel-id
N/A
3. Add or modify a static or
dynamic MAC address entry.
mac-address { dynamic | static }
mac-address vlan vlan-id
By default, no MAC address entry
is configured on an interface.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.
Adding or modifying a blackhole MAC address entry