3-1
3 Common Multicast Configuration

Common Multicast Configuration

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 device, the
device will flood the packet within the VLAN to which the port belongs. You can configure a static
multicast MAC address entry to avoid this.
Follow these steps to configure a multicast MAC address entry in system view:
To do… Use the 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.
Follow these steps to configure a multicast MAC address entry in Ethernet port view:
To do… Use the 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.