cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
811
Views
2
Helpful
33
Replies

Multicast Lab Auto-RP

ftermine83
Level 1
Level 1

Hi ALL,

I have setup a lab in CML for testing multicast using Auto-RP but I cant see traffic flowing from the source to the receivers . I can see the (S,G) entry in the first hop router and the (*,G) entry in the RP .

Appreciate any feedback 

Thanks,

Francesco

33 Replies 33

ftermine83
Level 1
Level 1

The source is directly connected to R1 and RP is router R3

R1# show ip mroute

(*, 224.3.3.3), 00:00:07/stopped, RP 3.3.3.3, flags: SPF
Incoming interface: GigabitEthernet0/0, RPF nbr 172.16.12.2
Outgoing interface list: Null

(172.16.1.2, 224.3.3.3), 00:00:07/00:02:52, flags: PFT
Incoming interface: GigabitEthernet0/1, RPF nbr 0.0.0.0, Registering
Outgoing interface list: Null

R3# show ip mroute

(*, 224.3.3.3), 00:19:19/00:02:55, RP 3.3.3.3, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet0/1, Forward/Sparse, 00:19:19/00:02:55

 

 

Outgoing interface list: Null

This meaning ypu dont config multicast in each interface' can you double check config PIM under interface?

MHM

PIM seems enabled on all interfaces from FHR to RP . please find below 

R1#show ip pim interface

Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
1.1.1.1 Loopback0 v2/S 0 30 1 1.1.1.1
172.16.12.1 GigabitEthernet0/0 v2/S 1 30 1 172.16.12.2
172.16.1.1 GigabitEthernet0/1 v2/S 0 30 1 172.16.1.1

R1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID Local Intrfce Holdtme Capability Platform Port ID
R2 Gig 0/0 168 R B Gig 0/0

-----------------------------------------------------------------------------
R2#show ip pim interface

Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
2.2.2.2 Loopback0 v2/S 0 30 1 2.2.2.2
172.16.12.2 GigabitEthernet0/0 v2/S 1 30 1 172.16.12.2
172.16.23.2 GigabitEthernet0/1 v2/S 1 30 1 172.16.23.3
172.16.24.2 GigabitEthernet0/2 v2/S 1 30 1 172.16.24.4
172.16.2.2 GigabitEthernet0/3 v2/S 0 30 1 172.16.2.2

R2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID Local Intrfce Holdtme Capability Platform Port ID
R3 Gig 0/1 173 R B Gig 0/0
R1 Gig 0/0 129 R B Gig 0/0
R4 Gig 0/2 171 R B Gig 0/0

---------------------------------------------------------------------------------------
R3#show ip pim interface

Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
3.3.3.3 Loopback0 v2/S 0 30 1 3.3.3.3
172.16.23.3 GigabitEthernet0/0 v2/S 1 30 1 172.16.23.3
172.16.35.3 GigabitEthernet0/1 v2/S 1 30 1 172.16.35.5
172.16.34.3 GigabitEthernet0/2 v2/S 1 30 1 172.16.34.4

R3#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID Local Intrfce Holdtme Capability Platform Port ID
R2 Gig 0/0 164 R B Gig 0/1
R4 Gig 0/2 166 R B Gig 0/3
R5 Gig 0/1 135 R B Gig 0/1

Share 

show ip pim rp mapping 

And config of RP (R3) and R1'R2

MHM

R1#show ip pim rp mapping
PIM Group-to-RP Mappings

Group(s) 224.0.0.0/4
RP 3.3.3.3 (?), v2v1
Info source: 3.3.3.3 (?), elected via Auto-RP
Uptime: 23:55:06, expires: 00:00:23


R2#show ip pim rp mapping
PIM Group-to-RP Mappings

Group(s) 224.0.0.0/4
RP 3.3.3.3 (?), v2v1
Info source: 3.3.3.3 (?), elected via Auto-RP
Uptime: 1d23h, expires: 00:00:29


R3#show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent (Loopback0)

Group(s) 224.0.0.0/4
RP 3.3.3.3 (?), v2v1
Info source: 3.3.3.3 (?), elected via Auto-RP
Uptime: 1d23h, expires: 00:00:24

The RP discovery seems to be working as intended. Both your unicast and multicast routing config looks to be fine.

