454 CHAPTER 46: IGMP C ONFIGURATIONIGMP ConfigurationTasksConfiguring IGMPVersionc CAUTION: Each IGMP version cannot be switched to each other automatically. Soall the Layer 3 switches on a subnet must be configured to use the same IGMPversion.Configuring IGMP QueryPacketsIGMP general query messagesThe Layer 3 switch sends IGMP general query messages to the connected networksegment periodically to get to know which multicast groups in the networksegment have members according to the returned IGMP report messages. Themulticast router also sends query messages periodically. When it receives the IGMPjoin messages of a group member, it will refresh the membership information ofthe network segment.Table 362 Configuration task overviewOperation Description Related sectionConfigure IGMPversionOptional “Configuring IGMP Version” on page 454Configure IGMPquery messagesOptional “Configuring IGMP Query Packets” on page 454Configure IGMPmulticast groups onthe interfaceOptional “Configuring IGMP Multicast Groups on theInterface” on page 456Configure IGMPsimulated joiningOptional “Configuring IGMP Simulated Joining” on page458Configure IGMPProxyOptional “Configuring IGMP Proxy” on page 459Configuresuppression onIGMP host reportmessagesOptional “Configuring Suppression on IGMP Host ReportMessages” on page 459Remove the joinedIGMP groups fromthe interfaceOptional “Removing the Joined IGMP Groups from theInterface” on page 460Table 363 Configure IGMP versionOperation Command DescriptionEnter system view system-view -Enable the multicast routingprotocolmulticast routing-enable Enable the multicast routingprotocolEnter VLAN interface view interface vlan-interfaceinterface-number-Enable IGMP on the currentinterfaceigmp enable RequiredBy default, if IP multicastrouting is enabled globally,IGMP is enabled on all thelayer-3 interfacesautomatically.Configure the IGMP version ofthe Layer 3 switch (router)igmp version { 1 | 2 } OptionalIGMP version 2 is used bydefault.