The igmp-snooping version command configures the version of IGMP messages that IGMP snooping can process in a VLAN.
The undo igmp-snooping version command restores the default IGMP message version.
By default, IGMP snooping can process IGMPv1 and IGMPv2 messages in a VLAN.
Parameter |
Description |
Value |
---|---|---|
version |
Specifies the version of IGMP messages that can be processed in a VLAN. |
The value is an integer ranging from 1 to 3.
|
Usage Scenario
The IGMP protocol maintains group memberships between Layer 3 multicast devices and hosts. IGMP has three versions: v1, v2, and v3. This command specifies the version of IGMP messages that IGMP snooping can process. Generally, configure the same version on the Layer 2 device as that on the upstream Layer 3 multicast device. If IGMP is not enabled on the Layer 3 multicast device, configure the IGMP message version on the Layer 2 device to be later than or equal to the version running on downstream hosts.
When hosts in a VLAN run different IGMP versions, run the igmp-snooping version command to enable the Layer 2 device to process IGMP messages sent from all the hosts.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.
Precautions
If IGMP snooping is disabled in the specified VLAN, the configuration succeeds but does not take effect until IGMP snooping is enabled in the VLAN. To enable IGMP snooping in a VLAN, run the igmp-snooping enable (VLAN view) command.
This command cannot be used in user VLANs of a multicast VLAN.