IGMP - ip igmp snooping querier command

When configuring an IGMP snooping querier on a switch when there is no multicast router, we can use the ip igmp snooping querier command. Note that this command enables the querier feature on the local router.

Part of the process involved is for the local device to choose a particular IPv4 address to use as the source of the querier. This can be specified using additional keywords of this command like so:

ip igmp snooping querier address 192.168.1.1

This command enables the IGMP snooping querier feature on the device, and specifies that the source IP address for the querier. If no address is specified, then the following process is followed to determine the source address:

When enabled, the IGMP snooping querier uses the IP address of the VLAN interface as the query source address.

If there is no IP address configured on the VLAN interface, the IGMP snooping querier tries to use the configured global IP address for the IGMP querier. If there is no global IP address specified, the IGMP querier tries to use the VLAN switch virtual interface (SVI) IP address (if one exists). If there is no SVI IP address, the device uses the first available IP address configured on the device. The first IP address available appears in the output of the show ip interface privileged EXEC command.

If no IP address is configured, the querier will fail.

Links:

https://forum.networklessons.com/t/igmp-snooping-without-router/1342/78?u=lagapidis

https://networklessons.com/cisco/ccie-routing-switching/igmp-snooping-without-router/

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst1000/software/releases/15_2_7_e/configuration_guides/ip_mcast_rtng/b_1527e_ip_mcast_rtng_c1000_cg/configuring_igmp_snooping.html#reference_lty_hmc_yjb

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/16-9/command_reference/b_169_3850_cr/ip_multicast_routing.html#wp1405951854

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/16-9/command_reference/b_169_3850_cr/ip_multicast_routing.html#wp1476623178