Beruflich Dokumente
Kultur Dokumente
BRKIPM-2264
• Troubleshooting ASM
• Troubleshooting SSM
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Housekeeping Items
• Cell Phones
• “Intermediate” Class
–Assumes Multicast Operational Experience
• Questions
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Quick Review
Quick Review Agenda
• Frequently Used Terms
• Tree Growth
• Registering a Source
• Designated Routers
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Frequently Used Terms
ASM - Any Source Multicast
RP - Rendezvous Point
IR - Intermediate Router
DR - Designated Router
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Frequently Used Terms
• Any Source Multicast (ASM)
– Original (Classic) PIM-SM
– Supports both Shared and Source Trees
• Source Specific Multicast (SSM)
– a.k.a. Single Source Multicast
– Supports only Source Trees
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Frequently Used Terms
(*,G) = *,G
= Shared Tree
= RP tree
*,G MDT
RP
LHR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Frequently Used Terms
(S,G) = S,G
= Shortest Path Tree
= Source tree
S,G MDT
FHR
LHR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Frequently Used Terms
(*,G) = *,G
= Shared Tree
= RP tree
(S,G) = S,G
= Source Tree
= Shortest Path Tree
• UP and
• OUT
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Tree Growth
Multicast Distribution Tree (MDT)
• TOWARD
the ROOT
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Sending
Sending aa (*,G)
(*,G) PIM
PIM Join
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)
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Sending a (*,G) PIM Join
A B
.5 10.4.5.0 .4
RP
DIP 224.0.0.13 PIM Join
.1
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?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Sending a (*,G) PIM Join
A B
.5 10.4.5.0 .4
PIM Join
.1
Destination IP C
224.0.0.13
IP address of B
10.4.5.4
RP
2.2.2.2
http://www.ietf.org/rfc/rfc4601.txt
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
***When a shared MDT is already
Registering a Source*** active for that group on the RP
FHR RP = 2.2.2.2
gig0
Mcast packet is encapsulated into unicast PIM
Mcast Data 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)
Mcast data Once the RP sees the packets come in
on the (S,G),
…. it sends a unicast Register Stop
Register Stop to the FHR
Mcast data Mcast data Mcast packets now only out the
(S,G) tree
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Designated Routers (DRs)
Router A
.3
Vlan
FHR Q: Which router should register the source
with the RP?
.2
A: The FHR that is the DR
Router B
http://www.ietf.org/rfc/rfc4601.txt
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Designated Routers (DRs)
.3
Vlan
Q: Which router should send the PIM (*,G)
Join?
.2
A: The LHR that is the DR
LHR
http://www.ietf.org/rfc/rfc4601.txt
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Multicast Troubleshooting Methodology
Multicast Troubleshooting
Methodology Agenda
• The Plumbing
• Troubleshooting Toolbox
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Building the Plumbing
Unicast
Point A Point B
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
***In this example, LHR is configured
Building the Plumbing to not cut over to the S,G tree.
Multicast***
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
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
Troubleshooting the ASM Plumbing
LHR
FHR RP
Traffic
Troubleshooting
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Troubleshooting the SSM Plumbing
LHR
FHR
Traffic
Troubleshooting
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Troubleshooting Toolbox
“Go To” Commands
show ip mroute
show ip mroute count
BRKIPM-2264 © 2014 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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Troubleshooting Toolbox
Questions to Remember
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Troubleshooting Toolbox
Checklist
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
ASM Troubleshooting
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5
R5
FHR RP LHR
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
ASM Troubleshooting
Shared Tree
R3
R3
R1
R1 R2
R2 R5
R5
FHR RP LHR
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
ASM Troubleshooting:
Shared Tree
R3
RP LHR
R2 R5
1a
LHR receives
1c R4
IGMP Membership Report
R4 (an IR) sends a PIM (*,G) 1b
To R2 (RP)
LHR (R5) sends a PIM (*,G)
To R4
R2 R5
1a
R4 LHR receives
IGMP Membership Report
IGMP Membership Report Received by LHR
“WHO:” LHR knows who the RP is for this group
“WHERE:” LHR knows where (RIB) the RP is
“WHAT:” LHR has a PIM Neighbor to send the PIM (*,G) Join to
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
ASM Troubleshooting:
Shared Tree
1a LHR Receives IGMP Membership Report LHR
R5
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
ASM Troubleshooting:
Shared Tree
1a LHR Receives IGMP Membership Report LHR
R5
IGMP Membership Report Received by LHR
• PIM not enable on interface of Receiver
• Layer 1 issues
• Layer 2 issues
• Access-List
• IGMP membership report not being sent
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
ASM Troubleshooting:
Shared Tree
1a LHR Receives IGMP Membership Report LHR
R5
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
ASM Troubleshooting:
Shared Tree
1b LHR Sends PIM (*,G) Join R3
LHR
R2 R5
RP
R4 1b
LHR (R5) sends a PIM (*,G)
To R4
“WHO:” LHR knows who the RP is for this group
“WHERE:” LHR knows where (RIB) the RP is
“WHAT:” LHR has a PIM Neighbor to send the PIM (*,G) Join to
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
R2 R5
RP
Who? RP LHR
R4
Where?
RPF Nbr?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
Note:
R2 R5
RP information can be shared 3 ways
• Static RP LHR
R4
• Auto-rp
• BSR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
R2 R5
RP
✓
Who?
RP
R4 LHR
Where?
RPF Nbr?
R2 R5
RP
✓
Who?
RP LHR
Where? R4
RPF Nbr?
LHR#show ip mroute ✓
(*, 239.1.1.1), 00:08:18/00:02:46, RP 2.2.2.2, flags: SJC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet1/1, Forward/Sparse, 00:08:18/00:02:46, H
LHR#show ip rpf 2.2.2.2 RPF information for ? (2.2.2.2) failed, no route exists
R2 R5
RP
✓
Who?
✓
Where? RP
R4 LHR
RPF Nbr?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
RP R2 R5
✓
Who?
✓
Where? RP
R4 LHR
RPF Nbr?
LHR#show ip mroute
(*, 239.1.1.1), 00:08:18/00:02:46, RP 2.2.2.2, flags: SJC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
GigabitEthernet1/1, Forward/Sparse, 00:08:18/00:02:46, H
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
R2 R5
RP
✓
Who?
✓
Where? RP LHR
RPF Nbr? R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
R2 R5
RP LHR
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
ASM Troubleshooting:
Shared Tree
R3
1b LHR Sends PIM (*,G) Join
Question:
Why was 10.4.5.4 chosen as the RPF neighbor? R2 R5
Answer:
If ECMP are available, the RPF for the multicast traffic RP LHR
R4
will be based on highest IP address for the RPF
neighbor
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
ASM Troubleshooting:
Shared Tree
1b LHR Sends PIM (*,G) Join R3
Note:
LHR now has all the information it needs to
R2 R5
send a PIM (*,G) join to its RPF neighbor.
RP RP
✓
Who? R4 LHR
✓
Where? 1b
✓ Nbr?
RPF LHR (R5) sends a PIM
(*,G) To R4
R2 R5
RP LHR
R4
R4 (an IR) sends a PIM (*,G) R4
To R2 (RP) 1c
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
ASM Troubleshooting:
Shared Tree
1c IR Sends PIM (*,G) Join
R3
Note:
Telnetting backwards towards the root is
a good way to troubleshoot. R2 R5
RP LHR
LHR#show ip mroute 239.1.1.1 R4
R4
(*, 239.1.1.1), 00:36:39/00:02:56, RP 2.2.2.2, flags: SJC
Incoming interface: GigabitEthernet1/5, RPF nbr 10.4.5.4
Outgoing interface list:
Gig 1/1, Forward/Sparse-Dense, 00:08:08/00:02:56, H
LHR#telnet 10.4.5.4 RP
Trying 10.4.5.4 ... Open
R4#show ip mroute 239.1.1.1
✓
Who?
(*, 239.1.1.1), 00:48:49/00:02:33, RP 2.2.2.2, flags: S ✓
Where?
Incoming interface: Gig 3/3, RPF nbr 10.2.4.2, RPF-MFD ✓
Outgoing interface list: RPF Nbr?
Gig 3/5, Forward/Sparse, 00:47:16/00:02:33, H
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
ASM Troubleshooting:
Shared Tree
1c IR Sends PIM (*,G) Join
R3
Note:
R4 had all the information it needed to
send a PIM (*,G) join to its RPF
R2 R5
neighbor.
RP LHR
R4
R4 (an IR) sent a PIM (*,G)R4
R4#telnet 10.2.4.2 To R2 (RP) 1c
Trying 10.2.4.2... Open
R2#show mrib route 239.1.1.1
(*,239.1.1.1) RPF nbr: 2.2.2.2 Flags: C
Up: 00:52:12
Incoming Interface List
Decapstunnel0 Flags: A, Up: 00:52:12
Outgoing Interface List
GigabitEthernet0/0/0/3 Flags: F NS, Up: 00:52:12
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
ASM Troubleshooting:
Shared Tree
R3
RP LHR
R2 R5
1a
LHR receives
1c R4
IGMP Membership Report
R4 (an IR) sends a PIM (*,G) 1b
To R2 (RP)
LHR (R5) sends a PIM (*,G)
(*,G) Between RP and LHR To R4
R1
R1 R2
R2 R5
R5
FHR RP LHR
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
ASM Troubleshooting:
Source Tree
R1
R1 R2
R2
FHR RP
2a
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 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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
ASM Troubleshooting:
Source Tree
2a FHR Receives Multicast Data R1
R1 R2
R2
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
ASM Troubleshooting:
Source Tree
2a FHR Receives Multicast Data R1
R1 R2
R2
Note: S: 200.1.1.100 RP
We see that a (*,G) for that group has been G: 239.1.1.1 FHR
built.
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
ASM Troubleshooting:
Source Tree
R1
R1 R2
R2
FHR RP
2a
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
FHR registers source with RP
2b
FHR registers source with RP
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
ASM Troubleshooting:
Source Tree
2b FHR Registers Source with RP R2
R2
R1
R1
Note: S: 200.1.1.100 RP
We see that a (*,G) for that group has been built. G: 239.1.1.1 FHR
Question:
Why is there no (S,G)?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
ASM Troubleshooting:
Source Tree
2b FHR Registers Source with RP R2
R2
R1
R1
Note: S: 200.1.1.100 RP
We see that a (*,G) for that group has been built. G: 239.1.1.1 FHR
Question:
Why is there no (S,G)?
S: 200.1.1.100 RP
Problem:
G: 239.1.1.1 FHR
FHR does not know who the RP is for
this group.
RP
Who?
Where?
RPF Nbr?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
ASM Troubleshooting:
Source Tree
2b FHR Registers Source with RP
R1
R1 R2
R2
Note:
RP information can be shared 3 ways S: 200.1.1.100 RP
• Static G: 239.1.1.1 FHR
• Auto-rp
• BSR
RP
✓
Who?
Where?
RPF Nbr?
R1#sh ip pim rp mapping 239.1.1.1
“ip pim rp-address 2.2.2.2 override” PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static-Override
RP: 2.2.2.2 (?)
✓
R1#show ip mroute (*, 239.1.1.1), 00:02:17/00:00:42, RP 2.2.2.2, flags: SP
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list: Null
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
ASM Troubleshooting:
Source Tree
2b FHR Registers Source with RP R1
R1 R2
R2
S: 200.1.1.100 RP
Problem:
G: 239.1.1.1 FHR
FHR doesn’t know who the RPF
neighbor is for the shared tree for this
group. RP
✓
Who?
✓
Where?
RPF Nbr?
R1#show ip rpf 2.2.2.2 RPF information for ? (2.2.2.2) failed, no route exists
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
ASM Troubleshooting:
Source Tree
2b FHR Registers Source with RP R1
R1 R2
R2
S: 200.1.1.100 RP
Note:
G: 239.1.1.1 FHR
“ip pim sparse-mode” added to Gig3/1 on
FHR (R1)
R1#show ip mroute
(*, 239.1.1.1), 00:02:45/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Gig3/1, RPF nbr 10.1.2.2, RPF-MFD
Outgoing interface list: Null
R1
R1 R2
R2
FHR RP
2a
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
RP builds S,G Back Towards Source
2c
RP builds S,G Back Towards Source
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
ASM Troubleshooting:
Source Tree
2c RP builds S,G Back Towards Source R1
R1 R2
R2
S: 200.1.1.100 RP
Problem:
G: 239.1.1.1 FHR
(S,G) stuck in “registering” on FHR (R1)
R1#show ip mroute
(*, 239.1.1.1), 00:02:45/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Gig3/1, RPF nbr 10.1.2.2, RPF-MFD
Outgoing interface list: Null
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
ASM Troubleshooting:
Source Tree
2c RP builds S,G Back Towards Source R1
R1 R2
R2
Note:
Not only is the (S,G) stuck in registering, but S: 200.1.1.100 RP
G: 239.1.1.1 FHR
the CPU on FHR is also higher than normal.
Question:
Is the high CPU related to our (S,G) that is
stuck in registering?
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
ASM Troubleshooting:
Source Tree
2c RP builds S,G Back Towards Source R1
R1 R2
R2
Question:
Is the high CPU related to our (S,G) that is S: 200.1.1.100 RP
stuck in registering? G: 239.1.1.1 FHR
Answer:
We actually have only 2 interfaces that are
up/up on R1. So yes, the high CPU is
related to the multicast traffic stream
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
ASM Troubleshooting:
Source Tree
2c RP builds S,G Back Towards Source R1
R1 R2
R2
Question:
S: 200.1.1.100 RP
Why is the FHR having higher CPU? FHR
Clue: G: 239.1.1.1
OIL on FHR for (S,G) is null
Note:
S,G tree will get built backwards from the RP.
So troubleshoot backwards from RP.
* 200.1.1.100/32 [-1/-1]
via Null with rpf neighbor 0.0.0.0
R2#show route 200.1.1.100
% Network not in table
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
ASM Troubleshooting:
Source Tree
Question:
Why is the FHR having higher CPU?
R1
R1 R2
R2
***When a shared MDT is already
RP active for that group on the RP
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
RP sends PIM (S,G) Join Back Towards
Source if there is an active shared tree
for that G
Mcast data Once the RP sees the packets
Register Stop to the FHR come in on the (S,G), it sends a
unicast Register Stop
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
ASM Troubleshooting:
Source Tree
2c RP builds S,G Back Towards Source R1
R1 R2
R2
Problem:
RP doesn’t know where the Source is for this S: 200.1.1.100 RP
G: 239.1.1.1 FHR
group.
Issue:
Source address not in RIB of RP –
routing problem Source
✓
Who?
Where?
RPF Nbr?
R2#show pim rpf 200.1.1.100
* 200.1.1.100/32 [-1/-1]
via Null with rpf neighbor 0.0.0.0
R2#show route 200.1.1.100
% Network not in table
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
ASM Troubleshooting:
Source Tree
Note: R1
R1 R2
R2
Fix routing problem. RP now has
Source in its RIB. S: 200.1.1.100 RP
G: 239.1.1.1 FHR
Source
✓
Who?
✓
Where?
✓ Nbr?
RPF
R1#show ip mroute
(*, 239.1.1.1), 00:10:47/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: GigabitEthernet3/1, RPF nbr 10.1.2.2, RPF-MFD
Outgoing interface list: Null
Note: S: 200.1.1.100 RP
G: 239.1.1.1 FHR
Going back to FHR (R1) with this issue
fixed we now see that the (S,G) is no
longer stuck in registering and the CPU
is no longer high.
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
ASM Troubleshooting:
Source Tree
S: 200.1.1.100
G: 239.1.1.1
FHR Registering of Source to the RP RP
Mcast data
R1
R1 R2
R2
RP
S: 200.1.1.100 FHR
G: 239.1.1.1
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
✓
The default behavior of PIM-SM is that routers with directly connected
members will join the shortest path tree as soon as they detect a new
multicast source.”
R1
R1 R2
R2 R5
R5
FHR RP LHR
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
ASM Troubleshooting
Joining the SPT
R3
R3
R1
R1 R2
R2 R5
R5
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
ASM Troubleshooting
Joining the SPT
3 LHR Cuts over to the SPT
R3
R3
R1
R1 R2
R2 R5
R5
R4
R3
R3
R1
R1 R2
R2 R5
R5
R4
✓ 3
LHR Cutting over to SPT (S,G)
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
ASM Designated Routers
Receivers
Last Hop Designated Router Responsibilities
The LH DR is responsible for sending the PIM (*,G) Join towards the RP
The LH DR will also be responsible for cutting over to the (S,G) tree
.3
Vlan
.2
LHR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
ASM Designated Routers
Sources
Router A
.3
Vlan
FHR
.2
Router B
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5
R5
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
ASM Troubleshooting
R3
R3
R1
R1 R2
R2 R5
R5
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Troubleshooting the ASM Plumbing
LHR
FHR RP
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
SSM Specific Troubleshooting
SSM Specific Troubleshooting
R3
R3
R1
R1 R2
R2 R5
R5
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
SSM Specific Troubleshooting
R3
R3 LHR receives
IGMPv3 Membership Report
ssm1
R1
R1 R2
R2 R5
R5
ssm4
R4
R2 (IR) send (S,G) Join to R1(FHR) ssm2
ssm3
LHR (R5) sends a PIM (S,G)
R4 (IR) send (S,G) Join to R2 To R4
LHR receives
IGMPv3 Membership Report
R3
R3
ssm1
R1
R1 R2
R2 R5
R5
R4
ssm1
LHR receives
IGMPv3 Membership Report
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report
R3
R5
R5
R1 R2
ssm1
Problem: LHR receives
LHR not seeing IGMPv3 Membership Report IGMPv3 Membership Report
from Receiver
Destination IP
224.0.0.22
IGMP v3
http://www.rfc-editor.org/rfc/rfc3376.txt
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report
Problem:
LHR not seeing IGMPv3 R5
Membership Report
R5
from Receiver
Issue:
IGMPv3 not enabled on interface ssm1
LHR receives
Other Things to Look For:
Layer 1 issues, Layer 2 issues, Access-lists. IGMPv3 Membership Report
LHR#show ip igmp interface gig3/11 GigabitEthernet3/11 is up, line protocol is up
Internet address is 100.1.1.1/24
IGMP is enabled on interface
Current IGMP host version is 2
Current IGMP router version is 2
interface GigabitEthernet3/11
LHR#show run interface gig3/11 no switchport
ip address 100.1.1.1 255.255.255.0
ip pim sparse-mode
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
SSM Specific Troubleshooting
ssm1 LHR Receives IGMPv3 Membership Report
R5
R5
Note:
“ip igmp version 3” interface command ssm1
added under gig3/11 on the LHR
LHR receives
IGMPv3 Membership Report
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
SSM Specific Troubleshooting
ssm2 LHR Sends (S,G) Join
R3
R3
R1
R1 R2
R2 R5
R5
R4 ssm2
LHR (R5) sends a PIM (S,G)
To R4
ssm2
LHR (R5) sends a PIM (S,G)
To R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
SSM Specific Troubleshooting
R3
LHR
R1 R2 R5
R4
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
SSM Specific Troubleshooting
R3
ssm2 LHR Sends (S,G) Join
Problem:
LHR is configured for this group R2 R5
to be an ASM group, not an SSM
group.
Mode of Group LHR
ASM R4
SSM
LHR#show ip mroute ssm Flags: Is completely empty
D - Dense,
S - Sparse,
LHR#show ip mroute B - Bidir Group,
s - SSM Group
(*, 232.1.1.1), 17:51:47/00:02:58, RP 2.2.2.2, ??
flags: SJC
Incoming interface: GigabitEthernet3/5, RPF nbr 10.4.5.4
Outgoing interface list:
GigabitEthernet3/11, Forward/Sparse, 17:51:47/00:02:58, H
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
SSM Specific Troubleshooting
ssm2 LHR Sends (S,G) Join R3
Note:
Some platforms (XR) have the
232/8 group as SSM by default. R2 R5
In IOS it must be configured.
Mode of Group If SSM Source LHR
ASM Who? R4
SSM Where?
RPF Nbr?
LHR(config)#ip pim ssm ?
default Use 232/8 group range for SSM
range ACL for group range to be used for SSM
LHR(config)#ip pim ssm default
Question:
Assuming equal cost paths to the source from the
LHR thru R3 and R4, which router will the LHR use
as its RPF neighbor?
R3
R2 R5
R4 LHR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
SSM Specific Troubleshooting
R3
ssm2 LHR Sends (S,G) Join
Note:
With this group now an SSM group, the
LHR asks itself where is the Source and
R2 R5
who is the RPF nbr for this source.
Then it sends the (S,G) Join. LHR
Mode of Group If SSM Source R4
ASM ✓
Where? PIM (S,G)
✓
SSM ✓ Nbr?
RPF Join Sent
LHR#show ip mroute
(200.1.1.100, 232.1.1.1), 00:01:24/00:01:59, flags: sTI
Incoming interface: GigabitEthernet1/5, RPF nbr 10.4.5.4
Outgoing interface list:
GigabitEthernet1/1, Forward/Sparse, 00:01:24/00:01:59, H
s - SSM Group
T - SPT-bit set
BRKIPM-2264 I -AllReceived
© 2014 Cisco and/or its affiliates. rights reserved. Source
Cisco Public Specific Host Report
SSM Specific Troubleshooting
ssm3 IR (R4) Sends (S,G) Join
R3
R3
R1
R1 R2
R2 R5
R5
ssm3 R4
R4 (IR) send (S,G) Join to R2
ssm3
R4 (IR) send (S,G) Join to R2
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
SSM Specific Troubleshooting
ssm3 IR (R4) Sends (S,G) Join R3
Problem:
IR is configured for this group to be R2
an ASM group, not an SSM group.
R5
Mode of Group
ASM LHR
R4
SSM R4
R4#show ip mroute
??
(*, 232.1.1.1), 18:13:34/stopped, RP 2.2.2.2, flags: SP
Incoming interface: GigabitEthernet3/3, RPF nbr 10.2.4.2, Partial-SC
Outgoing interface list: Null
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
SSM Specific Troubleshooting
ssm4 IR (R2) Sends (S,G) Join
R3
R3
R1
R1 R2
R2 R5
R5
ssm4
R4
R2 (IR) send (S,G) Join to R1(FHR)
ssm4
R2 (IR) send (S,G) Join to R1(FHR)
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
SSM Specific Troubleshooting
R3
ssm4 IR (R2) Sends (S,G) Join LHR
R1 R2 R5
Note:
XR has a very useful command
“show pim group-map”
R4
Note: R1 R2 R5
(S,G) MDT built all the way from the
LHR to the FHR. But note how no
R4
traffic has yet been sent from the
source. R2 sends
PIM (S,G) Join
R1#show ip mroute 232.1.1.1
(200.1.1.100, 232.1.1.1), 00:00:28/00:03:01, flags: sT
Incoming interface: GigabitEthernet3/21, RPF nbr 0.0.0.0, RPF-MFD
Outgoing interface list:
GigabitEthernet3/1, Forward/Sparse, 00:00:28/00:03:01, H
R1#show ip mroute 232.1.1.1 count
Group: 232.1.1.1, Source count: 1, Pkts forwarded: 0, Pkts received: 0
Source: 200.1.1.100/32, Forwarding: 0/0/0/0, Other: 0/0/0
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
SSM Specific Troubleshooting
R3
R3
ssm1
LHR receives
R1
R1 R2
R2 IGMPv3 Membership
R5R5 Report
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Troubleshooting with Fish
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
Some Receivers Getting Mcast
FHR RP
LHR
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
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
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
Troubleshooting Toolbox
Facts to Remember
• High on the “food chain” dependent on routing working and PIM working
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Troubleshooting Toolbox
Questions to Remember
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Troubleshooting Toolbox
Checklist
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
Questions?
Complete Your Online Session Evaluation
• Give us your feedback and you
could win fabulous prizes. Winners
announced daily.
• Complete your session evaluation
through the Cisco Live mobile app
or visit one of the interactive kiosks
located throughout the convention
center.
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
Continue Your Education
• Demos in the Cisco Campus
• Walk-in Self-Paced Labs
• Table Topics
• Meet the Engineer 1:1 meetings
BRKIPM-2264 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 126