S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - IP Multicast

This document describes IP multicast basics and how to configure IP multicast features, including IGMP/MLD, PIM (IPv4&IPv6), MSDP, IGMP/MLD snooping, multicast VLAN, multicast route management, static multicast MAC address, controllable multicast, and multicast network.

Configuring the IGMP Version

Configuring the IGMP Version

Context

A switch running IGMP can identify Membership Report messages of an earlier IGMP version but cannot identify Membership Report messages of a later IGMP version. To ensure normal IGMP operation, ensure that the switch runs an IGMP version same as or later than the IGMP version of member hosts.

If multiple switches exist on a shared network segment, configure the same IGMP version on all switch interfaces. Otherwise, errors may occur in IGMP operation because interfaces running different IGMP versions send packets with different formats.

The IGMP version can be configured in the IGMP view or interface view.

  • Configuration in the IGMP view is valid globally, whereas configuration in the interface view is valid only for the specific interface.
  • If the IGMP version is configured in both the interface view and IGMP view, configuration in the interface view takes precedence over configuration in the IGMP view. If no IGMP version is specified on an interface, the interface runs the IGMP version configured in the IGMP view.
  • If non-default configuration is made in the IGMP view, the default configuration in the interface view does not take effect.

Procedure

  • Configuring the IGMP version globally
    1. Run system-view

      The system view is displayed.

    2. Run igmp [ vpn-instance vpn-instance-name ]

      The IGMP view is displayed.

    3. Run version { 1 | 2 | 3 }

      The IGMP version is specified globally.

      By default, the IGMP version is IGMPv2.

  • Configuring the IGMP version on an interface
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

    4. Run igmp version { 1 | 2 | 3 }

      The IGMP version is specified for the interface.