Use it when a stream keeps flowing after the receiver closed it, or stops for other receivers when one leaves.
Leave
An IGMPv2 leave tells the router that a host no longer wants a group. The router then sends group-specific queries; if nobody answers within the last-member query time, it stops forwarding the group on that interface.
1. Capture filter igmp — does the host send a leave?
2. No leave → IGMPv1 host or application; the group will time out.
3. Leave sent, stream continues for a while → normal until the last-member queries go unanswered.
4. Other receivers lose the stream → fast-leave enabled where several receivers share a port.
5. show ip igmp groups — membership removed after the timeout?
querier elected on the subnet → queries sent → host sends a membership report → router and snooping switch record the group → PIM join upstream → stream delivered to that port
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checking leave behaviour Verify boundary
Watch show ip igmp groups while the receiver leaves: the group should disappear within roughly the last-member query time (2 s by default). If it lingers, Leave messages are not sent (some applications or IGMPv1) or snooping does not forward them.
Step 2 Common mistakes Narrow the fault
- Disabling immediate-leave/fast-leave tuning where many hosts share a port.
- Enabling immediate-leave on ports with more than one receiver.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
IGMPv1 has no leave — the group times out after several minutes. Immediate-leave (ip igmp immediate-leave or snooping fast-leave) is safe only where each port has a single receiver. Leaves go to 224.0.0.2 (all routers).
show ip igmp groups— groups, last reporter, expiry.show ip igmp interface <interface>— version, querier, query interval.show ip igmp snooping groups— groups per switch port.show ip igmp snooping querier— the querier seen on each VLAN.debug ip igmp— reports and queries; use briefly.
ReferenceWhat it is1 section · depth on demand
Leave processing
After a Leave, the querier sends group-specific queries (last-member query interval 1 s, 2 times). If nobody answers, the group is removed. ip igmp immediate-leave group-list removes it at once on interfaces with only one receiver (useful for IPTV access ports). IGMPv1 has no Leave message, so groups time out.
ReferenceImportant terms & boundaries3 sections · depth on demand
Key points
- Leave is receiver-side control traffic
- Router/querier may perform follow-up queries before removing group state
- Other receivers on the LAN can keep the group active
- IGMPv3 uses source-filter state changes rather than the same v2 leave model.
In depth
Leave: removing a receiver quickly without cutting off the others
An IGMPv2 host sends a Leave Group message to 224.0.0.2 when its application stops listening. The querier then sends group-specific queries; if no other host on that interface answers, forwarding stops after the last-member query interval.
Catalyst snooping behaviour (Cisco TAC)
The TAC IGMP snooping document states that on an IGMPv2 leave, the switch removes the port's entry, and if the group is not in its table, the leave is sent to the mrouter port. Its show ip igmp snooping vlan output includes the field "IGMPv2 immediate leave".
C9300(config)# ip igmp snooping vlan 30 immediate-leave
C9300(config)# ip igmp snooping last-member-query-interval 500
C9300# show ip igmp snooping vlan 30 | include immediate|Last member
IGMPv2 immediate leave : Enabled
Last member query interval : 500
Normal leave versus immediate leave
| Mode | What happens after a leave | Fit |
|---|---|---|
| Normal | Group-specific query; port removed only if nobody answers | Ports with several receivers (hubs, unmanaged switches, hypervisors) |
| Immediate leave | Port removed at once | One receiver per port: IPTV set-top boxes, single hosts |
With immediate leave on a port that has several receivers, the first one to leave cuts off the rest until their next report.
Leave-related symptoms
| Symptom | Likely cause |
|---|---|
| Channel change on IPTV is slow, old stream keeps arriving | No immediate leave; long last-member query time |
| Other viewers lose the stream when one leaves | Immediate leave on a shared port |
| Streams continue long after receivers stopped | Hosts don't send leaves (IGMPv1, some apps); wait for the membership timeout |
| Leaves never reach the router | No mrouter port in the VLAN |
IGMPv3 handles leaves as source-list changes (reports with BLOCK/TO_INCLUDE records). Snooping switches with IGMPv3 support track them per host for fast leave.
Documented example, not captured output.
Quick reference
When a host stops wanting a group, the network needs to find out quickly so it can stop sending the stream. IGMPv2 uses a Leave message followed by a check whether anyone else on the VLAN still wants the group. The speed of this process matters for applications like IPTV, where slow leaves mean several channels flow at the same time.
IGMP Leave (v2) or state change reports (v3) signal a host leaving. The querier sends group-specific queries; if nobody answers within the last member query interval, forwarding stops.
interface Vlan20
ip igmp immediate-leave group-list SINGLE-RECEIVERS
ip igmp snooping vlan 20 immediate-leave ! only when one receiver per port
Immediate leave speeds up channel changes (IPTV) but is only safe when each port has a single receiver.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → IGMP → Leave. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc3376.html · confidence 94%