Académique Documents
Professionnel Documents
Culture Documents
RST-360
RP
Receiver
RP
Source
RP
Source
RP
Source
RP
Source
RP
Source
Traffic Flow
Traffic begins flowing down the
Shared Tree new branch of the Source Tree.
Source Tree
Additional (S, G) State is created
(S, G)RP-bit Prune Receiver along along the Shared Tree to
prune off (S, G) traffic.
RP
Source
RP
Source
RP
Source
PIM SM Joining
S1
To RP (10.1.5.1)
S0 rtr-a
10.1.4.2
E0
Shared Tree 10.1.2.1
10.1.2.2
E0
E1
1 IGMP Join rtr-b
Rcvr A
BC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 37
Troubleshooting Hints
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 17
Troubleshooting Cheat Sheet
PIM Hello
PIM Hello
PIM Router 1
171.68.37.1
wan-gw8>show
wan-gw8>show ip
ip pim
pim neighbor
neighbor
PIM Neighbor Table
PIM Neighbor Table
Neighbor
Neighbor Address
Address Interface
Interface Uptime
Uptime Expires
Expires Mode
Mode
171.68.0.70
171.68.0.70 FastEthernet0
FastEthernet0 2w1d
2w1d 00:01:24
00:01:24 Sparse
Sparse
171.68.0.91
171.68.0.91 FastEthernet0
FastEthernet0 2w6d
2w6d 00:01:01
00:01:01 Sparse
Sparse (DR)
(DR)
171.68.0.82
171.68.0.82 FastEthernet0
FastEthernet0 7w0d
7w0d 00:01:14
00:01:14 Sparse
Sparse
171.68.0.86
171.68.0.86 FastEthernet0
FastEthernet0 7w0d
7w0d 00:01:13
00:01:13 Sparse
Sparse
171.68.0.80
171.68.0.80 FastEthernet0
FastEthernet0 7w0d
7w0d 00:01:02
00:01:02 Sparse
Sparse
171.68.28.70
171.68.28.70 Serial2.31
Serial2.31 22:47:11
22:47:11 00:01:16
00:01:16 Sparse
Sparse
171.68.28.50
171.68.28.50 Serial2.33
Serial2.33 22:47:22
22:47:22 00:01:08
00:01:08 Sparse
Sparse
171.68.27.74
171.68.27.74 Serial2.36
Serial2.36 22:47:07
22:47:07 00:01:21
00:01:21 Sparse
Sparse
171.68.28.170
171.68.28.170 Serial0.70
Serial0.70 1d04h
1d04h 00:01:06
00:01:06 Sparse
Sparse
171.68.27.2
171.68.27.2 Serial1.51
Serial1.51 1w4d
1w4d 00:01:25
00:01:25 Sparse
Sparse
171.68.28.110
171.68.28.110 Serial3.56
Serial3.56 1d04h
1d04h 00:01:20
00:01:20 Sparse
Sparse
171.68.28.58
171.68.28.58 Serial3.102
Serial3.102 12:53:25
12:53:25 00:01:03
00:01:03 Sparse
Sparse
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 25
Module Agenda
ABCDEF
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 28
PIM-SM (*,G) State Rules
(*,G) creation
Receipt of a (*,G) Join or IGMP Report
Automatically if (S,G) must be created
(*,G) reflects default group forwarding
IIF = RPF interface toward RP
OIL = interfaces
that received a (*,G) Join or
with directly connected members or
manually configured
(*,G) deletion
When OIL = NULL and
no child (S,G) state exists
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 29
PIM-SM (S,G) State Rules
(S,G) creation
By receipt of (S,G) Join or Prune or
By Register process
Parent (*,G) created (if doesnt exist)
(S,G) reflects forwarding of S to G
IIF = RPF Interface normally toward source
RPF toward RP if RP-bit set
OIL = Initially, copy of (*,G) OIL minus IIF
(S,G) deletion
By normal (S,G) entry timeout
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 30
PIM-SM OIL Rules
S = Sparse Mode
C = Directly Connected Host
L = Local (Router is member)
P = Pruned (All intfcs in OIL = Prune)
T = Forwarding via SPT
Indicates at least one packet was forwarded
J = Join SPT
In (*, G) entry
Indicates SPT-Threshold is being exceeded
Next (S,G) received will trigger join of SPT
In (S, G) entry
Indicates SPT joined due to SPT-Threshold
If rate < SPT-Threshold, switch back to Shared Tree
F = Register/First-Hop
In (S,G) entry
S is a directly connected source
Triggers the Register Process
In (*, G) entry
Set when F set in at least one child (S,G)
R = RP bit
(S, G) entries only
Set by (S,G)RP-bit Prune
Indicates info is applicable to Shared Tree
Used to prune (S,G) traffic from Shared Tree
Initiated by Last-hop router after switch to SPT
Modifies (S,G) forwarding behavior
IIF = RPF toward RP (I.e. up the Shared Tree)
OIL = Pruned accordingly
BC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 36
PIM SM Joining
S1
To RP (10.1.5.1)
S0 rtr-a
10.1.4.2
E0
Shared Tree 10.1.2.1
10.1.2.2
E0
E1
1 IGMP Join rtr-b
Rcvr A
BC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 37
PIM SM Joining
S1
To RP (10.1.5.1)
S0 rtr-a
10.1.4.2
E0
Shared Tree 10.1.2.1
10.1.2.2
E0
E1
rtr-b
Rcvr A
(*,
(*, 224.1.1.1),
224.1.1.1), 00:00:05/00:02:54,
00:00:05/00:02:54, RP
RP 10.1.5.1,
10.1.5.1, flags:
flags: SC
SC
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr
nbr 10.1.2.1
10.1.2.1
Outgoing
Outgoing interface
interface list:
list:
Ethernet1,
Ethernet1, Forward/Sparse,
Forward/Sparse, 00:00:05/00:02:54
00:00:05/00:02:54
BC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 38
PIM SM Joining
S1
To RP (10.1.5.1)
S0 rtr-a
10.1.4.2
E0
Shared Tree 10.1.2.1
BC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 39
PIM SM Joining
S1
To RP (10.1.5.1)
S0 rtr-a
10.1.4.2
E0
Shared Tree 10.1.2.1
10.1.2.2
E0
E1
rtr-b
Rcvr A
(*,
(*, 224.1.1.1),
224.1.1.1), 00:00:05/00:02:54,
00:00:05/00:02:54, RP
RP 10.1.5.1,
10.1.5.1, flags:
flags: SS
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 10.1.4.1
10.1.4.1
Outgoing interface list:
Outgoing interface list:
Ethernet0,
Ethernet0, Forward/Sparse,
Forward/Sparse, 00:00:05/00:02:54
00:00:05/00:02:54
10.1.2.2
E0
E1
rtr-b
Rcvr A
AB
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 42
PIM SM Register Examples
AB
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 43
PIM SM Registering
Receiver Joins Group First
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
Shared Tree
AB
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 44
PIM SM Registering
Receiver Joins Group First
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
Shared Tree
rtr-b>sh
rtr-b>sh ip
ip mroute
mroute 224.1.1.1
224.1.1.1
No
No such
such group
group
AB
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 45
PIM SM Registering
Receiver Joins Group First
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
Shared Tree
No such group.
AB
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 46
PIM SM Registering
Receiver Joins Group First
(171.68.37.121, 224.1.1.1)
Mcast Packets
1 RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
Shared Tree
(171.68.37.121, 224.1.1.1)
2
Register Msgs
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
Shared Tree
(*,
(*, 224.1.1.1),
224.1.1.1), 00:00:03/00:02:56,
00:00:03/00:02:56, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.191,
171.68.28.191,
Outgoing interface list: Null
Outgoing interface list: Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:00:03/00:02:56,
00:00:03/00:02:56, flags:
flags: FPT
FPT
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr 0.0.0.0, Registering
nbr 0.0.0.0,
Outgoing
Outgoing interface
interface list:
list: Null
Null
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
3 (*, 224.1.1.1)
Mcast Traffic
Shared Tree
(*, 224.1.1.1), 00:09:21/00:02:38, RP 171.68.28.140, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0,
Outgoing interface list:
Serial0, Forward/Sparse, 00:09:21/00:02:38
Serial1, Forward/Sparse, 00:03:14/00:02:46
Source E0 S0 S0 S1
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
Shared Tree
Source E0 S0 S0 S1
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
171.68.28.190
Mcast Traffic
Shared Tree
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RPRP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial1,
Serial1, RPF
RPF nbr
nbr 171.68.28.140,
171.68.28.140,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags:
Incoming interface: Serial0, RPF nbr 171.68.28.190
Incoming interface: Serial0, RPF nbr 171.68.28.190
Outgoing
Outgoing interface
interface list:
list:
Serial1,
Serial1, Forward/Sparse,
Forward/Sparse, 00:04:28/00:01:32
00:04:28/00:01:32
Source E0 S0 S0 S1
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
Shared Tree
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface: Serial0,
interface: Serial0, RPF
RPF nbr 171.68.28.191,
nbr 171.68.28.191,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: FT
FT
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr
nbr 0.0.0.0,
0.0.0.0, Registering
Registering
Outgoing interface list:
Outgoing interface list:
Serial0, Forward/Sparse, 00:04:28/00:01:32
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 52
PIM SM Registering
Receiver Joins Group First
Source E0 S0 S0 S1
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
7 Register-Stop Mcast Traffic
Shared Tree
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 53
PIM SM Registering
Receiver Joins Group First
(171.68.37.121, 224.1.1.1)
Mcast Packets
8 RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
Shared Tree
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface: Serial0,
interface: Serial0, RPF
RPF nbr 171.68.28.191,
nbr 171.68.28.191,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: FT
FT
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr
nbr 0.0.0.0,
0.0.0.0, Registering
Registering
Outgoing interface list:
Outgoing interface list:
Serial0,
Serial0, Forward/Sparse,
Forward/Sparse, 00:04:28/00:01:32
00:04:28/00:01:32
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
Shared Tree
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RPRP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial1,
Serial1, RPF
RPF nbr
nbr 171.68.28.140,
171.68.28.140,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: TT
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.190
171.68.28.190
Outgoing
Outgoing interface
interface list:
list:
Serial1,
Serial1, Forward/Sparse,
Forward/Sparse, 00:04:28/00:01:32
00:04:28/00:01:32
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 55
PIM SM Registering
Receiver Joins Group First
(171.68.37.121, 224.1.1.1)
Mcast Packets
171.68.28.139
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
Shared Tree
(*, 224.1.1.1), 00:09:21/00:02:38, RP 171.68.28.140, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0,
Outgoing interface list:
Serial0, Forward/Sparse, 00:09:21/00:02:38
Serial1, Forward/Sparse, 00:03:14/00:02:46
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
rtr-c>show
rtr-c>show ip
ip mroute
mroute 224.1.1.1
224.1.1.1
Group
Group 224.1.1.1
224.1.1.1 not
not found.
found.
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 58
PIM SM Registering
Source Registers First
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
rtr-b>show
rtr-b>show ip
ip mroute
mroute 224.1.1.1
224.1.1.1
Group
Group 224.1.1.1
224.1.1.1 not
not found.
found.
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 59
PIM SM Registering
Source Registers First
RP
E0 S0 S0 S1 S3
S0 S1 rtr-c
rtr-a rtr-b
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 60
PIM SM Registering
Source Registers First
(171.68.37.121, 224.1.1.1)
Mcast Packets
1 RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*,
(*, 224.1.1.1),
224.1.1.1), 00:00:03/00:02:56,
00:00:03/00:02:56, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.191,
171.68.28.191,
Outgoing interface list: Null
Outgoing interface list: Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:00:03/00:02:56,
00:00:03/00:02:56, flags:
flags: FPT
FPT
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr 0.0.0.0, Registering
nbr 0.0.0.0,
Outgoing
Outgoing interface
interface list:
list: Null
Null
Source E0 S0 S0 S1 S3
3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
3
rtr-c (RP) has no receivers on Shared Tree; discards packet.
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 63
PIM SM Registering
Source Registers First
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
Register-Stop 4
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 64
PIM SM Registering
Source Registers First
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
5
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*,
(*, 224.1.1.1),
224.1.1.1), 00:01:28/00:01:32,
00:01:28/00:01:32, RPRP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.191,
171.68.28.191,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:01:28/00:01:32,
00:01:28/00:01:32, flags:
flags: FPT
FPT
Incoming interface: Ethernet0, RPF nbr 0.0.0.0
Incoming interface: Ethernet0, RPF nbr 0.0.0.0
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
rtr-b>show
rtr-b>show ip
ip mroute
mroute 224.1.1.1
224.1.1.1
Group
Group 224.1.1.1
224.1.1.1 not
not found.
found.
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 67
PIM SM Registering
Source Registers First
(171.68.37.121, 224.1.1.1)
Mcast Packets
171.68.28.139
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*,
(*, 224.1.1.1),
224.1.1.1), 00:01:15/00:01:45,
00:01:15/00:01:45, RP RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming interface: Null, RPF nbr 0.0.0.0,
Incoming interface: Null, RPF nbr 0.0.0.0,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121,
(171.68.37.121, 224.1.1.1),
224.1.1.1), 00:01:15/00:01:45,
00:01:15/00:01:45, flags:
flags: PP
Incoming
Incoming interface:
interface: Serial3,
Serial3, RPF
RPF nbr
nbr 171.68.28.139,
171.68.28.139,
Outgoing interface list: Null
Outgoing interface list: Null
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 68
PIM SM Registering
Source Registers First
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, G) Join 6
(171.68.37.121, 224.1.1.1)
Mcast Packets 7
(S, G) Join RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(171.68.37.121, 224.1.1.1)
Mcast Packets 8
(S, G) Join RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
171.68.28.190
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RPRP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial1,
Serial1, RPF
RPF nbr
nbr 171.68.28.140,
171.68.28.140,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags:
Incoming interface: Serial0, RPF nbr 171.68.28.190
Incoming interface: Serial0, RPF nbr 171.68.28.190
Outgoing
Outgoing interface
interface list:
list:
Serial1,
Serial1, Forward/Sparse,
Forward/Sparse, 00:04:28/00:01:32
00:04:28/00:01:32
(171.68.37.121, 224.1.1.1)
Mcast Packets
9 RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
10 (*, 224.1.1.1)
Mcast Traffic
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface: Serial0,
interface: Serial0, RPF
RPF nbr 171.68.28.191,
nbr 171.68.28.191,
Outgoing
Outgoing interface
interface list:
list: Null
Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: FT
FT
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr
nbr 0.0.0.0,
0.0.0.0,
Outgoing interface list:
Outgoing interface list:
Serial0, Forward/Sparse, 00:04:28/00:01:32
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
171.68.28.190 (*, 224.1.1.1)
Mcast Traffic
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial1,
Serial1, RPF
RPF nbr
nbr 171.68.28.140,
171.68.28.140,
Outgoing interface list: Null
Outgoing interface list: Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: TT
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.190
171.68.28.190
Outgoing
Outgoing interface
interface list:
list:
Serial1,
Serial1, Forward/Sparse, 00:04:28/00:01:32
Forward/Sparse, 00:04:28/00:01:32
(171.68.37.121, 224.1.1.1)
Mcast Packets
171.68.28.139
RP
Source E0 S0 S0 S1 S3
171.68.37.121 S0 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 74
PIM SM Register Examples
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 75
PIM SM Registering
Receivers along the SPT
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
(*,
(*, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, RP
RP 171.68.28.140,
171.68.28.140, flags:
flags: SP
SP
Incoming
Incoming interface:
interface: Serial1,
Serial1, RPF
RPF nbr
nbr 171.68.28.140,
171.68.28.140,
Outgoing interface list: Null
Outgoing interface list: Null
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:04:28/00:01:32,
00:04:28/00:01:32, flags:
flags: TT
Incoming
Incoming interface:
interface: Serial0,
Serial0, RPF
RPF nbr
nbr 171.68.28.190
171.68.28.190
Outgoing
Outgoing interface
interface list:
list:
Serial1,
Serial1, Forward/Sparse, 00:04:28/00:01:32
Forward/Sparse, 00:04:28/00:01:32
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b
(*, 224.1.1.1)
Mcast Traffic
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 77
PIM SM Registering
Receivers along the SPT
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b E0
(*, 224.1.1.1)
1 IGMP Join Mcast Traffic
Rcvr A
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 78
PIM SM Registering
Receivers along the SPT
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b E0
(*, 224.1.1.1)
Mcast Traffic
Rcvr A
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 2 S1 rtr-c
rtr-a rtr-b E0
(*, G) Join
(*, 224.1.1.1)
Mcast Traffic
Rcvr A
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 80
PIM SM Registering
Receivers along the SPT
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b E0
(*, 224.1.1.1)
Mcast Traffic
Rcvr A
(*, 224.1.1.1), 00:09:21/00:02:38, RP 171.68.28.140, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0,
Outgoing interface list:
Serial1, Forward/Sparse, 00:03:14/00:02:46
Serial3, Forward/Sparse, 00:00:10/00:02:50
(171.68.37.121, 224.1.1.1)
Mcast Packets
RP
Source
S0 S1 S3
171.68.37.121 S1 rtr-c
rtr-a rtr-b E0
(*, 224.1.1.1)
3 Mcast Traffic
Rcvr A
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 83
PIM SM SPT-Switchover
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 84
PIM SM SPT-Switchover
To RP (10.1.5.1) rtr-c
10.1.4.1 To Source Si
S0 S1 rtr-a S1
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: S
Incoming interface: Serial0, RPF nbr 10.1.5.1,
Outgoing interface list:
Serial1, Forward/Sparse, 00:01:43/00:02:11
Serial2, Forward/Sparse, 00:00:32/00:02:28
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: S
Incoming interface: Serial0, RPF nbr 10.1.4.1,
Outgoing interface list:
Ethernet0, Forward/Sparse, 00:01:43/00:02:11
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
J
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: SCJ Note J
Incoming interface: Ethernet0, RPF nbr 10.1.2.1, Flag is set
Outgoing interface list:
Ethernet1, Forward/Sparse, 00:01:43/00:02:11
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 88
PIM SM SPT-Switchover
To RP (10.1.5.1) rtr-c
10.1.4.1 To Source Si
S0 S1 rtr-a S1
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0 1
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: SCJ
Incoming interface: Ethernet0, RPF nbr 10.1.2.1,
Outgoing interface list:
Ethernet1, Forward/Sparse, 00:01:43/00:02:11
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: SCJ
Incoming interface: Ethernet0, RPF nbr 10.1.2.1,
Outgoing interface list:
Ethernet1, Forward/Sparse, 00:01:43/00:02:11
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2 3 (Si,G) Join
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 91
PIM SM SPT-Switchover
To RP (10.1.5.1) rtr-c
10.1.4.1 To Source Si
S0 S1 rtr-a S1
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: S
Incoming interface: Serial0, RPF nbr 10.1.4.1,
Outgoing interface list:
Ethernet0, Forward/Sparse, 00:01:43/00:02:11
S2 4 (Si,G) Join
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 93
PIM SM SPT-Switchover
To RP (10.1.5.1) rtr-c
10.1.4.1 To Source Si
S0 S1 rtr-a S1
S2 5 (S ,G) Traffic
S0
10.1.4.2 i
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
(*, 224.1.1.1), 00:01:43/00:02:13, RP 10.1.5.1, flags: S
Incoming interface: Serial0, RPF nbr 10.1.5.1,
Outgoing interface list:
Serial1, Forward/Sparse, 00:01:43/00:02:11
Serial2, Forward/Sparse, 00:00:32/00:02:28
S2 7 S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 97
PIM SM SPT-Switchover
To RP (10.1.5.1) rtr-c
10.1.4.1 To Source Si
S0 S1 rtr-a S1
8 S2
S0
10.1.4.2
E0
10.1.2.1
S0
10.1.2.2
rtr-d E0
(Si, G) Traffic Flow
E1
E0 rtr-b Shared (RPT) Tree
Rcvr A SPT Tree
Rcvr B
AE
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 98
PIM Protocol Mechanics
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 99
PIM SM Pruning
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 100
PIM SM Pruning
Shared Tree Case
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
Rcvr A
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 101
PIM SM Pruning
Shared Tree Case
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
Rcvr A
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 102
PIM SM Pruning
Shared Tree Case
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0 3 (*,G) Prune
1 IGMP Leave E1
X rtr-b
Rcvr A
2
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 103
PIM SM Pruning
Shared Tree Case
6 S1
To RP (10.1.5.1)
(*,G) Prune
X S0 rtr-a
(Si, G) Traffic Flow 5 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
X 4
E0
E1
rtr-b
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
Rcvr A
(*,
(*, 224.1.1.1),
224.1.1.1), 00:01:43/00:02:59,
00:01:43/00:02:59, RP
RP 10.1.5.1,
10.1.5.1, flags:
flags: SC
SC
Incoming
Incoming interface:
interface: Ethernet0,
Ethernet0, RPF
RPF nbr
nbr 10.1.2.1,
10.1.2.1,
Outgoing
Outgoing interface
interface list:
list:
Ethernet1,
Ethernet1, Forward/Sparse,
Forward/Sparse, 00:01:43/00:02:11
00:01:43/00:02:11
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:01:05/00:01:55,
00:01:05/00:01:55, flags:
flags: CJT
CJT
Incoming interface: Ethernet0, RPF nbr 10.1.2.1
Incoming interface: Ethernet0, RPF nbr 10.1.2.1
Outgoing
Outgoing interface
interface list:
list:
Ethernet1,
Ethernet1, Forward/Sparse,
Forward/Sparse, 00:01:05/00:02:55
00:01:05/00:02:55
HC
RST-360.ppt
State in rtr-b before Pruning
2002, Cisco Systems, Inc. All rights reserved. 105
PIM SM Pruning
Source (SPT) Case
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
Rcvr A
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
1 IGMP Leave E1
rtr-b
X
Rcvr A
2
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 107
PIM SM Pruning
Source (SPT) Case
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0 3 (*,G) Prune
E1
rtr-b
3 rtr-b (*,G) OIL now empty; sends (*,G) Prune toward RP.
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 109
PIM SM Pruning
Source (SPT) Case
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0 4 (S, G) Prune
E1
rtr-b
3 rtr-b (*,G) OIL now empty; sends (*,G) Prune toward RP.
4 rtr-b (S,G) OIL now empty; sends (S, G) Prune towards Si .
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 110
PIM SM Pruning
Source (SPT) Case
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
X 5
E0
E1
rtr-b
5 rtr-a receives (*, G) Prune; removes E0 from (*,G) & (S,G) OILs
(After the 3 second Multi-access Network Prune delay.)
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 111
PIM SM Pruning
Source (SPT) Case
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
(*,
(*, 224.1.1.1),
224.1.1.1), 00:02:32/00:02:59,
00:02:32/00:02:59, RP
RP 10.1.5.1,
10.1.5.1, flags:
flags: SP
SP
Incoming
Incoming interface: Serial0,
interface: Serial0, RPF
RPF nbr 10.1.4.1,
nbr 10.1.4.1,
Outgoing interface list:
Outgoing interface list:
(171.68.37.121/32,
(171.68.37.121/32, 224.1.1.1),
224.1.1.1), 00:01:56/00:00:53,
00:01:56/00:00:53, flags:
flags: PT
PT
Incoming
Incoming interface: Serial1,
interface: Serial1, RPF nbr 10.1.9.2
RPF nbr 10.1.9.2
Outgoing interface list:
Outgoing interface list:
To Source Si
S1
To RP (10.1.5.1)
6 rtr-a (*,G) OIL now empty; sends (*,G) Prune toward RP.
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 113
PIM SM Pruning
Source (SPT) Case
8
To Source Si
S1
To RP (10.1.5.1)
S0 rtr-a
(Si, G) Traffic Flow 10.1.4.2
E0
10.1.2.1
Shared Tree
SPT Tree 10.1.2.2
E0
E1
rtr-b
6 rtr-a (*,G) OIL now empty; sends (*,G) Prune toward RP.
HC
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 114
Agenda
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 115
Rendezvous Points
Auto-RP
Bootstrap Router (BSR)
Static configuration
Anycast RP
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 117
Auto-RP
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 118
Auto-RP Fundamentals
Candidate RPs
Configured via global config command
ip pim send-rp-announce <intfc> scope <ttl> [group-list
acl]
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 121
Auto-RPFrom 10,000 Feet
MA MA
Announce
Announce
A B
Announce
RP-Announcements multicast to the
Cisco Announce (224.0.1.39) group
Announce
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 122
Auto-RPFrom 10,000 Feet
y
y
over
over
Disc
Disc
Disc Disc
over over
y y
MA MA
Disc Disc
A over B over
y
y
y
y
over
over
Disc
Disc
C D
C-RP C-RP
1.1.1.1 2.2.2.2
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 124
Basic PIMv2 BSR
PIMv2
BSR Msgs
Sparse Mode F
BSR Msgs
RP
nt Ad
se me v
ert
i (un ertise
Adv ast ) ica me
c st nt
RP (uni )
C-
C-RP C-RP
B C
E
BSR Msgs Flooded Hop-by-Hop
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 125
Static RPs
Hard-coded RP address
When used, must be configured on every router
All routers must have the same RP address
RP fail-over not possible
Exception: If Anycast RPs are used. (More on that later.)
Group can never fall back into Dense mode.
Command
ip pim rp-address <address> [group-list <acl>] [override]
Optional group list specifies group range
Default: Range = 224.0.0.0/4 (Includes Auto-RP Groups!!!!)
Override keyword overrides Auto-RP information
Default: Auto-RP learned info takes precedence
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 126
Anycast RP Overview
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 127
Anycast RP Overview
Src Src
RP1 RP2
MSDP
X
A SA SA B
10.1.1.1 10.1.1.1
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 128
Anycast RP Overview
Src Src
RP1 RP2
X
A B
10.1.1.1 10.1.1.1
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 129
Agenda
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 139
Show ip igmp interface
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 140
Show ip mroute
CEF
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 142
Show ip pim neighbor
CEF
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 143
Show ip pim rp
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 144
Show ip pim rp mapping
Router# show ip pim rp mapping
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 145
Show ip rpf <source>
EF
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 146
Tools and Examples
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 147
PIM Timers
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 148
PIM Timers
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 151
Mroute Entries
Source Tree
Shared Tree
Pruned Tree
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 152
PIM Source Tree
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 154
PIM SM Source Tree
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 155
PIM SM Source Tree
H
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 156
PIM SM Source Tree
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 157
PIM Shared Tree
(*,G) state
Bi-directional PIM
Sparse-mode
NOT SSM or Dense
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 158
PIM SM Shared Tree
All Sources for this group will be forwarded out the olist
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 159
PIM SM Shared Tree
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 160
PIM SM Shared Tree
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 161
PIM SM Shared Tree
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 162
PIM SM Shared Tree
BH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 163
PIM SM Shared Tree
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 164
(S,G,RP-bit) State
Note R-flag
DH
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 166
Tools and Examples
Debugging commands
These are a few basic debugs to be used along
with show commands
Debug ip mpacket
Debug ip pim
Debug ip igmp
Debug ip mpacket
A
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 169
Debugging commands
Debug ip pim
mc1-36b_R3#deb ip pim
PIM debugging is on
mc1-36b_R3#
*Sep 18 08:21:47.585: PIM: Received v2 Hello on ATM3/0.200 from 10.10.92.2
*Sep 18 08:21:47.585: PIM: Received v2 Join/Prune on ATM3/0.200 from 10.10.92.2s
*Sep 18 08:21:47.585: PIM: Join-list: (*, 224.0.1.40) RP 111.1.1.1, RPT-bit sett
*Sep 18 08:21:47.585: PIM: Add ATM3/0.200/10.10.92.2 to (*, 224.0.1.40), Forware
*Sep 18 08:21:49.233: PIM: Received v2 Hello on Serial0/1 from 172.16.3.2
*Sep 18 08:21:51.449: PIM: Send v2 Hello on Ethernet0/1
*Sep 18 08:21:53.449: PIM: Send v2 Hello on Serial0/1
*Sep 18 08:21:56.585: PIM: Received v2 Join/Prune on ATM3/0.200 from 10.10.92.2s
*Sep 18 08:21:56.585: PIM: Join-list: (*, 224.1.1.1) RP 111.1.1.1, RPT-bit set,t
*Sep 18 08:21:56.585: PIM: Add ATM3/0.200/10.10.92.2 to (*, 224.1.1.1), Forwarde
*Sep 18 08:21:59.449: PIM: Building Join/Prune message for 224.1.1.1
ARD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 170
Debugging commands
Debug ip igmp
R1#debug ip igmp
12:32:51.065: IGMP: Send v2 Query on Ethernet1 to 224.0.0.1
12:32:51.069: IGMP: Set report delay time to 9.4 seconds for 224.0.1.40 on Ethernet1
12:32:56.909: IGMP: Received v1 Report from 192.168.9.1 (Ethernet1) for 239.255.0.1
12:32:56.917: IGMP: Starting old host present timer for 239.255.0.1 on Ethernet1
12:33:01.065: IGMP: Send v2 Report for 224.0.1.40 on Ethernet1
12:33:01.069: IGMP: Received v2 Report from 192.168.9.4 (Ethernet1) for 224.0.1.40
12:33:51.065: IGMP: Send v2 Query on Ethernet1 to 224.0.0.1
B
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 171
Tools and Examples
src dest
First-hop mt Last-hop
rac
Router e Router
res st
po que
ns re
e e
rac
Multicast mt
Dist. Tree
Mtrace Packet
Unix Workstation
Note: Mtrace packets use special
or
IGMP packets with IGMP Type Cisco Router
codes of 0x1E and 0x1F.
Shows:
Multicast path from source to receiver.
Similar to unicast trace command
Trace path between any two points in network
TTL Thresholds & Delay shown at each node
Troubleshooting Usage:
Find where multicast traffic flow stops.
Focus on router where flow stops
Verify path multicast traffic is following.
Identify sub-optimal paths.
dallas-gw>mtrace
dallas-gw>mtrace bloom-iptv-svr
bloom-iptv-svr bwilliam-ss5
bwilliam-ss5 224.2.156.43
224.2.156.43
Type
Type escape
escape sequence
sequence to
to abort.
abort.
Mtrace
Mtrace from
from 172.17.67.43
172.17.67.43 toto 171.68.37.121
171.68.37.121 via
via group
group 224.2.156.43
224.2.156.43
From source (?) to destination (bwilliam-ss5.cisco.com)
From source (?) to destination (bwilliam-ss5.cisco.com)
Querying
Querying full
full reverse
reverse path...
path...
00 bwilliam-ss5 (171.68.37.121)
bwilliam-ss5 (171.68.37.121)
-1
-1 dallas-gw (171.68.37.1)
dallas-gw (171.68.37.1) PIMPIM [default]
[default]
-2
-2 wan-gw4
wan-gw4 (171.68.86.193)
(171.68.86.193) PIMPIM [172.17.0.0/16]
[172.17.0.0/16]
-3
-3 bloomington-mn-gw
bloomington-mn-gw (171.68.27.2)
(171.68.27.2) PIM
PIM [172.17.67.0/24]
[172.17.67.0/24]
-4 bloom-mnlab (171.68.39.28) PIM [172.17.67.0/24]
-4 bloom-mnlab (171.68.39.28) PIM [172.17.67.0/24]
-5
-5 bloom-iptv-svr
bloom-iptv-svr (172.17.67.43)
(172.17.67.43)
dallas-gw>
dallas-gw>
Shows:
Multicast path in pseudo graphic format.
Trace path between any two points in network
Drops/Duplicates shown at each node
TTLs & Delay shown at each node
Troubleshooting Usage:
Locate congestion point in the flow.
Focus on router with high drop/duplicate count
Duplicates indicated as negative drops
ip1-26a#mrinfo 171.1.0.6
171.1.0.6 [version 12.1] [flags: PMA]:
171.1.0.6 -> 171.1.0.3 [1/0/pim]
171.1.0.6 -> 171.1.0.8 [1/0/pim]
171.1.1.6 -> 171.1.1.2 [1/0/pim/querier]
171.1.3.6 -> 0.0.0.0 [1/0/pim/querier/leaf]
Test sender
Possible to set parameters od test traffic on
Test-Manager. The defaults are:
Packet-delay 200 milliseconds = 5 packets ps
RTP is the protocol used for the test packet vs
UDP
Sent out all multicast enabled interfaces
Loss of 0 percent
monitor
Test Manager
Manager controls Sender and Receiver via
unicast control messages.
Manager uses ACL associated with sender
and receiver to define sender and reciver
addresses.
mc1-72a_R1(config)#ip mrm manager networkers2002.
interface Ethernet1/0
ip address 172.16.8.6 255.255.255.0
ip mrm test-sender
interface Ethernet3/0
ip address 192.168.1.1 255.255.255.0
ip mrm test-receiver
IP Multicast Heartbeat
Raises SNMP trap when traffic falls
below a threshold
A monitoring tool
RPF failure
Designated Router
PIM versions
TTL values
Auto-RP Scope issues
EF
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 190
RPF failure from incongruent routing
Multicast S2
Source
Multicast S1
Source
RPF failure here
RPF failure
Designated Router
PIM versions
TTL values
Auto-RP Scope issues
Register
(*, G) Join RP
DR
Source 172.10.10.1
Receiver
ABD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 194
Unexpected Designated Router
RP
DR
Source 172.10.10.1
Receiver
DR
172.10.10.2
config term
interface E0
ip pim.
ABD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 195
Examples
RPF failure
Designated Router
PIM versions
TTL values
Auto-RP Scope issues
Dont
PIM v1 not discussed in presentation
Pim v2 since IOS version 12.0
RP source state changes
AD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 197
Mixing PIM versions
1 possible problem
DR fails to send periodic register
State loss on RP!
RP sends register stop
AD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 198
Examples
RPF failure
Designated Router
PIM versions
TTL values
Auto-RP Scope issues
Regular IP TTL
Applications may not be IPmc aware
Default TTL for IP multicast is sometimes 1
Needs to be adjusted!
Very common problem
Auto-RP is an Application
G
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 200
TTL values
Where is source?
Show ip mroute on first hop
What if no state?
Is application working?
Debug ip mpacket
Or check TTL
G
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 201
Examples
RPF failure
Designated Router
PIM versions
TTL values
Auto-RP Scope issues
GD
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 203
Auto-RP Announcement Scope
RP Announcements Leaking
Outside of Network
PIM
Sparse Mode
Network
scope 16 scope 16
C
Candidate-RP
A B
Mapping Mapping
Agent Agent
RP Announcements Not
Reaching this Map Agent
PIM
Sparse Mode
scope 32 scope 32 Network
C
Candidate-RP
A B
Mapping Mapping
Agent Agent
A
Mapping
D PIM Agent
Sparse Mode
Network
scope 32 scope 32
A
Mapping
D PIM Agent
Sparse Mode
Network
D
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 209
New Flags
Bi-Dir
SSM
MVPN
Hardware
Bi-Dir
SSM
MVPN
Hardware
Bi-Dir
SSM
MVPN
Hardware
Bi-Dir
SSM
MVPN
Hardware
PIM SM operation
In-depth understanding of State information
Shared Tree
Source Tree
Join
Prune
Tools/Methodology available
Debug
Show
MRM etc
PIM SM operation
PIM SM operation
PIM SM operation
PIM SM operation
PIM SM operation
R = RP bit
PIM SM
DR -> RP
RP-> last hop *,G
RP joins SPT to Source S,G
Last hop joins SPT S,G
Joins/Prunes/S,G RP bit Prunes
www.cisco.com/tac
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 227
Troubleshooting Resources TAC Web
Task-based
organization
Overview
Network design
Implementation and
configuration
Verification and
troubleshooting
Operating and
maintaining
Documentation
www.cisco.com/tac
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 228
Troubleshooting Resources TAC Web
Technical Tips by
TAC Engineers
Troubleshooting
guides
Troubleshooting
tools
Configuration
guides
and more
www.cisco.com/tac
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 229
Troubleshooting Resources TAC Web
Notification of
critical problems
with Cisco
products or
technologies.
Includes problem
descriptions,
safety or security
issues,
workarounds,
and corrective
actions
www.cisco.com/tac
RST-360.ppt 2002, Cisco Systems, Inc. All rights reserved. 230
More Information
White Papers
Cisco Press