Skip to content

PIM and IGMP

PIM and IGMP provide the current multicast behaviour surface. The model focuses on group membership, multicast reachability, and deterministic tree decisions.

AreaLevelNotes
IGMP membershipSupportedQueries, v2/v3 reports, leaves with a last-member window, IGMPv3 filter modes.
MLDSupportedQuerier election, MLDv1 and MLDv2 reports, MLD snooping.
PIM routingSupportedPIM-SM: Hellos, Join/Prune, shared tree per RP, Register and Register-Stop, SPT switchover, Assert. DR election by ip pim dr-priority (highest wins, then highest address; RFC 7761 §4.3.2); ip pim neighbor-filter ignores denied neighbours’ Hellos; accept-register on the RP; BSR candidate RPs serve their group lists; XR router pim address-family ipv6.
Sparse/dense detailPartialDense mode and Bidir exist in the engine. IOS ip pim dense-mode enables the interface, but the mode is not carried.
Packet fidelitySupportedIGMP, MLD, PIM, Auto-RP, BSR and mtrace messages, and the multicast data itself, are on the wire in a capture (Packet Lens), decoded by Wireshark.
StandardCoverageNotes
RFC 3376SupportedIGMPv3 membership and filter modes.
RFC 7761SupportedPIM-SM shared and source trees, Register, Assert.
RFC 4607SupportedSSM in 232.0.0.0/8 with source-specific joins; no RP. The range is per router: ip pim ssm default|range ACL, XR ssm range.
RFC 5059SupportedBSR and candidate-RP election.
RFC 3618SupportedMSDP SA flooding with peer-RPF and mesh groups.
RFC 3810SupportedMLDv2.
FeatureStatusNotes
IGMP group stateSupportedMembership can feed multicast forwarding decisions.
PIM interface enableSupportedParticipating interfaces are represented.
RP configurationSupportedip pim rp-address <addr> [<acl>] per router and per group range; BSR and Auto-RP.
Anycast-RP / MSDPSupportedip msdp peer, mesh groups, SA filters.
mtraceSupportedQuery, Request and Response hop by hop.
Multicast in VRFsSupportedTrees inside each VRF. No MVPN across a provider core.
Multicast RPFBehaviour modelRoute-based path decisions are deterministic.
SSMSupportedIn 232.0.0.0/8 the last-hop router joins (S,G) directly, for IPv4 and IPv6.
CommandIOS-styleJunos-styleVyOS-styleNotes
ip igmp join-group 239.1.1.1SupportedSupportedSupportedThe router stands in for a receiver on that segment, so the tree is built. Junos: igmp interface X static group G; VyOS: igmp interface X join G.
ip pim sparse-modeSupportedSupportedSupportedInterface participation. dense-mode and sparse-dense-mode enable the interface the same way; the mode is not carried. Junos/VyOS: protocols pim interface X.
show ip igmp groupsSupportedPartialPartialMembership view.
show ip mroutePartialPartialPartialModel-derived multicast route state.

Multicast runs as protocols: PIM neighbours form by Hello, joins travel hop by hop along the RPF path, and a source’s traffic is registered to the RP before the last hop switches to the source tree.

Canonical example
configure terminal
interface GigabitEthernet0/0
ip pim sparse-mode
ip igmp join-group 239.1.1.1
end
show ip igmp groups
show ip mroute

Vendor styles

IOS-style
ip multicast-routing
interface GigabitEthernet0/0
ip pim sparse-mode
ip igmp join-group 239.1.1.1
Junos-style
set protocols pim interface ge-0/0/0.0 mode sparse
set protocols igmp interface ge-0/0/0.0
VyOS-style
set protocols pim interface eth0
set protocols igmp interface eth0

MVPN is not modelled: a VRF’s trees do not cross a provider core. The Assert metric is the hop count. ip pim spt-threshold infinity is per router, not per group list. IPv6 PIM adjacencies are modelled but not put on the wire. MLD has no startup query burst and no report suppression.