H3C S9500 Series Operation Manual
H3C S9500 Series Operation Manual

H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:

Advertisement

Operation Manual - MLD Snooping
H3C S9500 Series Routing Switches
Chapter 1 MLD Snooping Configuration..................................................................................... 1-1
1.1 MLD Snooping Overview ................................................................................................... 1-1
1.1.1 How MLD Snooping Works ..................................................................................... 1-1
1.1.2 Basic Concepts in MLD Snooping........................................................................... 1-2
1.1.3 Work Mechanism of MLD Snooping ....................................................................... 1-4
1.1.4 Processing of IPv6 Multicast Protocol Messages ................................................... 1-6
1.1.5 Protocols and Standards......................................................................................... 1-7
1.2 MLD Snooping Configuration Task List ............................................................................. 1-7
1.3 Configuring Basic Functions of MLD Snooping ................................................................. 1-8
1.3.1 Configuration Prerequisites..................................................................................... 1-8
1.3.2 Enabling MLD Snooping ......................................................................................... 1-8
1.3.3 Configuring the Version of MLD Snooping.............................................................. 1-9
1.3.4 Configuring Dynamic Port Aging Timers................................................................. 1-9
1.4 Configuring MLD Snooping Port Functions ..................................................................... 1-10
1.4.1 Configuration Prerequisites................................................................................... 1-10
1.4.2 Configuring Static Ports ........................................................................................ 1-11
1.4.3 Configuring Simulated Joining .............................................................................. 1-11
1.4.4 Configuring Fast Leave Processing ...................................................................... 1-12
1.4.5 Configuring MLD Report Suppression .................................................................. 1-14
1.5 Configuring MLD-Related Functions................................................................................ 1-14
1.5.1 Configuration Prerequisites................................................................................... 1-14
1.5.2 Enabling MLD Snooping Querier .......................................................................... 1-14
1.5.3 Configuring MLD Queries and Responses ........................................................... 1-15
1.5.4 Configuring a Source IPv6 Address for MLD Queries .......................................... 1-17
1.6 Configuring an IPv6 Multicast Group Policy .................................................................... 1-18
1.6.1 Configuration Prerequisites................................................................................... 1-18
1.6.2 Configuring an IPv6 Multicast Group Filter ........................................................... 1-18
1.6.4 Configuring IPv6 Multicast Group Replacement ................................................... 1-20
1.7 Displaying and Maintaining MLD Snooping..................................................................... 1-21
1.8 MLD Snooping Configuration Examples.......................................................................... 1-22
1.8.1 Examples 1 (Simulated Joining)............................................................................ 1-22
1.8.2 Examples 2 (Static Router Port Configuration) ..................................................... 1-25
1.8.3 Examples 3 (MLD Snooping Querier Configuration)............................................. 1-27
1.9 Troubleshooting MLD Snooping ...................................................................................... 1-28
1.9.1 Switch Fails in Layer 2 Multicast Forwarding........................................................ 1-28

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S9500 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S9500 Series

  • Page 1: Table Of Contents

    Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MLD Snooping Configuration..................1-1 1.1 MLD Snooping Overview ....................1-1 1.1.1 How MLD Snooping Works ..................1-1 1.1.2 Basic Concepts in MLD Snooping................1-2 1.1.3 Work Mechanism of MLD Snooping ...............
  • Page 2 Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Table of Contents...
  • Page 3: Chapter 1 Mld Snooping Configuration

    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 4: Basic Concepts In Mld Snooping

    Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration IPv6 multicast packet transmission IPv6 multicast packet transmission without MLD Snooping when MLD Snooping runs Multicast router Multicast router Source Source Layer 2 switch Layer 2 switch...
  • 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.
  • Page 6: Work Mechanism Of Mld Snooping

    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.
  • Page 8: Processing Of Ipv6 Multicast Protocol Messages

    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.
  • Page 9: Protocols And Standards

    Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration 1.1.5 Protocols and Standards MLD Snooping is documented in RFC 4541: Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches 1.2 MLD Snooping Configuration Task List...
  • Page 10: Configuring Basic Functions Of Mld Snooping

    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.
  • Page 11: Configuring The Version Of Mld Snooping

    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.
  • Page 12: Configuring Mld Snooping Port Functions

    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.
  • Page 13: Configuring Static Ports

    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.
  • Page 14: Configuring Fast Leave Processing

    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.
  • Page 16: Configuring Mld Report Suppression

    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.
  • Page 17: Configuring Mld Queries And Responses

    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.
  • Page 19: Configuring A Source Ipv6 Address For Mld Queries

    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.
  • Page 20: Configuring An Ipv6 Multicast Group Policy

    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...
  • Page 21: Configuring Maximum Ipv6 Multicast Groups That Can Be Joined On A Port

    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 —...
  • Page 22: Configuring Ipv6 Multicast Group Replacement

    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...
  • Page 23: Displaying And Maintaining Mld Snooping

    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 —...
  • Page 24: Mld Snooping Configuration Examples

    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.
  • Page 27: Examples 2 (Static Router Port Configuration)

    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.
  • Page 29: Examples 3 (Mld Snooping Querier Configuration)

    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.
  • Page 30: Troubleshooting Mld Snooping

    Operation Manual – MLD Snooping H3C S9500 Series Routing Switches Chapter 1 MLD Snooping Configuration # Enable MLD Snooping in VLAN 100 and enable the MLD-Snooping querier function. [SwitchA-vlan100] mld-snooping enable [SwitchA-vlan100] mld-snooping querier Configure Switch B # Enable IPv6 forwarding, and enable MLD Snooping globally.
  • Page 31: Configured Ipv6 Multicast Group Policy Fails To Take Effect

    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.

Table of Contents