Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Leave

Direct answer

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.

When to use this

Use it when a stream keeps flowing after the receiver closed it, or stops for other receivers when one leaves.

First 30 seconds

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?

Operational verification

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
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE · Cisco IOS / IOS XE
Scope / prerequisiteUse it when a stream keeps flowing after the receiver closed it, or stops for other receivers when one leaves.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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).

Key checks
  • 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

ModeWhat happens after a leaveFit
NormalGroup-specific query; port removed only if nobody answersPorts with several receivers (hubs, unmanaged switches, hypervisors)
Immediate leavePort removed at onceOne 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

SymptomLikely cause
Channel change on IPTV is slow, old stream keeps arrivingNo immediate leave; long last-member query time
Other viewers lose the stream when one leavesImmediate leave on a shared port
Streams continue long after receivers stoppedHosts don't send leaves (IGMPv1, some apps); wait for the membership timeout
Leaves never reach the routerNo 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 3376

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%
Confirmation

Confirm action

Continue?