What is your source? Does it send with a default TTL of 1(VLC does this by default)?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

source is 172.16.1.2 . I am using iperf to generate the traffic and I did a packet capture and TTL is 15.  I also check RPF in the RP and it matches routing 

Using this command with Alpine in CML:

iperf -c 224.3.3.3 -u -i 5 -t 60 --ttl 15

 

172.16.1.2, 224.3.3.3), 00:00:07/00:02:52, flags: PFT
Incoming interface: GigabitEthernet0/1, RPF nbr 0.0.0.0, Registering
Outgoing interface list: Null <-many 

And with mpls ip

So let try below

1- remove mpls ip form all interface

If issue solved 

Then

2- return mpls ip

In RP

Under loopback use 

Ip ospf network type p2p

And 

Mpls ldp router-id loopback 0 force 

Note:- I think you need to close open lab to make mpls re exchange the label correctly

Then check multicast again.

Note:- there are two multicast source for troubleshooting remove one 

MHM

 

Update me about this case after modify config regarding mpls 

MHM

sorry for the late response , I have been away .

I have removed mpls from all the interfaces but no luck . 

there is only one multicast  source in this lab which is connected to R1 

there is only one multicast  source in this lab which is connected to R1 

In last weekend' I do read more about cases make multicast failed' so this time I hope I can solve your issue 

Share this for R3' R1' R2

Show ip pim neighbor 

Show ip igmp group 

Show ip mroute <muticast IP>

Show ip mroute <multicast IP> count 

MHM

 

R3#show ip mroute count
Use "show ip mfib count" to get better response time for a large number of mroutes.

IP Multicast Statistics
4 routes using 3720 bytes of memory
2 groups, 1.00 average sources per group
Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second
Other counts: Total/RPF failed/Other drops(OIF-null, rate-limit etc)

Group: 224.0.1.39, Source count: 1, Packets forwarded: 0, Packets received: 0
Source: 3.3.3.3/32, Forwarding: 0/0/0/0, Other: 0/0/0

Group: 224.0.1.40, Source count: 1, Packets forwarded: 0, Packets received: 0
Source: 3.3.3.3/32, Forwarding: 0/0/0/0, Other: 0/0/0

R3#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector, p - PIM Joins on route,
x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.39), 01:20:55/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 01:20:55/stopped
GigabitEthernet0/2, Forward/Sparse, 01:20:55/stopped
GigabitEthernet0/1, Forward/Sparse, 01:20:55/stopped
GigabitEthernet0/0, Forward/Sparse, 01:20:55/stopped

(3.3.3.3, 224.0.1.39), 01:20:54/00:02:55, flags: LT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet0/0, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/1, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/2, Forward/Sparse, 01:20:54/stopped

(*, 224.0.1.40), 01:20:54/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/1, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/0, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/2, Forward/Sparse, 01:20:54/stopped

(3.3.3.3, 224.0.1.40), 01:20:54/00:02:53, flags: LT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet0/2, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/0, Forward/Sparse, 01:20:54/stopped
GigabitEthernet0/1, Forward/Sparse, 01:20:54/stopped

R3#show ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
224.0.1.39 GigabitEthernet0/2 01:21:05 00:02:02 172.16.34.3
224.0.1.39 GigabitEthernet0/1 01:21:05 00:02:04 172.16.35.3
224.0.1.39 GigabitEthernet0/0 01:21:05 00:02:53 172.16.23.3
224.0.1.39 Loopback0 01:21:05 00:02:02 3.3.3.3
224.0.1.40 Loopback0 01:21:04 00:02:58 3.3.3.3

R3#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable,
L - DR Load-balancing Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.16.23.2 GigabitEthernet0/0 01:21:11/00:01:42 v2 1 / S P G
172.16.35.5 GigabitEthernet0/1 01:18:24/00:01:37 v2 1 / DR S P G
172.16.34.4 GigabitEthernet0/2 01:21:11/00:01:40 v2 1 / DR S P G


------------------------------------------------------------------------


R2#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable,
L - DR Load-balancing Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.16.12.1 GigabitEthernet0/0 01:23:57/00:01:26 v2 1 / S P G
172.16.23.3 GigabitEthernet0/1 01:22:47/00:01:35 v2 1 / DR S P G
172.16.24.4 GigabitEthernet0/2 01:23:57/00:01:23 v2 1 / DR S P G

