Adding or modifying a static or dynamic MAC address entry
on an interface
Step
Enter system view.
1.
Enter interface view.
2.
Add or modify a static or
3.
dynamic MAC address entry.
Adding or modifying a blackhole MAC address entry
Step
Enter system view.
1.
Add or modify a blackhole
2.
MAC address entry.
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 (see
•
All servers within a 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 to every server
through all ports connected to the servers within the cluster.
Command
system-view
•
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
mac-address { dynamic | static }
mac-address vlan vlan-id
Command
system-view
mac-address blackhole
mac-address vlan vlan-id
Figure
2):
25
Remarks
N/A
N/A
By default, no MAC address entry
is configured on the interface.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.
Remarks
N/A
By default, no blackhole MAC
address entry is configured.
Make sure you have created the
VLAN.