No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Multicast

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, PIM (IPv4), PIM (IPv6), MSDP, multicast VPN, multicast route management (IPv4), multicast route management (IPv6), IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN, multicast network management.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring an IGMP Snooping Querier

(Optional) Configuring an IGMP Snooping Querier

Context

When IGMP snooping is enabled on a Layer 2 device, the Layer 2 device can listen to IGMP protocol packets exchanged between an IGMP querier and user hosts to dynamically create Layer 2 multicast forwarding entries and provide Layer 2 multicast functions.

A Layer 2 device cannot create Layer 2 multicast forwarding entries by listening to IGMP protocol packets in the following conditions, even when IGMP snooping is enabled:

  • The interfaces on the upstream Layer 3 multicast device have static multicast groups configured and do not run the IGMP protocol.

  • The multicast source is located on the same Layer 2 network as user hosts, and therefore no Layer 3 multicast device is required.

In either of the preceding conditions, you can configure the IGMP snooping querier on the Layer 2 multicast device. Then the Layer 2 multicast device sends IGMP Query messages to user hosts in place of the upstream Layer 3 multicast device.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vlan vlan-id

    The VLAN view is displayed.

  3. Run igmp snooping querier enable

    The IGMP snooping querier function is enabled.

    NOTE:
    • The IGMP snooping querier function cannot be enabled in a VLAN if the corresponding Layer 3 VLANIF interface has Layer 3 multicast functions (such as IGMP and PIM) enabled.

    • After an IGMP snooping querier is enabled, the switch periodically broadcasts IGMP Query messages to all the interfaces in the VLAN, including the router ports. This may result in IGMP querier reelection if an IGMP querier already exists on the multicast network. If an IGMP querier already exists on the multicast network, configuring IGMP snooping querier is not recommended. If you configure an IGMP snooping querier on a switch, ensure that the source IP address of the General Query messages sent from the switch is larger than the IP address of the upstream IGMP querier.

    • IGMP snooping querier and IGMP snooping proxy cannot be enabled in the same VLAN.

  4. (Optional) Run igmp snooping querier-election

    The querier election function is enabled.

    If the querier function is enabled on multiple devices in the VLAN, one of these devices must be elected as the querier to send Query messages to user hosts.

  5. (Optional) Set the querier parameters.

    NOTE:

    When setting the querier parameters, ensure that the interval for sending IGMP General Query messages is larger than the maximum response time for IGMP Query messages.

    Querier Parameter

    Configuration Command

    Description

    Default Setting

    Version

    Interval for sending IGMP General Query messages

    igmp snooping query interval query-interval

    The querier sends IGMP General Query messages at the specified interval to maintain memberships of interfaces in a VLAN.

    60 seconds

    The default general query interval is 60 seconds, which is different than the default value 125 seconds defined by RFC documents. A Huawei querier and a non-Huawei querier must send IGMP general query messages at the same interval.

    IGMPv1, IGMPv2, IGMPv3

    IGMP robustness variable

    igmp snooping robust-count robust-count

    The robustness variable defines the following values:
    • Number of times the querier sends General Query messages after startup. The packet sending interval is 1/4 of the configured interval for sending General Query messages.
    • Number of times the querier sends Group-Specific Query messages after receiving a Leave message. The packet sending interval is the same as the configured interval for sending Group-Specific Query messages.

    2

    IGMPv1, IGMPv2, IGMPv3

    Maximum response time for IGMP Query messages

    igmp snooping query max-response-time max-response-time

    When receiving IGMP Report messages from hosts, the switch sets the aging time of member ports by using the following formula: Aging time = IGMP robustness variable x Interval for sending IGMP General Query messages + Maximum response time.

    After a multicast member receives an IGMP Query message, it must send a Report message within the maximum response time.

    10 seconds

    IGMPv2, IGMPv3

    Interval for sending IGMP Group-Specific Query messages

    igmp snooping query last-member-interval last-member-interval

    When receiving IGMP Leave messages from a host, the switch calculates the aging time of the member port by using the following formula: Aging time = Interval for sending Group-Specific Query messages x IGMP robustness variable. The switch sends a Group-Specific Query message certain times (specified by the IGMP robustness variable) to check whether this group has any other members.

    1 second

    IGMPv2, IGMPv3

  6. Run quit

    Return to the system view.

  7. (Optional) Run igmp snooping send-query source-address ip-address

    The source IP address of an IGMP General Query message is configured.

    By default, the source IP address of an IGMP General Query message sent by the IGMP snooping querier is 192.168.0.1. If this IP address is used by another device on the network, use this command to set another IP address.

  8. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075361

Views: 21068

Downloads: 23

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next