Adding or modifying a blackhole mac address entry – H3C Technologies H3C S5560 Series Switches User Manual

Page 40

Advertising
background image

6

Adding or modifying a static or dynamic MAC address entry
on an interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

Enter Layer 2 Ethernet interface
view:

interface interface-type

interface-number

Enter Layer 2 aggregate

interface view:

interface bridge-aggregation
interface-number

N/A

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.

Advertising