Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Chapter 1 MLD Snooping Configuration When configuring MLD Snooping, go to these sections for information you are interested in: MLD Snooping Overview MLD Snooping Configuration Task List...
Page 5
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Router port: A router port is a port on a Layer 2 switch that leads the switch to a multicast router (Layer-3 multicast device) or the MLD querier on the subnet. In the figure, Ethernet 1/1/10 of Switch A and Ethernet 1/1/10 of Switch B are router ports.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Note: The port aging mechanism of MLD Snooping works only for dynamic ports; a static port will never age out. 1.1.3 Work Mechanism of MLD Snooping Caution: Only dynamic ports can be automatically added or deleted by the system.
Page 7
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration If no forwarding table entry exists for the reported group, the switch creates an entry, adds the port as a dynamic member port into the outgoing port list, and starts a member port aging timer for that port.
IPv6 multicast group when the aging timer expires. 1.1.4 Processing of IPv6 Multicast Protocol Messages With Layer 3 IPv6 multicast routing enabled, an MLD Snooping–capable S9500 series Ethernet switch processes multicast protocol messages differently under different conditions, specifically as follows: If only MLD is enabled, or both MLD and IPv6 PIM are enabled on the switch, the switch handles IPv6 multicast protocol messages in the normal way.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Note: Configurations made in MLD Snooping view are effective for all VLANs, while configurations made in VLAN view are effective only for ports belonging to the current VLAN.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Note: MLD Snooping must be enabled globally before it can be enabled in a VLAN. When you enable MLD Snooping in a specified VLAN, this function takes effect for ports in this VLAN only.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration If the switch does not receive an MLD report for an IPv6 multicast group before the aging timer of a dynamic member port expires, the switch deletes this port from the forwarding table for that IPv6 multicast group when the aging timer times out.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Whether to enable the MLD membership report suppression function 1.4.2 Configuring Static Ports If the host attached to a port is interested in the IPv6 multicast data addressed to a particular IPv6 multicast group, you can configure this port to be a static member port for that IPv6 multicast group.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration To avoid this situation from happening, you can enable simulated joining on a port, namely configure a port of the switch as a simulated member of the IPv6 multicast group.
Page 15
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration multicast-address-specific queries for that IPv6 multicast group, the switch will not forward them to that port. In VLANs where only one host is attached to each port, fast leave processing helps improve bandwidth and resource usage.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration 1.4.5 Configuring MLD Report Suppression When a Layer 2 device receives an MLD report from an IPV6 multicast group member, the Layer 2 device forwards the message to the Layer 3 device directly connected with it.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration However, a Layer 2 multicast switch does not support MLD, and therefore cannot send MLD general queries by default. By enabling MLD Snooping querier on a Layer 2...
Page 18
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration For MLD general queries, you can configure the maximum response time to fill their Max Response time field. For MLD multicast-address-specific queries, you can configure the MLD last-member query interval to fill their Max Response time field.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Caution: In the configuration, make sure that the MLD general query interval is larger than the maximum response time for MLD general queries. Otherwise, multicast group members may be deleted by mistake.
Disabled by default multicast data Note: When enabled to drop unknown IPv6 multicast data, an S9500 series Ethernet switch still forwards unknown IPv6 multicast data to other router ports in the VLAN. 1.6 Configuring an IPv6 Multicast Group Policy 1.6.1 Configuration Prerequisites...
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration I. Configuring an IPv6 multicast group filter globally Follow these steps to configure an IPv6 multicast group globally: To do... Use the command... Remarks Enter system view system-view —...
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration To do... Use the command... Remarks Enter system view system-view — Enter Ethernet interface interface-type Enter the interface view interface-number correspo Use either port-group { manual...
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration I. Configuring IPv6 multicast group replacement globally Follow these steps to configure IPv6 multicast group replacement globally: To do... Use the command... Remarks Enter system view system-view —...
Figure 1-3, Router A (an IPv6 multicast router) connects to the IPv6 multicast source through Ethernet 1/1/2 and to Switch A (an S9500 series Ethernet switch) through Ethernet 1/1/1. MLD runs between Router A and Switch A, MLD Snooping runs on Switch A, and Router A acts as the MLD querier.
Page 25
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration II. Network diagram Figure 1-3 Network diagram for simulated joining configuration III. Configuration procedure Enable IPv6 forwarding and configure IPv6 addresses Enable IPv6 forwarding on each device and configure an IPv6 address and address prefix for each interface.
Page 26
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration Note: The above configuration on Router A is for reference only. Refer to the specific situation of your device when performing the configuration. Configure Switch A # Create VLAN 100.
IPv6 multicast source through Ethernet 1/1/2 and to Switch A (an S9500 series Ethernet switch) through Ethernet 1/1/1. While no IPv6 multicast protocol is running on Router B, perform the following configuration so that Switch A can forward all the received IPv6 multicast data to Router B.
Page 28
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration III. Configuration procedure Enable IPv6 forwarding and configure IPv6 addresses Enable IPv6 forwarding on each device and configure an IP address and address prefix for each interface. The specific configuration procedure is omitted here.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration [SwitchA-Ethernet1/3] mld-snooping static-router-port vlan 100 [SwitchA-Ethernet1/3] quit Switch A can forward all the received IPv6 multicast data in VLAN 100 to Router B through Ethernet 1/1/3, which has been configured as a static router port.
Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration If MLD Snooping is not enabled, use the mld-snooping command to enable MLD Snooping globally and then use mld-snooping enable command to enable MLD Snooping in VLAN view.
Need help?
Do you have a question about the S9500 Series and is the answer not in the manual?
Questions and answers