Hi Shane,
'IGMP' and 'IGMP Snooping' are two different features and while they sound pretty similar they have slightly different purpose and application.
IGMP protocol is a part of Multicast routing environment, this protocol is used by a multicast router (or L3 switch playing role of multicast router) to communicate with local hosts interested in receiving multicast traffic (multicast receivers). Clients announce which multicast groups they want to receive, subscribe to multicast groups, leave groups etc using IGMP protocol. For example if a host (like a Set-top box) wants to receive a certain TV channel, it sends a IGMP message with respective group address (the message is IGMP membership report). Or when a customer switches channel on her STB, the device sends two messages - 'leave group' for the old channel and 'membership report' for the new channel.
IGMP Querier is a feature of L3 interface with IGMP enabled. IGMP querier works on one of L3 interfaces in the broadcast domain which is responsible for such 'MulticastRouter <-> Client' communication in the local network (subnet, broadcast domain). Also it is responsible for sending periodic IGMP queries looking for active receivers for all groups (IGMP General membership query) or specific groups (IGMP Group-specific membership query), thus multicast router keeps list of active receivers and sends multicast traffic only for the groups local host expect to receive. As for the 'no igmp querier' command, it definitely exists only on a SVI (L3 VLAN interface) because it is part of IGMP protocol which on its turn is part of Multicast routing. This command disables IGMP Querier function on the respective interface.
IGMP Snooping is used on L2 network switches which placed between multicast router's L3 interface with IGMP enabled and hosts. Such switches being L2 switches don't have VLAN interfaces in respective VLAN, but still have a need to control multicast traffic distribution between Multicast Router's VLAN interface and end clients (multicast receivers). IGMP Snooping acts as a smart proxy that inspects IGMP messages exchanged between multicast router's L3 VLAN interface with IGMP enabled and multicast receivers. As a result of such inspection L2 switch with IGMP Snooping enabled creates a table which has at least three columns - VLAN, multicast group address and switchport number where multicast receiver is located. The purpose is to stop multicast traffic flooding in the VLAN and send multicast traffic only to end hosts interested in receiving such traffic. For example:
VLAN | Group | Ports
100 | 225.0.0.100 | 1/1/1
100 | 225.0.0.101 | 1/1/2 ; 1/1/3
In this example when a switch receives multicast traffic in VLAN 100 with destination IP address 225.0.0.101 it will forward it only out of ports 1/1/2 and 1/1/3. Thus other ports won't be flooded with unneeded traffic. Same for the multicast traffic for group 225.0.0.100, it will be forwarded only to the host connected on 1/1/1.
Check this article for IGMP -
https://en.wikipedia.org/wiki/Internet_Group_Management_ProtocolAnd this one about IGMP Snooping -
https://en.wikipedia.org/wiki/IGMP_snoopingP.S. Many L2 switches have a feature which is called 'IGMP Snooping Querier'. It is used when you don't have multicast routers in your network (so you don't have IGMP-enabled L3 interfaces acting as Querier), e.g. your network is pure L2, but you still have multicast traffic and you need to control its distribution to avoid flooding. Since IGMP Snooping cannot work without IGMP Querier (remember, snooping inspects IGMP message exchange between querier and clients), this features simulates a IGMP Querier in respective VLAN. It's quite typical for small networks. Or badly designed large networks.
------------------------------
Ivan Bondar
------------------------------
Original Message:
Sent: Apr 14, 2022 12:37 PM
From: Shane Farmer
Subject: Differences in VLAN and INT VLAN?
Previously, I had the VLAN and entered IP IGMP and NO IP IGMP QUERIER.
Now, when I use VLAN 100, for example I need IP IGMP SNOOPING ENABLE, but if I use INTERFACE VLAN 100, I have to use IP IGMP ENABLE. Also NO IGMP QUERIER works with INTERFACE VLAN 100, as well, but not with VLAN 100, at least in that form.
What is the difference between the two?
------------------------------
Shane Farmer
------------------------------