Use (*,G) state to understand receiver joins toward the RP and to separate shared-tree bootstrap from later source-specific forwarding.
Shared Tree
A PIM Sparse Mode shared tree is rooted at the RP and represented by (*,G) state: any source for group G can initially use the shared-tree structure.
1. The shared tree (*,G) is rooted at the RP.
2. Receivers' DRs join toward the RP.
3. Source DR registers to the RP.
4. Wrong RP mapping breaks delivery.
5. RPF to RP must use the right interface.
receiver join → (*,G) toward RP → RP forwards down shared tree
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip mroute 239.1.1.1Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
show ip mroute 239.1.1.1
show ip pim rp mapping 239.1.1.1
show ip mroute 239.1.1.1 count
(*,G) entries must exist from receivers up to the RP, with the incoming interface pointing toward the RP. Registers arriving at the RP: show ip pim rp / debug ip pim.
Step 2 Common mistakes Narrow the fault
- RP not reachable or not agreed.
- SPT switchover disabled without reason.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
*means any sourceGis the multicast group- The IIF typically points toward the RP for shared-tree state
- OIL contains downstream branches toward interested receivers
- Presence of
(*,G)alone does not prove active source packets are flowing.
show ip mroute <group>— (*,G) entry, RP, incoming interfaceshow ip pim rp mapping— RP for the groupshow ip rpf <rp-address>— RPF toward RP
ReferenceWhat it is1 section · depth on demand
How it works
Receivers' DRs send (*,G) joins toward the RP, building a tree rooted at the RP. Sources' DRs register with the RP (unicast PIM Register), and the RP forwards traffic down the shared tree. Once traffic flows, last-hop routers normally switch to the shortest-path (S,G) tree (SPT switchover, ip pim spt-threshold infinity disables it). In show ip mroute, (*,G) entries show the RP and incoming interface toward it.
ReferenceImportant terms & boundaries2 sections · depth on demand
Key points
*means any sourceGis the multicast group- The IIF typically points toward the RP for shared-tree state
- OIL contains downstream branches toward interested receivers
- Presence of
(*,G)alone does not show active source packets are flowing.
In depth
Reading the shared-tree state
R1# show ip mroute 239.1.1.1
(*, 239.1.1.1), 00:04:12/00:02:51, RP 10.255.0.9, flags: SJC
Incoming interface: GigabitEthernet0/0/1, RPF nbr 10.1.19.9
Outgoing interface list:
Vlan10, Forward/Sparse, 00:04:12/00:02:51
(10.50.0.20, 239.1.1.1), 00:03:58/00:02:59, flags: JT
Incoming interface: GigabitEthernet0/0/2, RPF nbr 10.1.15.5
Outgoing interface list:
Vlan10, Forward/Sparse, 00:03:58/00:02:51
| Item | Meaning |
|---|---|
(*, G) | Shared-tree state: any source, rooted at the RP |
RP 10.255.0.9 | RP this router uses for the group |
| Incoming interface for (*,G) | RPF interface towards the RP |
Flags S / C / J | Sparse mode / directly connected receiver / join SPT when traffic arrives |
(S, G) with T | Shortest-path tree to the source is in use |
The example shows the normal outcome described in RFC 7761: the last-hop router received the first packets via the RP and then switched to the source tree, whose incoming interface points towards the source instead of the RP.
Building the tree step by step
1. Receiver sends IGMP report; last-hop DR creates (*,G) and sends a (*,G) Join towards the RP.
2. First-hop DR of the source encapsulates packets in PIM Register messages to the RP.
3. RP forwards down the shared tree and joins the source tree; then sends Register-Stop.
4. Last-hop router switches to the SPT (default threshold 0 on IOS = immediately).
Staying on the shared tree
ip pim spt-threshold infinity keeps last-hop routers on the RP tree — less (S,G) state, but all traffic hairpins through the RP. Use only where the RP sits on the natural path.
Failure clues
| Symptom | Check |
|---|---|
| (*,G) on last hop but no traffic | RP has (S,G)? show ip mroute 239.1.1.1 on the RP; Registers arriving? |
(*,G) incoming interface Null | No RPF path to the RP — routing or RP address wrong |
| Different RP per router | show ip pim rp mapping 239.1.1.1 everywhere |
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → PIM Sparse Mode → Shared Tree. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7761.html · confidence 94%