< Home

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 S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

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

      The IGMP version is specified for the interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >