The igmp version command specifies the IGMP version on an interface.
The undo igmp version command restores the default configuration.
| Parameter | Description | Value |
|---|---|---|
| 1 | Indicates IGMP version 1. | - |
| 2 | Indicates IGMP version 2. | - |
| 3 | Indicates IGMP version 3. | - |
By default, IGMPv2 is adopted.
You must run the multicast routing-enable command to enable the multicast function before using the command.
You must configure the same IGMP version on all multicast devices on the same network segment to ensure that the devices can work properly.
Different IGMP versions cannot be switched automatically.