3
Configuring MAC address entries
About MAC address entry-based frame forwarding
A frame whose source MAC address matches different types of MAC address entries is processed
differently.
Type Description
Static MAC address entry
Forwards the frame according to the destination MAC address regardless of
whether the frame's ingress interface is the same as that in the entry.
Multiport unicast MAC
address entry
•
Learns the MAC address of the frame and generates a dynamic MAC
address entry, but the generated dynamic MAC address entry does not
take effect.
•
Forwards the frame based on the multiport unicast MAC address entry.
Blackhole MAC address
entry
Drops the frame.
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.
Restrictions and guidelines for MAC address entry
configuration
A manually configured dynamic MAC address entry will overwrite a learned entry that already exists
with a different outgoing interface for the MAC address.
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
are lost upon reboot whether or not you save the configuration.
Do not configure the reserved MAC addresses of the device as static, dynamic, blackhole, or
multiport unicast MAC addresses. The reserved MAC addresses of a device are MAC addresses
from the bridge MAC address of the device to the bridge MAC address plus 179. For information
about bridge MAC addresses, see IRF in
Virtual Technologies Configuration Guide
.
Prerequisites for MAC address entry configuration
Before manually configuring a MAC address entry for an interface, make sure the VLAN in the entry
has been created.
Adding or modifying a static or dynamic MAC address entry
Adding or modifying a static or dynamic MAC address entry globally
1.
Enter system view.
system-view
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
Summary of Contents for S6850 Series
Page 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Page 259: ...21 6 N A 200 6...
Page 337: ...ii...