Adding or modifying a static or dynamic MAC address entry
on an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Add or modify a static or
dynamic MAC address entry.
Adding or modifying a blackhole MAC address entry
Step
1.
Enter system view.
2.
Add or modify a blackhole
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 forwarded
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, and frames destined for the cluster are forwarded to every server. In this case, you can
configure a multiport unicast MAC address entry on the device connected to the group of servers. In this
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
•
Enter S-channel interface view:
interface s-channel
interface-number.channel-id
•
Enter S-channel aggregate
interface view:
interface
schannel-aggregation
interface-number:channel-id
mac-address { dynamic | static }
mac-address vlan vlan-id
Command
system-view
mac-address blackhole
mac-address vlan vlan-id
24
Remarks
N/A
N/A
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.
Remarks
N/A
By default, no blackhole MAC
address entry is configured.
Make sure you have created the
VLAN.