Pcornel
Networking · Routing › Multicast › IGMP

Leave

Cheat sheet · https://pcornel.dk/topic.php?topic=1172

Back to the Topic

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.

Remember

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

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

Commands

ip igmp immediate-leave group-list
show ip igmp snooping vlan
show ip igmp groups

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1172

Confirmation

Confirm action

Continue?