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.
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:
Precautions
This command fails to be run in a VSI that has been bound to a BD.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] igmp-snooping enable [*HUAWEI] vsi v1 [*HUAWEI-vsi-v1] pwsignal ldp [*HUAWEI-vsi-v1-ldp] vsi-id 200 [*HUAWEI-vsi-v1-ldp] quit [*HUAWEI-vsi-v1] igmp-snooping enable [*HUAWEI-vsi-v1] igmp-snooping version 3