Professional Documents
Culture Documents
Brkipm 2264
Brkipm 2264
Multicast
Troubleshooting
BRKIPM-2264
Denise “Fish” Fishburne
Solutions Architect, CCIE #2639, CCDE 2009:0014
#CLUS
Agenda
• Quick Review
• Troubleshooting ASM
• Troubleshooting SSM
How
1 Find this session in the Cisco Live Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Housekeeping Items
• Cell Phones
• “Intermediate” Class
Assumes Multicast Operational Experience
• Questions
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Quick Review
Quick Review Agenda
• Frequently Used Terms
• Tree Growth
• Registering a Source
• Designated Routers
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Frequently Used Terms
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Frequently Used Terms
• Any Source Multicast (ASM)
• Original (Classic) PIM-SM
• Supports both Shared and Source Trees
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Frequently Used Terms
(*,G) = *,G
= Shared Tree
= RP tree
*,G MDT
RP
LHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Frequently Used Terms
(S,G) = S,G
= Shortest Path Tree
= Source tree
S,G MDT
FHR
LHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Frequently Used Terms
(*,G) = *,G
= Shared Tree
= RP tree
(S,G) = S,G
= Source Tree
= Shortest Path Tree
• UP and
• OUT
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Tree Growth
Multicast Distribution Tree (MDT)
• TOWARD
the ROOT
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Sending a (*,G) PIM Join
10.4.5.0
.5 .4
PIM Join
Router A Router B RP
Question:
When Router A sends a PIM (*,G) Join out, what will be the Destination IP?
**Assume Router A knows the RP, has the RP in its RIB via an IGP with B and has a PIM
neighbor with Router B
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Sending a (*,G) PIM Join
The PIM Header
PIM header common to all PIM messages:
1 = Register Unicast to RP
2 = Register-Stop Unicast to source of Register packet
3 = Join/Prune Multicast to ALL-PIM-ROUTERS
4 = Bootstrap Multicast to ALL-PIM-ROUTERS
5 = Assert Multicast to ALL-PIM-ROUTERS
http://www.ietf.org/rfc/rfc4601.txt
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Sending a (*,G) PIM Join
10.4.5.0
.5 .4
Router A Router B RP
DIP: 224.0.0.13 PIM Join
Q: When Router A sends a PIM (*,G) Join out, what will be the Destination IP?
IP of the RP?
224.0.0.13? IP of Router B?
(All PIM Routers) (10.4.5.4)
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Sending a (*,G) PIM Join
A B
.5 10.4.5.0 .4
C
Question:
If the destination IP address of the Join is 224.0.0.13 (all PIM Routers), then
how do we keep Router B and Router C from BOTH acting on that join?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Sending a (*,G) Join
A B
.5 10.4.5.0 .4
C
Answer:
The address of the upstream neighbor (B or C) is the target of the message
http://www.ietf.org/rfc/rfc4601.txt
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Sending a (*,G) PIM Join
A B
.5 10.4.5.0 .4
PIM Join
.1
Destination IP
224.0.0.13
C
IP address of B
10.4.5.4
RP
2.2.2.2
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
***When a shared MDT is already
active for that group on the RP
Registering a Source*** RP = 2.2.2.2
gig0
FHR
Mcast packet is encapsulated into
Mcast Data unicast PIM packet:
Dest IP=RP PIM Mcast data Destination IP is the RP.
PIM header type is Register
gig0 added to the RP sends PIM (S,G) Join Back Towards Source
OIL for (S,G) if there is an active shared tree for that G
Mcast packets now get sent out twice:
Mcast Data 1. With Register
2. Out (S,G)
Once the RP sees the packets come in
Mcast Data on the (S,G),
Register Stop to the FHR …. it sends a unicast Register Stop
Mcast Data Mcast Data Mcast packets now only out the (S,G) tree
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Designated Routers (DRs)
Router A
.3
Q: Which router should register the
Vlan
FHR source with the RP?
.2
A: The FHR that is the DR
Router B
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Designated Routers (DRs)
.3
LHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Multicast Troubleshooting Methodology
Multicast Troubleshooting Methodology Agenda
• The Plumbing
• Troubleshooting Toolbox
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Building the Plumbing:
Unicast
Point A Point B
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Building the Plumbing ***In this example, LHR is configured
Multicast*** to not cut over to the S,G tree.
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
“In solving a problem of this sort, the grand
thing is to be able to reason backward.
That is a very useful accomplishment, and
a very easy one, but people do not
practice it much.”
Sherlock Holmes
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Troubleshooting the ASM Plumbing
LHR
FHR RP
Traffic
Troubleshooting
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Troubleshooting the SSM Plumbing
LHR
FHR
Traffic
Troubleshooting
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Troubleshooting Toolbox
Facts to Remember
• High on the “food chain” dependent on routing working and PIM working
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Troubleshooting Toolbox
Questions to Remember
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Troubleshooting Toolbox
Checklist
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Troubleshooting Toolbox
“Go To” Commands
show ip mroute
show ip mroute count
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Our Environment
R3
NX 9372
R1 R2 R5
R1
C9300 ASR9001 C9300
FHR RP R4 LHR
NX 9372
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
ASM Troubleshooting
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
FHR RP LHR
R4
R1
R1 R2
R2 R5R5
FHR RP LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
ASM Troubleshooting:
Shared Tree
R3
R3
R2
R2 R5R5
RP LHR
R4
1c 1b
1a
R4 (an IR) sends a PIM (*,G) LHR (R5) sends a PIM
to R2 (RP) (*,G) to R4 LHR receives
IGMP Membership Report
R2
R2 R5R5
RP LHR
R4 1a
LHR receives
IGMP Membership Report
IGMP Membership Report Received by LHR
“WHO:” R5 (LHR) knows who the RP is for this group
“WHERE:” R5 (LHR) knows where (RIB) the RP is
“WHAT:” R5 (LHR) has a PIM Neighbor to send the PIM (*,G) Join to
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
ASM Troubleshooting: LHR
Shared Tree
R5
1a LHR Receives IGMP Membership Report
Group:
IGMP Membership Report Received by LHR 239.1.1.1
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
ASM Troubleshooting: LHR
Shared Tree
R5
1a LHR Receives IGMP Membership Report
IGMP Membership Report Received by LHR
Group:
239.1.1.1
• PIM not enable on interface of Receiver
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
ASM Troubleshooting: LHR
Shared Tree
R5
1a LHR Receives IGMP Membership Report
IGMP Membership Report Received by LHR
Group:
239.1.1.1
R5#show ip mroute
(*, 224.0.1.40), 00:13:27/00:02:38, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet1/0/5, Forward/Sparse, 00:13:25/00:02:38
R5#show ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter
224.0.1.40 GigabitEthernet1/0/5 00:06:13 00:02:31 100.1.1.1
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
ASM Troubleshooting: LHR
Shared Tree
R5
1a LHR Receives IGMP Membership Report
IGMP Membership Report Received by LHR
Group:
• PIM not enable on interface of Receiver 239.1.1.1
• Layer 1 issues
• Layer 2 issues
• Access-List
• IGMP membership report not being sent
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
ASM Troubleshooting: LHR
Shared Tree
R5
1a LHR Receives IGMP Membership Report
Group:
✓
IGMP Membership Report Received by LHR 239.1.1.1
R2
R2 R5R5
RP LHR
R4
1b
LHR (R5) sends a PIM (*,G)
To R4
“WHO:” R5 (LHR) knows who the RP is for this group
“WHERE:” R5 (LHR) knows where (RIB) the RP is
“WHAT:” R5 (LHR) has a PIM Neighbor to send the PIM (*,G) Join to
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
ASM Troubleshooting:
Shared Tree R3
R3
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
ASM Troubleshooting:
Shared Tree R3
R3
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
ASM Troubleshooting:
Shared Tree R3
R3
RPF Nbr?
RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
ASM Troubleshooting:
Shared Tree R3
R3
?? RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
ASM Troubleshooting:
Shared Tree R3
R3
RP LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
ASM Troubleshooting:
Shared Tree R3
R3
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
ASM Troubleshooting:
Shared Tree R3
R3
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
ASM Troubleshooting:
Shared Tree R3
R3
RP LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
ASM Troubleshooting:
Shared Tree R3
R3
R4 (an IR)
sent a PIM (*,G) 1c
R4#telnet 10.2.4.2
To R2 (RP)
Trying 10.2.4.2... Open
R2#show mrib route 239.1.1.1
(*,239.1.1.1) RPF nbr: 0.0.0.0 Flags: C RPF
Up: 00:09:19
Outgoing Interface List
GigabitEthernet0/0/0/2 Flags: F NS, Up: 00:09:19
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
ASM Troubleshooting:
Shared Tree
R3
R3
RP LHR
R2
R2 R5R5
1c 1a
R4
1b LHR receives
R4 (an IR) sends a PIM (*,G)
IGMP Membership Report
To R2 (RP) LHR (R5) sends a
PIM (*,G) to R4
(*,G) Between RP and LHR
R1
R1 R2
R2 R5R5
RP
✓
FHR LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
FHR RP LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
ASM Troubleshooting:
Source Tree
R1
R1 R2
R2
2a FHR RP
FHR receives 2b
Multicast Data FHR registers source with RP
2c
RP builds S,G Back Towards Source
2a FHR RP
FHR receives 2b
Multicast Data FHR registers source with RP
2c
RP builds S,G Back Towards Source
R1
R1 R2
R2
FHR RP
2a
FHR receives
Multicast Data
2a
FHR receives Multicast Data
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2a FHR Receives Multicast Data S: 200.1.1.100 RP
FHR
G: 239.1.1.1
R2
FHR Receives Multicast Data 2a
FHR receives
Multicast Data
R1#show ip mroute Has 224.0.1.40 but not 239.1.1.1
FHR receives
Multicast Data
R1# sh run | include access-list
access-list 2239 permit ip any host 239.1.1.1
R1# debug ip packet 2239 detail
IP packet debugging is on (detailed) for access list 2239
May 22 21:17:55.190: FIBipv4-packet-proc: route packet from GigabitEthernet1/0/5
src 200.1.1.100 dst 239.1.1.1
May 22 21:17:55.190: FIBfwd-proc: Default:224.0.0.0/4 multicast entry
May 22 21:17:55.190: FIBipv4-packet-proc: packet routing failed
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
ASM Troubleshooting:
Source Tree
R1
R1 R2
R2
2a FHR RP
FHR receives 2b
Multicast Data FHR registers source with RP
2c
RP builds S,G Back Towards Source
R1
R1 R2
R2
FHR RP
2b
2b
FHR registers source with RP
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
Question: G: 239.1.1.1
RP
Who? Why is there no (S,G) or (*,G)?
Where?
RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
Problem: G: 239.1.1.1
RP
?? Who? FHR does not know who the
Where? RP is for this group.
RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
Note: G: 239.1.1.1
RP
✓
Who? RP information can be shared 3
Where? ways: • Static
RPF Nbr? • Auto-rp
• BSR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
G: 239.1.1.1
RP
✓
Who?
Where?
RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
Problem: G: 239.1.1.1
RP
✓
Who? FHR doesn’t know who the RPF
✓
Where? neighbor is for the shared tree for
this group.
RPF Nbr?
R1#show ip rpf 2.2.2.2 ?? RPF information for ? (2.2.2.2) failed, no route exists
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2b FHR Registers Source with RP S: 200.1.1.100
FHR RP
Note: G: 239.1.1.1
“ip pim sparse-mode” added to
Gig 1/0/1 on FHR (R1)
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
ASM Troubleshooting:
Source Tree
R1
R1 R2
R2
2a FHR RP
FHR receives 2b
Multicast Data FHR registers source with RP
2c
RP builds S,G Back Towards Source
R1
R1 R2
R2
FHR RP
2c
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
ASM Troubleshooting:
Source Tree R1
R1 R2
R2
2c RP builds S,G Back S: 200.1.1.100
FHR RP
Towards Source G: 239.1.1.1
Problem:
(S,G) stuck in “registering” on
FHR (R1)
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
ASM Troubleshooting:
Source Tree R1 R2
R2
2c RP builds S,G Back S: 200.1.1.100
FHR RP
Towards Source G: 239.1.1.1
Question: Note:
Why is the FHR stuck in “registering”? S,G tree will get built backwards from
the RP.
Clue: So troubleshoot backwards from the
RP.
OIL on FHR for (S,G) is null
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
ASM Troubleshooting:
Source Tree R1 R2
R2
Question:
Why is the FHR stuck in “registering”? FHR RP
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
ASM Troubleshooting:
Source Tree R1 R2
R2
2c RP builds S,G Back S: 200.1.1.100
FHR RP
Towards Source G: 239.1.1.1
Source Problem:
✓
Who? RP doesn’t know where the
Where? Source is for this group.
RPF Nbr?
Issue:
Source address not in RIB of RP –
routing problem
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
ASM Troubleshooting:
Source Tree R1 R2
R2
S: 200.1.1.100 RP
FHR
Source Note: G: 239.1.1.1
✓
Who? Fix routing problem. RP now
✓
Where? has Source in its RIB.
✓
RPF Nbr?
R1#show ip mroute
(*, 239.1.1.1), 00:16:42/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: GigabitEthernet1/0/1, RPF nbr 10.1.2.2
Outgoing interface list: Null
(200.1.1.100, 239.1.1.1), 00:16:42/00:02:41, flags: FT
Incoming interface: GigabitEthernet1/0/5, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet1/0/1, Forward/Sparse, 00:05:44/00:02:43
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
ASM Troubleshooting:
Source Tree
FHR RP
S: 200.1.1.100
G: 239.1.1.1
Registering of Source to the RP
Mcast data
S: 200.1.1.100 FHR RP
G: 239.1.1.1
#CLUS BRKIPM-2264
✓
© 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
✓
FHR RP LHR
R4
R1
R1 R2
R2 R5R5
FHR RP LHR
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
FHR RP LHR
R4
R1
R1 R2
R2 R5R5
R4
3
LHR Cutting over to SPT (S,G)
--If SPT Threshold is not infinity (default 0) when the mcast stream comes down
the shared tree and into the LHR,
--then the LHR will try to cutover to the shortest path tree
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
ASM Troubleshooting
Joining the SPT
3 LHR Cuts over to the SPT R3
R3
R1
R1 R2
R2 R5R5
R4
3
LHR Cutting over to SPT (S,G)
Source
LHR Now must answer 3 questions Who?
before sending PIM (S,G) Join Where?
RPF Nbr?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
ASM Troubleshooting
Joining the SPT
3 LHR Cuts over to the SPT R3
R3
R1
R1 R2
R2 R5R5
R4
3
LHR Cutting over to SPT (S,G)
✓ #CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
ASM Designated Routers
Receivers
Last Hop Designated Router Responsibilities
The LH DR is responsible for sending the PIM
(*,G) Join towards the RP
.3
The LH DR will also be responsible for cutting
over to the (S,G) tree Vlan
.2
LHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
ASM Designated Routers
Sources
First Hop Designated Router Responsibilities
The FH DR is responsible for registering the Source/Group with the RP
Router A
.3
Vlan
FHR
.2
Router B
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
R4
LHR
FHR RP
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
SSM Specific Troubleshooting
SSM Specific Troubleshooting
Checklist
R1
R1 R2
R2 R5R5
gig1/0/5
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
SSM Specific Troubleshooting
R3
R3
R1
R1 R2
R2 R5R5
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
SSM Specific Troubleshooting
LHR receives
IGMPv3 Membership Report
R3
R3
ssm1
R1
R1 R2
R2 R5R5
ssm4
R4 ssm2
R2 (IR) send (S,G) Join to R1(FHR) ssm3
LHR (R5) sends a PIM (S,G)
R4 (IR) send (S,G) Join to R2 To R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report
LHR receives
IGMPv3 Membership Report
R3
R3
ssm1
R1
R1 R2
R2 R5R5
R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report R5
R5
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report R5
R5
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
SSM Specific Troubleshooting
ssm2 LHR Send (S,G) Join
R3
R3
R1
R1 R2
R2 R5R5
R4
ssm2
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
SSM Specific Troubleshooting R3
R3
ssm2 LHR Send (S,G) Join
Problem:
LHR is configured for this group
R2
R2 R5R5
to be an ASM group, not an
SSM group. LHR
Mode of Group R4
ASM
SSM
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
SSM Specific Troubleshooting R3
R3
ssm2 LHR Send (S,G) Join
Note:
Some platforms (XR) have the
R2
R2 R5R5
232/8 group as SSM by default.
In IOS it must be configured. LHR
Mode of Group If SSM Source R4
ASM Who?
SSM Where?
RPF Nbr?
R5(config)#ip pim ssm ?
default Use 232/8 group range for SSM
range ACL for group range to be used for SSM
R5(config)#ip pim ssm default
“232.0.0.0-232.255.255.255 (232/8) Source-Specific Multicast Block”
-- http://www.iana.org/assignments/multicast-addresses/
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
SSM Specific Troubleshooting R3
R3
ssm2 LHR Send (S,G) Join
R2
R2 R5R5
LHR
R4
Question:
Assuming equal cost paths to the source from the LHR through R3 and R4,
which router will the LHR use as its RPF neighbor?
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
SSM Specific Troubleshooting R3
R3
ssm2 LHR Send (S,G) Join
Note:
With this group now an SSM group, the
R2
R2 R5R5
LHR asks itself where is the Source and
who is the RPF nbr for this source? Then LHR
it sends the (S,G) Join. R4
Mode of Group If SSM Source PIM (S,G)
ASM ✓
Where? Join Sent
✓
SSM ✓
RPF Nbr?
R5#show ip mroute 232.1.1.1 S - SSM Group
(200.1.1.100, 232.1.1.1), 00:04:44/00:02:19, flags: sTI T - SPT-bit set
I - Received Source
Incoming interface: GigabitEthernet1/0/2, RPF nbr 10.4.5.4
Specific Host Report
Outgoing interface list:
GigabitEthernet1/0/5, Forward/Sparse, 00:04:44/00:02:19
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
SSM Specific Troubleshooting
ssm3 IR (R4) Sends (S,G) Join
R3
R3
R1
R1 R2
R2 R5R5
ssm3 R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
SSM Specific Troubleshooting R3
R3
ssm3 IR (R4) Sends (S,G) Join
Problem:
IR is configured for this group to
R2
R2 R5R5
be an ASM group, not an SSM
group. LHR
Mode of Group R4
ASM
SSM
R4#show ip mroute
(200.1.1.100/32, 232.1.1.1/32), uptime: 00:15:59, pim ip
Incoming interface: Ethernet1/1, RPF nbr: 10.2.4.2, uptime: 00:15:59
Outgoing interface list: (count: 1)
Ethernet1/2, uptime: 00:15:59, pim
R4#sh run | include ssm
ip pim ssm range 232.0.0.0/8
R4#
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
SSM Specific Troubleshooting R3
R3
ssm3 IR (R4) Sends (S,G) Join
Note:
With this group now an SSM group, the IR
R2
R2 R5R5
(R4) asks itself where is the Source and
who is the RPF nbr for this source. Then LHR
it sends the (S,G) Join. R4
Mode of Group If SSM Source
ASM ✓
Where?
✓SSM ✓
RPF Nbr?
R4#show ip mroute
(200.1.1.100/32, 232.1.1.1/32), uptime: 00:15:59, pim ip
Incoming interface: Ethernet1/1, RPF nbr: 10.2.4.2, uptime: 00:15:59
Outgoing interface list: (count: 1)
Ethernet1/2, uptime: 00:15:59, pim
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
SSM Specific Troubleshooting
ssm4 IR (R2) Sends (S,G) Join
R3
R3
R1
R1 R2
R2 R5R5
ssm4
R4
R2 (IR) send (S,G) join
to R1(FHR)
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
SSM Specific Troubleshooting R3
R3
ssm4 IR (R2) Sends (S,G) Join
R1
R2
R2 R5R5
Note:
XR has a very useful
command ”show pim R2 receives R4
group map”
PIM (S,G) Join
R2#show pim group-map
IP PIM Group Mapping Table
(* indicates group mappings being used)
(+ indicates BSR group mappings active in MRIB)
Group Range Proto Client Groups RP address Info
224.0.1.39/32* DM perm 0 0.0.0.0
224.0.1.40/32* DM perm 1 0.0.0.0
224.0.0.0/24* NO perm 0 0.0.0.0
232.0.0.0/8* SSM config 1 0.0.0.0
224.0.0.0/4* SM config 0 2.2.2.2 RPF: De0,2.2.2.2 (us)
224.0.0.0/4 SM static 0 0.0.0.0 RPF: Null,0.0.0.0
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
SSM Specific Troubleshooting
R3
ssm4 IR (R2) Sends (S,G) Join
Note:
IR (R2) asks itself where is the Source R1 R2 R5
and who is the RPF nbr for this source.
Then it sends the (S,G) Join.
Mode of Group If SSM Source R4
✓ R2 sends
ASM Where?
✓
SSM ✓
RPF Nbr? PIM (S,G) Join
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
SSM Specific Troubleshooting R3
ssm4 IR (R2) Sends (S,G) Join
Note: R1 R2 R5
(S,G) MDT built all the way from the
LHR to the FHR. But note how no
traffic has yet been sent from the R4
source. R2 sends
PIM (S,G) Join
R1#show ip mroute 232.1.1.1
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
SSM Specific Troubleshooting R3
ssm4 IR (R2) Sends (S,G) Join
Note: R1 R2 R5
(S,G) MDT built all the way from the
LHR to the FHR. But note how no
traffic has yet been sent from the R4
source. R2 sends
PIM (S,G) Join
R1#show ip mroute 232.1.1.1
(200.1.1.100, 232.1.1.1), 00:01:23/00:03:06, flags: sT
Incoming interface: GigabitEthernet1/0/5, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet1/0/1, Forward/Sparse, 00:01:23/00:03:06
R1#show ip mroute 232.1.1.1 count
Group: 232.1.1.1, Source count: 1, Packets forwarded: 0, Packets received: 0
Source: 200.1.1.100/32, Forwarding: 0/0/0/0, Other: 0/0/0
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
SSM Specific Troubleshooting
ssm1
R3
R3 LHR receives
IGMPv3 Membership Report
R1
R1 R2
R2 R5R5
ssm4 R4
R2 (IR) send (S,G) Join to R1(FHR) ssm2
ssm3
LHR (R5) sends a PIM (*,G)
R4 (IR) send (S,G) Join to R2 To R4
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
Final Troubleshooting Takeaways
Troubleshooting Toolbox
Facts to Remember
• High on the “food chain” dependent on routing working and PIM working
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Troubleshooting Toolbox
Questions to Remember
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
Troubleshooting Toolbox
Checklist
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
NO Receivers Getting Mcast
FHR RP
LHR
Start at RP for this Group
*,G w/ OIL?
• NO? Pick 1 LHR and start there
S,G
• NO? Go to FHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
Some Receivers Getting Mcast
FHR RP
LHR
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
SSM Troubleshooting with Fish LHR
FHR
Start at FHR
S,G w/ OIL?
• NO? Pick 1 LHR and start there
• YES? Check to see if traffic coming in from Source
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
Questions?
Complete your
online session • Please complete your session survey
evaluation after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live water bottle.
• All surveys can be taken in the Cisco Live
Mobile App or by logging in to the Session
Catalog on ciscolive.cisco.com/us.
Cisco Live sessions will be available for viewing
on demand after the event at ciscolive.cisco.com.
#CLUS BRKIPM-2264 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
Continue your education
Demos in the
Walk-in labs
Cisco campus
#CLUS BRKACI-3456 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
Thank you
#CLUS
#CLUS