How to configure Layer 2 multicast on a CE series switch

27


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

Other related questions:
Do Ethernet interfaces on CE series switches support switching between Layer 2 and Layer 3 modes
Ethernet interfaces on all CE series switches, except the CE6810LI, support switching between Layer 2 and Layer 3 modes. By default, Ethernet interfaces on CE series switches work in Layer 2 mode. 1. Switching Layer 2 interface to Layer 3 mode: Run the undo portswitch command in the interface view to switch a Layer 2 interface to Layer 3 mode. Before switching, delete all non-default configurations from the interface. 2. Switching Layer 3 interface to Layer 2 mode: Run the portswitch command in the interface view to switch a Layer 3 interface to Layer 2 mode. Before switching, delete all Layer 3 service configurations from the interface.

How is convergence performance of Layer 2 multicast accelerated on an S series switch?
When the network topology changes, Layer 2 multicast detects the topology change by responding to notification messages of ring network protocols. Layer 2 multicast sends General Query messages in the VLAN where the topology changes to re-collect group member relationships. Ring network protocols include STP, MSTP, RRPP, Smart Link, and SEP. The ring network protocols supported by the switches excluding the S1700 are as follows: - STP: supported by all switch models - MSTP: supported by all switch models excluding the S2700SI - RRPP: supported by all switch models excluding the S1720 and S2700SI - Smart Link: supported by all switch models excluding the S1720, S2700SI, S2710SI, and S2700EI - SEP: supported by all switch models excluding the S1720, S2700SI, S2710SI, and S2700EI

Layer 2 multicast entries and usage of S series switches
For an S series switch, entries fall into protocol and forwarding entries. Protocol entries include router port entries and host port entries. You can run the display igmp-snooping router-port command to check router port entries, run the display igmp-snooping port-info command to check host port entries, and run the display l2-multicast forwarding-table command to check forwarding entries. Protocol entries are triggered by protocol packets or manually generated. They are used to identify the protocol exchange status. Forwarding entries are generated based on protocol entries and are used to guide subsequent multicast data forwarding.

Can Layer 2 multicast be configured in dynamic VLANs on an S series switch
Layer 2 multicast cannot be configured in dynamic VLANs on an S series switch.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top