32 Switching ConfigurationIGMP Snooping QuerierWhen PIM and IGMP are enabled in a network with IP multicast routing, the IP multicast router acts asthe IGMP querier. However, if the IP-multicast traffic in a VLAN needs to be Layer 2 switched only, anIP-multicast router is not required. The IGMP Snooping Querier can perform the IGMP snoopingfunctions on the VLAN.NOTE: Without an IP-multicast router on a VLAN, you must configure another switch as the IGMP querier so that itcan send queries.When the IGMP snooping querier is enabled, the IGMP snooping querier sends out periodic IGMPqueries that trigger IGMP report messages from the switch that wants to receive IP multicast traffic. TheIGMP snooping feature listens to these IGMP reports to establish appropriate forwarding.CLI ExamplesThe following examples show commands to use with the IGMP Snooping Querier feature.Example #1: Enable IGMP Snooping Querier on the SwitchThe first command in this example enables the IGMP snooping querier on the switch. The secondcommand specifies the IP address that the snooping querier switch should use as the source addresswhen generating periodic queries.console(config)#ip igmp snoopingconsole(config)#ip igmp snooping querierconsole(config)#ip igmp snooping querier address 10.10.20.12NOTE: The IGMP snooping must be enabled for the IGMP snooping querier function to operate.Example #2: Configure IGMP Snooping Querier PropertiesThe first command in this example sets the IGMP Querier Query Interval time to 100. This means thatthe switch waits 100 seconds before sending another general query. The second command sets the IGMPQuerier timer expiration period to 100. This means that the switch remains in Non-Querier mode for100 seconds after it has discovered that there is a Multicast Querier in the network.console(config)#ip igmp snooping querier query-interval 100console(config)#ip igmp snooping querier timer expiry 100Example #3: Show IGMP Snooping Querier Informationconsole#show ip igmp snooping querierGlobal IGMP Snooping querier status-----------------------------------IGMP Snooping Querier Mode..................... EnableQuerier Address................................ 10.10.10.33IGMP Version................................... 2Querier Query Interval......................... 100Querier Expiry Interval........................ 100