R2#show ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
224.0.1.39 GigabitEthernet0/1 01:24:14 00:02:47 172.16.23.3
224.0.1.40 Loopback0 01:24:16 00:02:44 2.2.2.2

R2#show ip mroute count
Use "show ip mfib count" to get better response time for a large number of mroutes.

IP Multicast Statistics
4 routes using 3516 bytes of memory
2 groups, 1.00 average sources per group
Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second
Other counts: Total/RPF failed/Other drops(OIF-null, rate-limit etc)

Group: 224.0.1.39, Source count: 1, Packets forwarded: 27, Packets received: 523
Source: 3.3.3.3/32, Forwarding: 27/0/48/0, Other: 523/24/472

Group: 224.0.1.40, Source count: 1, Packets forwarded: 486, Packets received: 489
Source: 3.3.3.3/32, Forwarding: 486/0/48/0, Other: 489/3/0

R2#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector, p - PIM Joins on route,
x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.39), 01:24:30/stopped, RP 0.0.0.0, flags: DC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet0/2, Forward/Sparse, 01:24:30/stopped
GigabitEthernet0/1, Forward/Sparse, 01:24:30/stopped
GigabitEthernet0/0, Forward/Sparse, 01:24:30/stopped

(3.3.3.3, 224.0.1.39), 01:24:30/00:01:06, flags: PT
Incoming interface: GigabitEthernet0/1, RPF nbr 172.16.23.3
Outgoing interface list:
GigabitEthernet0/2, Prune/Sparse, 01:01:03/00:00:54
GigabitEthernet0/0, Prune/Sparse, 00:02:31/00:00:28

(*, 224.0.1.40), 01:24:30/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 01:24:30/stopped
GigabitEthernet0/2, Forward/Sparse, 01:24:30/stopped
GigabitEthernet0/1, Forward/Sparse, 01:24:30/stopped
GigabitEthernet0/0, Forward/Sparse, 01:24:30/stopped

(3.3.3.3, 224.0.1.40), 01:24:21/00:02:50, flags: LT
Incoming interface: GigabitEthernet0/1, RPF nbr 172.16.23.3
Outgoing interface list:
Loopback0, Forward/Sparse, 01:24:21/stopped
GigabitEthernet0/0, Forward/Sparse, 01:24:21/stopped
GigabitEthernet0/2, Prune/Sparse, 01:01:03/00:01:05

---------------------------------------------------------------------

R1#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable,
L - DR Load-balancing Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.16.12.2 GigabitEthernet0/0 01:26:11/00:01:16 v2 1 / DR S P G

R1#show ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
224.0.1.40 Loopback0 01:27:38 00:02:22 1.1.1.1

R1#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector, p - PIM Joins on route,
x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.39), 01:27:43/stopped, RP 0.0.0.0, flags: D
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet0/0, Forward/Sparse, 01:27:43/stopped

(3.3.3.3, 224.0.1.39), 00:01:30/00:01:29, flags: PT
Incoming interface: GigabitEthernet0/0, RPF nbr 172.16.12.2
Outgoing interface list: Null

(*, 224.0.1.40), 01:27:48/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse, 01:27:48/stopped
GigabitEthernet0/0, Forward/Sparse, 01:27:48/stopped

(3.3.3.3, 224.0.1.40), 01:27:45/00:02:56, flags: LT
Incoming interface: GigabitEthernet0/0, RPF nbr 172.16.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 01:27:45/stopped


R1#show ip mroute count
Use "show ip mfib count" to get better response time for a large number of mroutes.

IP Multicast Statistics
4 routes using 1980 bytes of memory
2 groups, 1.00 average sources per group
Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second
Other counts: Total/RPF failed/Other drops(OIF-null, rate-limit etc)

Group: 224.0.1.39, Source count: 1, Packets forwarded: 0, Packets received: 1
Source: 3.3.3.3/32, Forwarding: 0/0/0/0, Other: 1/0/1

Group: 224.0.1.40, Source count: 1, Packets forwarded: 498, Packets received: 501
Source: 3.3.3.3/32, Forwarding: 498/0/48/0, Other: 501/3/0