Pcornel
Networking · Network & Protocols › Multicast Protocol Reference

IGMP & PIM Multicast Reference

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

Back to the Topic

Answer

Two protocols make IPv4 multicast work: with IGMP a host tells its local router which groups it wants; with PIM the routers build the path from the source to the routers that have interested hosts.

Remember

Delivery is a chain: the receiver's join, the switch, the first router, the tree, and a reverse-path check at every hop. PIM must be on every interface on the path. IGMP snooping needs a querier, or streams stop after a few minutes. Routers must agree on the rendezvous point.

First checks

  • show ip igmp groups — groups joined on the receiver's router.
  • show ip igmp snooping groups — per switch port.
  • show ip pim neighbor — PIM neighbours.
  • show ip pim rp mapping — the rendezvous point for the group.
  • show ip mroute <group> — (*,G) and (S,G) with incoming interface and outgoing list.
  • show ip rpf <source> — the expected incoming interface.

Commands

show ip igmp groups
show ip igmp interface
show ip igmp snooping groups
show ip pim neighbor
show ip pim rp mapping
show ip mroute
show ip rpf <source>
show ip rpf

Verify in this order

receiver sends an IGMP report → switch and router record the group → PIM join towards the rendezvous point → source registered → (S,G) built along the reverse path → stream forwarded only where requested

Where it usually breaks

receiver membership → PIM/control adjacency → RP/source state → unicast RPF lookup → mroute/OIL → egress replication → receiver packet flow

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

Confirmation

Confirm action

Continue?