Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Shared Tree

Direct answer

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.

When to use this

Use (*,G) state to understand receiver joins toward the RP and to separate shared-tree bootstrap from later source-specific forwarding.

First 30 seconds

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.

Operational verification

receiver join → (*,G) toward RP → RP forwards down shared tree

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Key commandshow ip mroute 239.1.1.1
Scope / prerequisiteUse (*,G) state to understand receiver joins toward the RP and to separate shared-tree bootstrap from later source-spec…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • * means any source
  • G is 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.
Key checks
  • show ip mroute <group> — (*,G) entry, RP, incoming interface
  • show ip pim rp mapping — RP for the group
  • show 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 source
  • G is 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
ItemMeaning
(*, G)Shared-tree state: any source, rooted at the RP
RP 10.255.0.9RP this router uses for the group
Incoming interface for (*,G)RPF interface towards the RP
Flags S / C / JSparse mode / directly connected receiver / join SPT when traffic arrives
(S, G) with TShortest-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

SymptomCheck
(*,G) on last hop but no trafficRP has (S,G)? show ip mroute 239.1.1.1 on the RP; Registers arriving?
(*,G) incoming interface NullNo RPF path to the RP — routing or RP address wrong
Different RP per routershow ip pim rp mapping 239.1.1.1 everywhere

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 7761

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%
Confirmation

Confirm action

Continue?