Pcornel
Networking · Infrastructure

Multicast Fundamentals

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

Back to the Topic

Answer

Multicast delivers one stream to many receivers: receivers join groups with IGMP, routers build a distribution tree with PIM, and each router forwards only traffic that passes the RPF check towards the source.

Remember

Receiver-driven: no join, no traffic. Shared tree (*,G) through a rendezvous point, then source tree (S,G). 232.0.0.0/8 is SSM. PIM must be enabled on every interface on the path, and RPF depends on unicast routing.

First checks

  • show ip igmp groups — groups joined on the receivers' router.
  • show ip pim neighbor — PIM neighbours.
  • show ip pim rp mapping — the rendezvous point for each group range.
  • show ip mroute <group> — (*,G) and (S,G) entries: incoming interface, outgoing list, flags.
  • show ip rpf <source> — the interface the router expects traffic from that source on.
  • show ip mroute <group> count — packets forwarded per entry.

Commands

show ip pim neighbor
Inspect PIM adjacencies.
show ip mroute [group]
Inspect multicast forwarding state.
show ip igmp groups
Display receiver group membership.
show ip igmp snooping groups
show ip mroute
show ip pim rp mapping
show ip rpf <source>

Verify in this order

receiver joins with IGMP → last-hop router creates state → PIM join sent towards the RP or source → RPF check passes at every hop → (S,G) state built → packets forwarded down the tree 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=65

Confirmation

Confirm action

Continue?