PIM and IGMP
PIM and IGMP provide the current multicast behaviour surface. The model focuses on group membership, multicast reachability, and deterministic tree decisions.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| IGMP membership | Supported | Queries, v2/v3 reports, leaves with a last-member window, IGMPv3 filter modes. |
| MLD | Supported | Querier election, MLDv1 and MLDv2 reports, MLD snooping. |
| PIM routing | Supported | PIM-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 detail | Partial | Dense mode and Bidir exist in the engine. IOS ip pim dense-mode enables the interface, but the mode is not carried. |
| Packet fidelity | Supported | IGMP, 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. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 3376 | Supported | IGMPv3 membership and filter modes. |
| RFC 7761 | Supported | PIM-SM shared and source trees, Register, Assert. |
| RFC 4607 | Supported | SSM 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 5059 | Supported | BSR and candidate-RP election. |
| RFC 3618 | Supported | MSDP SA flooding with peer-RPF and mesh groups. |
| RFC 3810 | Supported | MLDv2. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| IGMP group state | Supported | Membership can feed multicast forwarding decisions. |
| PIM interface enable | Supported | Participating interfaces are represented. |
| RP configuration | Supported | ip pim rp-address <addr> [<acl>] per router and per group range; BSR and Auto-RP. |
| Anycast-RP / MSDP | Supported | ip msdp peer, mesh groups, SA filters. |
| mtrace | Supported | Query, Request and Response hop by hop. |
| Multicast in VRFs | Supported | Trees inside each VRF. No MVPN across a provider core. |
| Multicast RPF | Behaviour model | Route-based path decisions are deterministic. |
| SSM | Supported | In 232.0.0.0/8 the last-hop router joins (S,G) directly, for IPv4 and IPv6. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
ip igmp join-group 239.1.1.1 | Supported | Supported | Supported | The 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-mode | Supported | Supported | Supported | Interface 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 groups | Supported | Partial | Partial | Membership view. |
show ip mroute | Partial | Partial | Partial | Model-derived multicast route state. |
Behaviour notes
Section titled “Behaviour notes”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.
Examples
Section titled “Examples”Canonical example
configure terminalinterface GigabitEthernet0/0 ip pim sparse-mode ip igmp join-group 239.1.1.1endshow ip igmp groupsshow ip mrouteVendor styles
IOS-style
ip multicast-routinginterface GigabitEthernet0/0 ip pim sparse-mode ip igmp join-group 239.1.1.1Junos-style
set protocols pim interface ge-0/0/0.0 mode sparseset protocols igmp interface ge-0/0/0.0VyOS-style
set protocols pim interface eth0set protocols igmp interface eth0Known limits
Section titled “Known limits”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.