Users can configure IGMP protocol version for a specified VLAN interface.
set protocols igmp interface <interface-name> version <number>
delete protocols igmp interface <interface-name> version
|interface <interface-name>||The VLAN interface name. The value is a string.|
|version <number>||The IGMP protocol version. The value could be 2 or 3.|
The switch can identify IGMP messages of a version earlier than its own IGMP version but cannot identify IGMP messages of a later version. To ensure normal IGMP operation, ensure that the switch runs the same IGMP version as member hosts or a later IGMP version.
If multiple switches exist on a shared network segment, configure the same IGMP version on all switch interfaces connected to hosts. Otherwise, errors may occur in IGMP operation because interfaces running different IGMP versions send packets with different formats.
• This example sets IGMP protocol version to 2 on vlan2: