3-2
Configuring a Multicast MAC Address Entry
In Layer 2 multicast, the system can add multicast forwarding entries dynamically through a Layer 2
multicast protocol. Alternatively, you can statically bind a port to a multicast MAC address entry by
configuring a multicast MAC address entry manually.
Generally, when receiving a multicast packet for a multicast group not yet registered on the switch, the
switch will flood the packet within the VLAN to which the port belongs. You can configure a static
multicast MAC address entry to avoid this.
Table 3-4
Configure a multicast MAC address entry in system view
Operation
Command
Remarks
Enter system view
system-view
—
Create a multicast MAC
address entry
mac-address multicast
mac-address
interface
interface-list vlan
vlan-id
Required
The
mac-address
argument
must be a multicast MAC
address.
Table 3-5
Configure a multicast MAC address entry in Ethernet port view
Operation
Command
Remarks
Enter system view
system
-
view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Create a multicast MAC
address entry.
mac
-
address
multicast
mac-address
vlan
vlan-id
Required
The
mac-address
argument
must be a multicast MAC
address.
z
If the multicast MAC address entry to be created already exists, the system gives you a prompt.
z
If you want to add a port to a multicast MAC address entry created through the
mac
-
address
multicast
command, you need to remove the entry first, create this entry again, and then add the
specified port to the forwarding ports of this entry.
z
You cannot enable link aggregation on a port on which you have configured a multicast MAC
address, and you cannot configure a multicast MAC address on an aggregation port.
z
You cannot configure a multicast MAC address starting with 01005e in an
IGMP-Snooping-enabled VLAN. You can do that if IGMP Snooping is not enabled in the VLAN.
Configuring Dropping Unknown Multicast Packets
Generally, if the multicast address of the multicast packet received on the switch is not registered on the
local switch, the packet will be flooded in the VLAN. When the function of dropping unknown multicast