Use PIM neighbor state to prove the router-to-router multicast control-plane adjacency before troubleshooting RP or mroute entries farther upstream.
PIM Neighbor
A PIM neighbor is another PIM-speaking router discovered on a shared routed link. Neighbor adjacency is a prerequisite for normal hop-by-hop PIM signaling across that link.
1. PIM neighbours form with hellos (every 30 s) on PIM-enabled interfaces.
2. Both sides need PIM sparse-mode.
3. DR is highest priority then IP.
4. Missing neighbour breaks the tree on that link.
5. Match unicast routing topology for RPF.
PIM hellos → neighbour → joins/prunes exchanged
Continue to RP/SSM model and RPF/mroute state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip pim interfaceShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip pim interfaceShowDisplay PIM-enabled interfaces.
Use when: Verify PIM is operational on the exact routed links in the multicast path.
Quick note: Use before changing PIM mode.
Cisco IOS / IOS XE · mixed · verifiesshow ip pim neighborShowInspect PIM adjacencies.
Use when: Multicast prerequisite check.
IOS/IOS XE · mixed · verifiesHow to read the output
show ip pim neighborLook first: neighbor, interface, uptime/expiry, mode/flags
Healthy: Expected PIM neighbor is stable on the intended interface.
Warning: Missing/flapping neighbor or wrong interface.
Does not prove: PIM adjacency does not prove receiver membership or multicast forwarding.
Verification & 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
interface GigabitEthernet0/0/1
ip pim sparse-mode
show ip pim neighbor
show ip pim interface
Documented example, not captured output. Neighbours are discovered with Hellos to 224.0.0.13 every 30 s (hold time 105 s). The DR (highest priority, then highest IP) on a LAN sends joins for local receivers and registers for local sources.
Step 2 Neighbour problems Narrow the fault
- PIM not enabled on one side of the link.
- Hellos blocked by an ACL or CoPP.
- Mismatched PIM modes (sparse vs dense) or neighbour filters.
- Interfaces in different VRFs.
show ip pim interface shows neighbour count and DR per interface.
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.
show ip pim neighbor— PIM neighbours per interfaceshow ip pim interface— PIM mode and DR
ReferenceWhy it matters1 section · depth on demand
How it works
PIM routers discover neighbours with hellos to 224.0.0.13 every 30 s (hold time 105 s). The neighbour with the highest IP (or priority) becomes the PIM DR on a LAN and sends joins/registers for local hosts. Without a PIM neighbour on the upstream interface, joins cannot be sent toward the RP or source.
ReferenceImportant terms & boundaries2 sections · depth on demand
Key points
In depth
Reading show ip pim neighbor
R1# show ip pim neighbor
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
10.1.12.2 GigabitEthernet0/0/1 02:14:07/00:01:35 v2 1 / S P G
10.0.10.3 Vlan10 00:45:12/00:01:28 v2 50 / DR S P G
| Column | Meaning |
|---|---|
| Uptime/Expires | Expires resets with each Hello; it counts down from the hold time (105 s default = 3.5 × 30 s Hello) |
| Ver | PIM version — v2 everywhere today |
| DR Prio | Priority used in DR election on multi-access links |
DR | This neighbour is the designated router for the segment |
DR election (RFC 7761)
Highest DR priority wins; with equal priority the highest IP address wins. On a user VLAN with two routers, the DR sends joins and registers for local receivers and sources — pin it deliberately:
interface Vlan10
ip pim sparse-mode
ip pim dr-priority 50
Place the DR on the same router as the HSRP/VRRP active gateway where practical, so multicast and unicast follow the same path.
Why the neighbour matters for forwarding
A router only accepts joins and sends them upstream towards a PIM neighbour on the RPF interface. If the RPF interface to the RP or source has no PIM neighbour, the tree cannot be built even though unicast routing works. Check with show ip rpf 10.255.0.9.
Hardening and fast failure detection
| Feature | Command | Purpose |
|---|---|---|
| Neighbour filter | ip pim neighbor-filter PIM-PEERS | Ignore Hellos from unexpected routers on a shared segment |
| Passive PIM on user VLANs | ip pim passive (where supported) | Run PIM for DR functions without sending Hellos to hosts |
| BFD | ip pim bfd | Detect neighbour loss in milliseconds instead of 105 s |
Assert on shared LANs
If two routers both forward the same (S,G) onto one LAN, they exchange Assert messages and the loser prunes. Repeated duplicate packets on a segment point to an Assert problem, often caused by inconsistent unicast routing towards the source.
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 → PIM Neighbor. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7761.html · confidence 94%