How to configure Layer 2 multicast on a CE series switch


When a CE series switch functions as a Layer 2 switch, it broadcasts all multicast packets passing through it in a broadcast domain by default. Therefore, all hosts in the same broadcast domain receive the multicast packets, regardless of whether they are group members. This causes a waste of network bandwidth and brings security risks.


This problem can be solved by configuring IGMP snooping on the Layer 2 multicast switch. After IGMP snooping is configured, the Layer 2 multicast switch listens to and analyzes IGMP packets exchanged between multicast users and the upstream router, and creates Layer 2 multicast forwarding entries accordingly. Multicast data packets are then forwarded based on the Layer 2 multicast forwarding entries, instead of being broadcast on the Layer 2 network.


# Configure IGMP snooping in VLAN 10.


<HUAWEI> system-view
[~HUAWEI] igmp snooping enable //Enable IGMP snooping globally.
[*HUAWEI] vlan 10
[*HUAWEI-vlan10] igmp snooping enable //Enable IGMP snooping in a VLAN (broadcast domain).
[*HUAWEI-vlan10] commit

Scroll to top