20
Step Command
Remarks
interface view:
interface
bridge-aggregation
interface-number
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
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Add or modify a blackhole
MAC address entry.
mac
-
address blackhole
mac
-
address
vlan
vlan
-
id
By default, no blackhole MAC
address entry is configured.
Make sure you have created the
VLAN.
Adding or modifying a multiport unicast MAC address entry
You can configure a multiport unicast MAC address entry to associate a unicast destination MAC
address with multiple ports. The frame with a destination MAC address matching the entry is sent out
of multiple ports.
For example, in NLB unicast mode:
•
All servers within the cluster uses the cluster's MAC address as their own address.
•
Frames destined for the cluster are forwarded to every server in the group.
In this case, you can configure a multiport unicast MAC address entry on the device connected to the
server group. Then, the device forwards the frame destined for the server group through all ports
connected to the servers within the cluster.
Figure 2 NLB cluster
Do not configure an interface as the output interface of a multiport unicast MAC address entry if the
interface receives frames destined for the multiport unicast MAC address. Otherwise, the frames are
flooded on the VLAN to which they belong.
NLB
cluster
Device