R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
8
• The manually configured static and blackhole MAC address entries cannot survive a reboot if you
do not save the configuration. The manually configured dynamic MAC address entries are lost upon
reboot whether or not you save the configuration.
A frame whose source MAC address matches different types of MAC address entries is processed
differently.
Type Description
Static MAC address entry
• Discards the frame received on a different interface from that in the entry.
• Forwards the frame received on the same interface as that in the entry.
Dynamic MAC address
entry
• Learns the MAC address of the frames received on a different interface from
that in the entry and overwrites the original entry.
• Forwards the frame received on the same interface as that in the entry and
updates the aging timer for the entry.
Adding or modifying a static or dynamic MAC address entry
globally
Step Command Remarks
1. Enter system view.
system-view N/A
2. Add or modify a
static or dynamic
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.
Adding or modifying a static or dynamic MAC address entry
on an interface
Step Command Remarks
3. Enter system view.
system-view N/A
4. Enter Layer 2 Ethernet interface
view.
interface interface-type
interface-number
N/A
5. 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
Step Command Remarks
1. Enter system view.
system-view N/A