Before configuring a static multicast MAC address on an interface, create a VLAN and add the interface to the VLAN.
By default, Layer 2 devices broadcast all received multicast data packets in a VLAN. This wastes network bandwidth and threatens network security. One way to reduce broadcast packets is to configure Internet Group Management Protocol (IGMP) snooping or Multicast Listener Discovery (MLD) snooping on the switch to create Layer 2 multicast forwarding entries. Another method is to configure static multicast MAC addresses on interfaces to create multicast MAC address entries.
After a multicast MAC address is configured on interfaces, multicast packets destined for the multicast MAC address are forwarded only to the specified interfaces in the VLAN.
The system view is displayed.
The VLAN view is displayed.
The multicast data forwarding mode in a VLAN is set to MAC address-based forwarding.
By default, multicast data is forwarded in a VLAN based on IP addresses.
Return to the system view.
Configure a static multicast MAC address on one interface:
The interface view is displayed.
A multicast MAC address is configured on the interface.
Configure a static multicast MAC address on multiple interfaces:
Run mac-address multicast mac-address interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> vlan vlan-id
A static multicast MAC address is configured on multiple interfaces.
The interface numbers must be consecutive. interface-number2 must be larger than interface-number1.
After completing the configuration, run the following commands in any view to check static multicast MAC addresses.