Configuring static multicast MAC address entries

In Layer 2 multicast, multicast MAC address entries can be dynamically created or added through Layer 2 multicast protocols (such as IGMP snooping). You can also manually configure static multicast MAC address entries to bind multicast MAC addresses and ports to control the destination ports of the multicast data.


[TIP: ]

TIP:

  • You do not need to enable IP multicast routing before this configuration.

  • The multicast MAC address that can be manually configured in a multicast MAC address entry must be an unused multicast MAC address except 0100-5Exx-xxxx. The octet x represents any hexadecimal number from 0 to F. A multicast MAC address is the MAC address in which the least significant bit of the most significant octet is 1.


You can configure static multicast MAC address entries on the specified interface in system view, or on the current interface in interface view.

To configure a static multicast MAC address entry in system view:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a static multicast MAC address entry.

mac-address multicast mac-address interface interface-list vlan vlan-id

By default, no static multicast MAC address entries exist.

To configure a static multicast MAC address entry in interface view:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Ethernet interface/Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

3. Configure a static multicast MAC address entry.

mac-address multicast mac-address vlan vlan-id

By default, no static multicast MAC address entries exist.