Troubleshooting notes · IP services
Multicast stream not received: PIM, RPF failure and the wrong RP
A multicast receiver gets nothing. Three classic faults in order, all shown in show ip mroute: no PIM (so no IGMP) on the receiver LAN, an RPF failure over a link without PIM, and a first-hop router registering with the wrong RP. Real output from Cisco IOS XE 17.18.
The symptom
A video wall should receive the camera stream sent to group 239.1.1.1. Since a new link was added between two routers, nothing arrives. Work from the receiver back towards the source.
Fault 1: no PIM on the receiver LAN
SRC# ping 239.1.1.1 repeat 3
Sending 3, 100-byte ICMP Echos to 239.1.1.1, timeout is 2 seconds:
...
R4# show ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter
224.0.1.40 Ethernet0/0 00:01:14 00:02:53 10.0.34.4
(no 239.1.1.1)
R4# show ip pim interface
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
10.0.34.4 Ethernet0/0 v2/S 1 30 1 10.0.34.4
R4# show ip mroute 239.1.1.1
Group 239.1.1.1 not found
The last-hop router R4 runs PIM only on its uplink. On IOS, IGMP runs on an interface only when PIM is enabled there, so the receiver's join is ignored and R4 has no entry for the group.
R4(config)# interface Ethernet0/1
R4(config-if)# ip pim sparse-mode
Fault 2: the RPF check fails
(after fix 1)
R4# show ip igmp groups
239.1.1.1 Ethernet0/1 00:00:17 00:02:42 10.1.40.10
R4# show ip mroute 239.1.1.1
(*, 239.1.1.1), 00:00:17/00:02:42, RP 3.3.3.3, flags: SJC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet0/1, Forward/Sparse, 00:00:16/00:02:42
R4# show ip rpf 3.3.3.3
failed, no route exists
R4# show ip route 3.3.3.3
Known via "ospf 1", distance 110, metric 21, type intra area
* 10.0.24.2, from 3.3.3.3, 00:00:44 ago, via Ethernet0/2
Now R4 knows the receiver, but the incoming interface is Null and show ip rpf towards the RP fails. By unicast, R4 reaches the RP over the new link, and that link doesn't run PIM. The RPF interface must be a PIM interface, so R4 can't send its join towards the RP, and the shared tree never forms. The old link runs PIM, but it isn't the RPF path.
Make the multicast path match the unicast path:
R2(config)# interface Ethernet0/2
R2(config-if)# ip pim sparse-mode
R4(config)# interface Ethernet0/2
R4(config-if)# ip pim sparse-mode
Fault 3: the first-hop router uses the wrong RP
(after fix 2: the tree reaches the RP, but the stream still doesn't arrive)
R4# show ip rpf 3.3.3.3
RPF interface: Ethernet0/2
RPF neighbor: ? (10.0.24.2)
RPF type: unicast (ospf 1)
R2# show ip pim rp mapping
Group(s): 224.0.0.0/4, Static
RP: 3.3.3.4 (?)
R2# show ip mroute
(*, 239.1.1.1), 00:00:15/stopped, RP 3.3.3.4, flags: SPF
Incoming interface: Null, RPF nbr 0.0.0.0
(10.0.12.1, 239.1.1.1), 00:00:15/00:02:44, flags: PFT
Incoming interface: Ethernet0/0, RPF nbr 0.0.0.0, Registering
Outgoing interface list: Null
R2, the router next to the source, keeps Registering the source with 3.3.3.4, an RP that doesn't exist. The real RP never hears about the source, so it can't join the shared tree to it. Every router must agree on the RP.
R2(config)# no ip pim rp-address 3.3.3.4
R2(config)# ip pim rp-address 3.3.3.3
Check it
SRC# ping 239.1.1.1 repeat 5
Reply to request 0 from 10.1.40.10, 2 ms
Reply to request 1 from 10.1.40.10, 3 ms
Reply to request 2 from 10.1.40.10, 2 ms
Reply to request 3 from 10.1.40.10, 4 ms
Reply to request 4 from 10.1.40.10, 2 ms
R4# show ip mroute 239.1.1.1
(*, 239.1.1.1), 00:02:05/stopped, RP 3.3.3.3, flags: SJC
Incoming interface: Ethernet0/2, RPF nbr 10.0.24.2
Ethernet0/1, Forward/Sparse, 00:02:05/00:02:55
(10.0.12.1, 239.1.1.1), 00:00:06/00:02:53, flags: JT
Incoming interface: Ethernet0/2, RPF nbr 10.0.24.2
Ethernet0/1, Forward/Sparse, 00:00:06/00:02:55
R2# show ip mroute 239.1.1.1
(10.0.12.1, 239.1.1.1), 00:02:59/00:01:53, flags: FT
Incoming interface: Ethernet0/0, RPF nbr 0.0.0.0
Ethernet0/2, Forward/Sparse, 00:00:32/00:02:58
The receiver answers every ping to the group, and R4 has switched to the source tree (T flag) over the new link. The first few pings after the last fix can still be lost while the trees form.
Practise this fault
This fault is in ENCOR Lab 21 of ENCOR Core Labs: a ready-made GNS3 project where you find and fix it yourself, alongside the other faults in the ticket, with the tested solution.
Or start with 15 free labs (5 each from CCNA, ENARSI and ENCOR), by email:
We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.