igmp-snooping version

Function

The igmp-snooping version command sets a version for IGMP messages that can be processed by IGMP snooping.

The undo igmp-snooping version command restores the default configuration.

By default, IGMP snooping can process IGMPv1 and IGMPv2 messages but cannot process IGMPv3 messages.

Format

igmp-snooping version number

undo igmp-snooping version

Parameters

Parameter Description Value
number

Specifies an IGMP version number.

The value is 1, 2, or 3.

Views

VLAN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

This command is used on a Layer 2 device that is connected to hosts that support different IGMP versions.

If the version number is set to 1, only IGMPv1 messages can be processed. If the version number is set to 2, IGMPv1 and IGMPv2 messages can be processed. If the version number is set to 3, IGMPv1, IGMPv2, and IGMPv3 messages can be processed.

Configuration Impact

If the IGMP snooping version is changed from 3 to 2:

  • The system deletes all dynamically generated IGMP forwarding entries.
  • The system processes statically configured Layer 2 multicast forwarding entries as follows:
  • If interfaces are configured to statically join multicast groups with no multicast source specified, the system does not delete the static IGMP forwarding entries.
  • If interfaces are configured to statically join source-specific multicast groups, the system deletes the static forwarding entries. When the IGMP snooping version is changed to 3, the system re-generates forwarding entries.

Precautions

This command fails to be run in a VLAN in either of the following situations:

  • The VLAN has an interface bound to a VSI.
  • The VLAN has a VE interface.

Example

# Set the standard full version of IGMPv3 in VLAN 2.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] vlan 2
[*HUAWEI-vlan2] igmp-snooping version 3 standard-full
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >