sale_fill

UP TO 30% OFF

ON ALL COURSES

UP TO 90% OFF

ON ALL Access Pass

What is IGMP Snooping?

Network switches use IGMP snooping to limit IPv4 multicast traffic flooding & improve forwarding by transmitting traffic only to interested recipients.
What is IGMP Snooping Featured Image

Get Free Career Guidance

Categories

Introduction

Definition: IGMP snooping is a Layer 2 switch feature that listens to IGMP join, leave, and query messages and builds a per-VLAN list of which ports want which multicast groups, so multicast is forwarded only to interested ports instead of flooding the VLAN.

Multicast is efficient for one-to-many traffic, but switches may flood multicast inside a VLAN if they do not know which ports requested the stream. IGMP snooping prevents that by building a per-VLAN forwarding list from IGMP joins and leaves. In this blog, we will explain IGMP snooping, its working, functions, and applications.

Let’s begin with the basic understanding of IGMP.

What is IGMP snooping?

Network switches use IGMP snooping to limit IPv4 multicast traffic flooding and improve forwarding by transmitting multicast traffic only to interested recipients. Unicast traffic in Cisco switches looks at the Layer 2 MAC address source, which is located in the MAC address table, to identify Layer 2 MAC addresses and their related physical ports.

When a received MAC address is not found in the MAC address table, it is considered an unrecognized frame. Consequently, the frame is thereafter sent to all ports within the same VLAN, with the exception of the port from where the frame originated. Recognizing that the destination MAC address in the frame does not belong to them, uninterested receivers simply throw the packet out after realizing this.

Note: IGMP snooping is not part of the IGMP protocol, but it is considered an adaptation that switches implement to overcome the limitations of operating at the data link layer.

We now have a basic understanding of Internet Group Management Protocol snooping. Let’s understand its working in detail.

How Does IGMP Snooping Work?

IGMP messages delivered across the network between multicast-capable devices may be analyzed via IGMP snooping. Hosts use IGMP messages to ask to join or leave a multicast group. This information is used by the switch to identify the network devices that are most interested in receiving multicast traffic.

A switch adds a host to the multicast group membership table when it receives an IGMP message from a host asking to join a multicast group. Only those devices that are a member of that multicast group get multicast traffic from the switch after that.

The switch removes the device from the multicast group membership table after receiving an IGMP message from a device that no longer wishes to receive multicast traffic.

Let’s take an example for better understanding.

How IGMP works

As we can see in the picture above, Multicast packets are broadcast to Hosts A, B, and C when IGMP snooping is not active on the switch. Whereas when it is active on the switch, the switch can listen for and analyze IGMP messages and create Layer 2 multicast forwarding entries to manage multicast data forwarding. By this, multicast packets are only broadcasted to the interested hosts, in this case, hosts A and C.

Applications of IGMP Snooping

Here are some of the significant applications of IGMP snooping –

  • Multicast routing protocols allow audio and video streaming over a network, i.e., one-to-many or many-to-many.
  • IGMP (Internet Group Management Protocol) is helpful in simulation games with many network users, such as online games.
  • Video conferencing allows people to meet at their convenience, and IGMP helps connect users for conferencing and sharing message/data packets efficiently.

IGMP Snooping Configurations Considerations

One should take into account the following factors when configuring IGMP snooping functions.

VLAN Scope of IGMP Snooping

IGMP snooping builds forwarding state per VLAN or bridge domain. If snooping is not enabled for the correct VLAN, or if hosts and querier are not in the same Layer 2 domain, multicast can still flood or stop forwarding correctly.

Multicast Router Port Awareness

The switch also needs to treat the router-facing port as a multicast-router port so IGMP control traffic and multicast streams can be forwarded correctly. If the router-facing port is not recognized, multicast forwarding behavior can look correct on hosts but fail upstream.

IGMP Snooping Querier

A multicast router must be installed in the network topology that generates IGMP queries in order to enable Snooping. Without a querier, it is impossible to consistently collect and update group membership tables and IGMP membership reports, which makes Snooping unreliable.

In order to produce IGMP report messages from the network switch with multicast memberships, the IGMP Snooping querier, when configured, sends out IGMP inquiries at a scheduled interval. Additionally, IGMP Snooping examines these IGMP reports to determine the proper forwarding.

IGMP Snooping Proxy

When turned on, the IGMP Snooping switch begins functioning as IGMP Snooping does, and when it receives an IGMP query from a router, it swiftly replies with a report based on its status. When deactivated, hosts’ reports and IGMP requests in the VLAN are flooded.

As a result, it reduces the number of reports that an IGMP querier must analyze while also preventing a sudden increase in IGMP report traffic in response to inquiries.

IGMP Snooping Version

Three IGMP protocol versions developed till now are V1, V2, and V3. On a Layer 2 device, you may choose an IGMP snooping version to process IGMP messages in various versions. Generally speaking, IGMPv1 uses the multicast routing protocol to identify the requested router. Group queries, a feature added by IGMPv2, let the querier deliver messages to the hosts in a multicast group. More enhancements for supporting customized source filtering are included in IGMPv3.

Let’s understand the benefits and drawbacks of Internet Group Management Protocol snooping.

Benefits of IGMP Snooping

Some benefits of using it on our switches are listed below –

  • Reduced Unnecessary Multicast Exposure

By removing unknown MAC addresses, it reduces the possibility of Denial of Service (DoS) attacks from unreliable sources.

  • Optimized use of bandwidth

It reduces congestion by forwarding multicast only to ports that have joined the group. This prevents the entire VLAN from receiving high-volume multicast streams and keeps access links cleaner.

  • Lower CPU and processing load on end hosts

Without snooping, many endpoints receive multicast they never subscribed to and still need to process or drop it. Snooping reduces that unnecessary traffic, which improves host performance and reduces noise on client networks.

  • Cleaner Layer 2 forwarding behavior

IGMP snooping turns multicast forwarding into a controlled process. Instead of treating multicast like unknown traffic, the switch builds group state and forwards streams only where membership exists.

Drawbacks of IGMP Snooping

Some of the drawbacks of using it are:

Can increase switch CPU load in some environments

The switch must process All IGMP messages, adding to the CPU load and delaying the forwarding of multicast packets.

Platform limitations and feature differences

Not every switch behaves the same with snooping features like report suppression, fast leave, or mrouter port handling. Mixed switch environments can lead to inconsistent multicast behavior.

Troubleshooting becomes more layered

When multicast fails, you must check both control-plane behavior (queries, reports, timers) and data-plane behavior (forwarding ports, VLAN scope). This makes troubleshooting harder than simple unicast issues.

Temporary interruptions and packet loss

Every time the IGMP group membership changes, the switch must update its multicast forwarding table, which may result in temporary interruptions or packet loss for certain streams.

Why Multicast Still Floods Even When Snooping Is Enabled?

If multicast still floods, the cause is often not the definition of snooping. It is usually an operational issue like one of these.

  • No working querier in that VLAN
  • Queries are blocked, filtered, or not reaching hosts
  • Snooping is enabled globally but not enabled for the correct VLAN
  • VLAN is not carried correctly on trunks, so the stream and reports do not match scope
  • Router facing port is not treated correctly, so upstream behavior breaks
  • Membership state is not learned correctly due to host behavior or report suppression behaviour
  • Mixed switch models or platform limits create inconsistent snooping behavior across the path

Note: In multicast, one missing control plane detail can create a lot of data plane noise. This is the reason why troubleshooting is so important.

Should IGMP Snooping be enabled?

Enable IGMP snooping when your network carries multicast traffic and you want to prevent multicast flooding inside a VLAN. Before enabling it, confirm there is a working IGMP querier (or configure one) and that snooping is enabled on the correct VLAN. In other words, enabling IGMP snooping when multicast traffic exists in a VLAN helps prevent unnecessary flooding and reduces congestion.

But if devices do not support IGMP on the network or the network does not use multicast traffic, there is not as much need to enable IGMP snooping. Additionally, enabling IGMP snooping with older network equipment degrades performance. Ultimately, enabling IGMP snooping depends on carefully considering your network’s needs and capabilities and thoroughly analysing the potential benefits and drawbacks.

Frequently Asked Questions

Q1. Should I enable IGMP snooping?

It depends on your particular network environment and needs whether or not to activate IGMP snooping. It is a crucial function that may boost network performance and efficiency. It is generally advised to enable it if your network has multicast traffic.

Q2. What is IGMP good for?

Internet Group Management mechanism or IGMP is a type of protocol that enables several devices to share a single IP address so they may all access the same data.

Q3. Is IGMP a security risk?

IGMP is not a security risk by itself, but it can be exploited by attackers to launch denial-of-service (DoS) attacks or to eavesdrop on multicast traffic.

Q4. What is IGMP proxy and snooping?

IGMP proxy and snooping are two techniques to reduce multicast traffic in a network. IGMP proxy intercepts and processes the IGMP requests from the hosts and forwards them to the upstream router. IGMP snooping listens to the IGMP messages and maintains a table of which ports need which multicast groups.

Conclusion

IGMP snooping is a switch feature that listens to IGMP traffic and forwards multicast only to the ports that need it. This makes multicast forwarding much more efficient inside a Layer 2 domain. By intelligently routing multicast data, IGMP snooping is an important technique that may significantly increase network effectiveness and performance. It is a useful technique for network administration despite having a few disadvantages.

Any Questions?
Get in touch

Blog

Popular Courses

Leave a Reply

Your email address will not be published. Required fields are marked *

INDEPENDENCE
DAY SALE

This Independence day,
set your career free to grow

UP
TO

30%off ON ALL COURSES

UP
TO

30%off  ON ALL COURSES

Build skills

Build Confidence

Build Your Future

Your next chapter starts with one descison

Speak to a career counsellor
and discover your ideal IT path

Post Popup