02_4_2_组播PIM-SM_详细图解

YES LAB 
PIM Sparse Mode Details

 

Objectives 
YES LAB 
Upon completion of this section you will be 
able to: 
— Describe the control messages in PIM SM and their 
significance in building distribution trees 
— Read the multicast forwaiding table anå identify 
the flags and timers associated with various 
multicast states 
— Explain the maintenance of a PIM SM 
distribution tree

 

PIM Neighbor Discovery 
171.68.37.2 
PIM Router 2 
PIM Hello 
YES LAB 
Designated Router (DR): 
Highest DR-Priority or 
Highest IP Address 
PIM Hello 
PIM Router 1 
171.68.37.1 
• 
PIMv2 Hellos are periodically multicast to the "All-PIM-Routers" (224.0.0.13) group 
address. (Default = 30 seconds) 
PIM VI *iiÅtAiiüh224.o.0.2, 
Note: PIMv1 multicasts PIM Query messagek to the "All Routers" (224.0.0.2) group address. 
If the DR times-out, a new DR is elected. 
The DR is responsible for sending all Join and Register messages for any receivers or 
senders on the network.

 

PIM Neighbor Discovery 
R2#show ip pim neighbor 
PIM Neighbor Table 
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority, 
S - State Refresh Capable 
Neighbor 
Address 
1.1.1.3 
1.1.1.1 
27.1.1.7 
Interface 
FastEthernetO/O 
FastEthernetO/O 
seria13/0 
R2#show ip pim interface 
Uptime/Expires Ver DR 
Prio/Mode 
1/ DRS 
ver/ Nbr Query DR DR 
Mode Count Intvl Prior 
Address 
1.1.1.2 
27.1.1.2 
23.1.1.2 
Interface 
FastEthernetO/O v2/S 2 30 1 
1.1.1.3 
Seria13/O 
seria13/1 
v2/s 1 30 
1 0.o.o.o 
v2/S 0 30 
1 0.o.o.o

 

PIM State 
YES LAB 
— Represented bv entries in the multicast routing (mroute) table 
• Usecfio maké muitlcast traffic forwarding decisions 
• Composed of (* G) and (S, G) entries 
• Each entry contains RPF information 
— Incoming (i.e. RPF) interface 
— RPF Neighbor (upstream)«- 
• Each entry contains an Outgoing Interface List (OIL) 
— OIL may be NULL +

 

PIM SM State Example 
able 
Dense, fi 
— Sparse, n — n i dir Group, s 
- Group, C - 
r,ocal , P 
— Pruned, — AP—bit. sot. , — Roqist.er• f laq, 
— fiPT—bit. set', VT — do in fiPT, M — M.gnp creat.ed entry, 
L':oxy 'i' imer Running, A Advertized via MS LW, U 
Received Source Specific Hoot Report 
Outgoing interface flag. Hardware zwitched 
Wimera: uptime/ Expire' 
Interface otate: Interface, NextÆop or VCD, State/M0de 
10. vn.o.v, 
Tnc:orninq interface: Null, nbr 0.0.0.0 
Out-going int-ort ace list. : 
fieria11/3, Forward/ fiparse, 00: (Y/ : 
10.139.ä.i2C, 
coming interface: Serial i/ 4, iO.i39.ié.i30 
Outgoing interface 1 iat: 
serial 1/3, 
YES LAB 
Connect•ed 
unau,

 

PIM SM (*, G) State Rules 
YES LAB 
(*, G) creation 
— Receipt of a PIM ( * , G) Join or IGMP report 
— Automatically if (S, G) must be created (S,G) q) e 
( * , G) reflects default group forwardinge 
— IIF = RPF interface toward RP€ 
— OIL = interfaces 
• that received a (*, G) Join ore (t, 
• with directly connected members or 
• manually configurede 
( * G) deletion +- G) 
— When OIL = NULL and 
— No child (S, G) state exists

 

PIM SM (S, G) State Rules (c09Z 
• (S, G) creation 
— By receipt of (S, G) Join 
— By receipt of traffic from a directly connected source 
— By Register process 
— Parent (*, G) created (if does not exist) 
• (S, G) reflects fqrwardinf 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

 

• 
• 
PIM SM OIL Rules 
YES LAB 
Interfaces in OIL added 
For receipt of PIM (*,G) Join or IGMP report message 
— Interfaces added to ( * , G) are added to all (S, 
For receipt of PIM (S,G) join or IGMP report message 
Interfaces in OIL removed 
igmpaqzyv;ge 
— By receipt of Prune message or IGMP leave message 
— Interface Expire timer counts down to zero 
• Timer reset (to 3 minutes) by receipt of periodic Join 
or 
• By IGMP Membership Report

 

PIM SM State Flags 
YES LAB 
• 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

 

I Zoom Modfy 
PIM SM State Flags (co 
Ious 
J = Join SPT 
— In ( * , G) entry 
• Indicates SPT-ThreshoId is being exceeded 
• Next (S, G) received will trigger join of SPT 
— In (S, G) entry 
• Indicates SPT joined because of SPT-Threshold 
• If rate < SPT-ThreshoId, switch back to shared tree 
F = Register 
— 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) 
< CCIP-muLicast vin-drn-gri

 

PIM SM Forwarding 
to RP 
Shared Tree ( I • • 5 • ) SO 
Multicast Packets 
(120.3.160.1, 224.1.1.1) 
YES LAB 
ource ree 
Multicast Packets 
(128.9. 160.43, 224.1.1.1) 
rtr-a 
El 
RcvrA 
(A, 224.1. 1.1) 
• Packets are forwarded out all interfaces in OIL 
• PIM Sparse mode interfaces are placed on the "oilist" 
fora Multicast Group if; 
— PIM neighbor joins the group on this interface 
— Host on this interface has joined the group 
— Interface has been manually configured to join group

 

• 
• 
PIM SM Joining 
YES LAB 
Leaf routers send a ( * G) Join toward RP 
— Joins sent hop-by-hop along path toward RP 
Each router along path creates ( * , G) state 
— IF no (*, G) state, 
• Create it and send a Join toward RP. 
- ELSE 
• Join process complete. Reached the shared tree.

 

PIM SM Joining 
TO RP (10.1.5.1) 
Shared Tree 
MP Join 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
YES LAB 
rtr-a 
10.1.2.1 
rtr-b 
O Rcvr A wants to receive group G traffic. Sends IGMP Join for G.

 

PIM SM Joining 
YES LAB 
To RP (10.1.5.1) 
Shared Tree 
so 
1014.2 
10.1.2.2 
rtr-a 
10.1.2.i 
rtr-b 
Rcvr A 
e, 224-1, 1.1), 10.1.5.1, 
interface: Ethernet0, nbt 
Outmoing interface U 3t: 
'fit. hernot.l, Forwar•d/fiparsn, 
rtr b creates (8, 224.1.1.1) state 
O RcvrA wants to receive group G traffic. Sends IGMP Join for G.

 

PIM SM Joining 
TO RP (10.1.5.1) 
so 
10.1/1.2 
Shared Tree 
10.1.2.2 
Rcvr A 
YES LAB 
rtr-a 
10.1.2.1 
PIM join 
rtr-b 
Rcvr A wants to receive group G traffic. Sends IGMP Join for G. 
rtr-b sends ( • , G) Join toward RP.

 

PIM SM Joining 
YES LAB 
TO RP (10.1.5.1) 
Shared Tree 
Rcvr A 
rtr-a 
10. .2 
10.1.2. 
10.1.2.2 
e, 224.1. i. i), 00:00: 10.1.5.1, flap: 
I noonting inter fate: seria10, nbr 10. l. d. I 
outgoing interface liat: 
EthernetO, Forward/ Spat", 
rtr-a creates ( * , 224.1.1.1) state. 
Rcvr A wants to receive group G traffic. Sends IGMP Join for G. 
O rtr-b 
G oin toward RP.

 

PIM SM Joining 
TO RP (10.1.5.1) 
so 
PIM Join 
Sh ared Tree 
Rcvr A 
10.1.4.2 
10.1.2.2 
YES LAB 
rtr-a 
10.1.2.1 
rtr-b 
RcvrA wants to receive group G traffic. Sends IGMP Join for G. 
rtr-b sends (*, G) Join toward RP. 
rtr-a sends ( * , G) Join toward RP.

 

PIM SM Joining 
TO RP (10.1.5.1) 
Sh ared Tree 
Shared Tree 
so 
10.1.4.2 
10.1.2.2 
YES LAB 
rtr-a 
10.1.2.1 
rtr-b 
Rcvr A 
Rcvr A wants to receive group G traffic. Sends IGMP Join for G. 
rtr-b sends (*, G) Join toward RP. 
rtr-a sends * , G) oin toward RP. 
Shared tree is built all the way back to the RP.

 

• 
PIM SM Registering 
YES LAB 
Senders begin sending multicast traffic 
— Senders don't necessarily perform IGMP group joins 
First-fip router umcåstS kegisters to AP 
— A multicast packet is encapsulated in each Register message 
— Registers messages follow unicast path to RP 
RP receives "Register" messages 
— De-encapsulates MCast packet inside Register msg 
— Forwards Mcast packet down Shared Tree 
— Sends (S, G) Join toward SourCe/first-hop router to build an (S, G) 
SPT between Source and RP

 

PIM SM Registering (cont. 
YES LAB 
First-hop router receives (S, G) Joine 
— SPT between Source and RP now built 
— Begins forwarding traffic down SPT to RP 
— (S, G) Traffic temporarily flowing down 2 paths to RP 
RP receives multicast traffic from SPT 
— Sends a Register-Stop msg to Source/first-hop router 
First-hop router receives Register-Stop 
— Stops encapsulating traffic in Register messages 
— MuTticast Traffic now flowing down single SPT to RP

 

PIM SM Registering 
Receiver Joins First 
rtr b 
Shared Tree 
224.1.1.1), RP 1/1. 6B.20.140, 
Tncominq int.er•lace: Null, "br 0.0. 0.0, 
Out.qoinq int.er'lace I i st.: 
fierialO, Forward/fiparse, 
Serial 1, Forward/fiparse, 
YES LAB 
Rp 
rtr-c 
State in RP before any source registers (receivers on shared tree); empty states for 
group 224.1.1.1 in rtr-a and rtr-b

 

PIM SM Registering 
(171.".3/.121, 22'1.1.1.1) 
Mast Packets 
YES LAB 
RP 
Source 
171.68.37.121 
rtr-a 
rtr-b 
Shared Tree 
Source begins sending group G traffic.

 

PIM SM 
2/1.1.1.1 
Mast Packets 
Source 
171.68.37.121 
rtr-a 
Registering 
rtr-b 
ared Tree 
YES LAB 
rtr•c 
e, 224.1.1.1), 171.".28.1d0, flap: 
interface: Seria10, nbt 
Outgoing interface lift: Null 
(171.68.27.121/22, 22d.i.i.i), flap: 
Tnc:orning nk»r• t), 
On 1.00 i ng i n I.er'l-ac:e. I is l. : Null 
rtr-a creates (S, G) state for source 
(After autornatically creating a ( * , G) entry) 
Source begins sending group G traffic.

 

PIM SM Registering 
2/1.1.1.1 
Mcast Packets 
s 
Source 
171.68.37.121 
rtr-a 
Begister Msgs 
rtr-b 
YES LAB 
rtrx 
ared Tree 
1, 224.1. 1.1 
171.68.28. 140, flap: 
rah: 
Outgoing interface hot: 
7.121/ 
Tnc:orni ng in I.erl ace: 
ng ace list. : 
rtr-a creates (S, G) state for source 
(After autornatically creating a ( • , G) entry) 
Source begins sending group G traffic. 
rtr-a encapsulates packets in Registers; unicasts to RR

 

PIM SM 
(171.".3/.121, 224.1.1.1) 
Mcast Packets 
Registering 
Register Msgs 
171.68.78.139 
171.88.20.140, 
YES LAB 
Source 
171.68.37.121 
rtr.a 
[lags: 
int.or•rneo: Null 
ng [nt.or•faeo list' : 
[O, Forward/ fipnvse, 
fieriall, Forward/ fipnr•su, 
o. 0.0. n, 
00:09: 
(i 71.".37.121, 22/1.1.1.1, 00:01: 
interface: Serial 3, 
Outgung interface 
S*tia10, yetvatcl/spat:e, 00:00: '19/ 00: 02: 
00:00: 49/00: 02:11 
RP processes Register; creates (S, G) state

 

PIM SM Registering 
(171.68.37.i2i, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
Register Msgs 
Join 
rtrQ) 
Shared Tree 
YES LAB 
rtr-c 
(A , 224.1.1.1) 
Mcast Traffic 
O RP sends (S, G) Join toward Source to build SPT.

 

PIM SM 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
Registering 
Register Msgs 
Join 
rtr•b 
YES LAB 
rtrc 
(A, 224.1.1.1) 
Mcast Traffic 
e, 224.1.1.1), 171.".28.1d0, flap: 
interface: Serial l, nbt 
interface 1±2': : Null 
(171.$8.27.121/22, 224.1. i. i), 
flap: 
Tncorning inl.erl ace: fieri 010, nor I'll .68 . 2B. 
Onl.goi ng list. : 
fieriall, roruarU/fiparye, 
RP sends (S, G) Join toward Source to build SPT.

 

PIM SM 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
join 
Source 
171.68.37.121 
rtr-a 
Registering 
Register Msgs 
O 
O 
Join 
rtf •b 
YES LAB 
rtrc 
c, 22,1.1.1.1) 
Mcast Traffic 
224-1, 1. 
171.".28.1", flap: 
interface: Seria 
171.68.28.110, 
Outgoing interface : 
.37. 12 
n I.erl ace: . 
1/1.68.2B . 190 
Qr•iall, :.32 
rtr-b processes Join, creates (S, G) state 
(After automatically creating the ( • , G) entry) 
RP sends (S, G) Join toward Source to build SPT. 
rtr-b sends (S, G) Join toward Source to continue building SPT.

 

PIM SM Registering 
Receiver Joins First 
YES LAB 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr•a 
Register Mscs 
rtf-b 
rtr-c 
r, 224.1.1.1) 
Mcast Traffic 
Shared Tree 
04 : : : .32, 
T nt.•orning i 
I i s l. : NIII I 
nhr' 
'11 . . '1B. 1 40, 
147.6B. 28.191, 
(141.+,8.34.121/.32, 224.1.1.1), flags: 
Incoming interface: Ethernet0, nEr 0.0.0.0, Regiatering 
(Outgoing interface lift: 
rtr-a processes the (S, G) Join; adds SerialO to OIL

 

PIM SM Registering 
Receiver Joins First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
Register Msgs 
rtA) 
Shared Tree 
YES LAB 
rtr •c 
, 224.1.1.1) 
Mcast Traffic 
RP begins receiving (S, G) traffic down SPT.

 

PIM SM Registering 
Receiver Joins First 
YES LAB 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
_____RÅZ 
Register Ms 
rtr •b 
o 
Register-Stop 
rtr •c 
so 
, 224.1.1.1) 
Mcast Traffic 
Shared Tree 
RP begins receiving (S, G) traffic dow SPT. 
RP sends Register-Stop to rtr-a.

 

PIM SM Registering 
Receiver Joins First 
(171.68.37.i21, 224.1.1.1) 
Mast Packets 
Source 
171.68.37.i2i 
(t, 224.1. I. 10, 
rtr-a 
rtr« 
rtfrb 
Shared Tree 
YES LAB 
C, 22".1.1.1) 
Mcast Traffic 
1 •n. 8B. '28.191, 
Out•going i 113K: NIII T 
.8B. 224.1.1.1), 
:.32, flags: 
interface: Ethernet0, nEr 0.0.0.0, 
outgoing Interface 
SetiaiO, yotvatcl/spatze, 32 
rtr-a stops sending Register messages 
(Final State in rtr-a)

 

PIM SM Registering 
Receiver Joins First 
(171.68.37.i2i, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
rtr-b 
st rtrx 
Shared Tree 
YES LAB 
(A, 224.1.1.1) 
Mcast Traffic 
00: 04 : 32, 
ace : fie vial 0, 
Out•qoinq int•erf nee list' : Null 
1'/1.68.28.74(), 
fiP 
nbr I •n. 6B .28.191, 
ace: Ethernet0, 0.0.0.0, 
Outgoing interface 
SetiaiO, yotvatcl/spat:e, 00: Od 
rtr-a stops sending Register messages 
(Final State in rtr-a) 
(S, G) Traffic now flowing down a single path (SPT) to RP.

 

YES LAB 
z) 
PIM SM Registering 
Source Starts First 
so 
rtr b 
It: c>5how mzoute 224.1.1. I 
Croup 224.1. i. i not found. 
rtr-c 
Empty state in RP before any source registers (no receivers on shared tree); empty 
states for group 224.1.1.1 in rtr-a and rtr-b also.

 

PIM SM Registering 
Source Starts First 
(171.".3/.121, 22'1.1.1.1) 
Mast Packets 
Source 
171.68.37.121 
rtr-a 
YES LAB 
rtrx 
rtf-b 
Source begins sending Group G traffic.

 

PIM SM Registering 
Source Starts First 
(1/1.".37.121, 224.1.1.1) 
Mast Packets 
urce 
71.68.37.121 
rtr-a 
so 
rtr•b 
YES LAB 
rtrx 
(l, 22d.1.1.i), 171. ".28. 140, flap: Sv 
antoming interface: SerialO, rib: i 71.$8.28. i 91, 
outgoing interface Null 
(131.68.27.12L/32r ad. 1.1.1), flag': 
T neorning int.er[aee: nbr• 0.0.0.0, 
öut•qoing interface list': Null 
rtr-a creates (S, G) state for source 
(After automatically creatinga ( • , G) entry) 
Source begins sending Group G traffic.

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mast Packets 
71.68.37.121 
rtr-a 
YES LAB 
Registey Msgs 
rtrw 
rtr•b 
171.68.28.140, flap: SV 
.1.1. i 
Incoming raterfaee: setia10, rah: i 71.68.28. 
outgoing interface hot: Null 
(171.68.27.121 
nc:oml 
Out•going i nt.er[aee 
i st.. 
1), flago: 
nbr O.O.O.O, 
rtr-a creates (S, G) state for source 
(After automatically creating a G) entry) 
Source begins sending Group G traffic. 
rtr-a encapsulates packets in Registers; unicasts to RP.

 

PIM SM Registering 
Source Starts First 
YES LAB 
(171.68.37.121, 224.1.i.i) 
Mcast Packets 
Register Msgs 
171.68.28.139 
Source 
171.68.37.121 
rtr-a 
q rtrx 
r lags: fi 
224.1.1.1), 171.88.2B. 140, 
inl.erTaee: Null, o.n.o.o 
inl.erVnee list. : Null 
( I'll . 8B .3'/.121, 224.1.1.1), t lags: P 
Incoming interface: Serial-I, nEr 
outgoing interface ii:t: Null 
RP processes Register; creates (S, G) state 
(After automatically creating the (v, G) entry)

 

PIM SM Registering 
Source Starts First 
YES LAB 
(171.68.37.121, 22,1.1.1.1) 
Mcast Packets 
Register Msgs 
Source 
171.68.37.121 
rtr-a 
rtrx 
[lags: fi 
(i, 224.1.7.7), 00:01 : 171.68.2B.140, 
Null, nor o.n.o. n, 
inl.er•t ace lisl•: Null 
i m 6B .3'/.721, 
'.24.1.1.1 
flags: 
±a12, r,Er 
Incoming *Iterface: 
Out going 
RP processes Register; creates (S, G) state 
(After automatically creating the (v, G) entry) 
rtr-c (RP) has no receivers on shared tree; discards packet.

 

PIM SM Registering 
Source Starts First 
YES LAB 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.•37.121 
rtr•a 
Register Msgs 
rtr•b 
Register-Stop 
rtr-c 
rtr-c (RP) has no receivers on shared tree; discards packet. 
O RP sends Register-Stop to rtr-a.

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
YES LAB 
Source 
171.68.•37.121 
rtr•a 
rtr-b 
rtr-c 
rtr-c (RP) has no receivers on shared tree; discards packet. 
O RP sends Register-Stop to rtr-a. 
O rtr-a stops encapsulating traffic in Register Me ( C , 6 ) 
drops packets from Source.

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.i) 
Mcast Packets 
YES LAB 
Source 
171.68.37.121 
rtr-a 
rtrx 
rtr-b 
224.1.1.1), 171 . 6B. 28.140, r lags: 
T neorni ng 
öut.going 
•r.:ordrag 
Outgoing 
fier•ia10, 
list. : Null 
(1'/1.60.3'/.1'21/32, 2'24.1.1.1), 00:01: 28/00: 01:32, flags: FPT 
interface: Ethe:netO, R.L'E rd-.'t 0.0.0.0 
interface lizt: Null 
State in rtr-a after Registering 
(without receivers on shared tree)

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
Receivers begin joining the Shared Tree 
rtri 
YES LAB 
Join 
RP (rtr-c) receives ( • , G) Join from a receiver on shared tree.

 

PIM SM Registering 
Source Starts First 
YES LAB 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr•a 
C', 224.1. 1. 1), 
T neorning i nLerVaee: Null, 
Oul.going lisl•: 
Serial i, Ecrvatcl/Sp 
Receivers begin joining the Shared Tree 
1 rtrx 
02:38, 
171.+8.28. 140, r lags: 
nor 0.0. O. O, 
(171.0. 37. 121/32, 224.1. 1.1, 
interface: Serial 3, nEr 
Outgoing interface 
Seri all, Etrvattl/Sp 
RP processes ( * , G) Join 
(Adds Seriall to Outgoing Interface Lists) 
RP (rtr-c) receives ( * , G) Join from a receiver on shared tree.

 

PIM SM Registering 
Source Starts First 
YES LAB 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
Receivers begin joining the Shared Tree 
Join 
I rtrx 
-6.1), 00: 171.+8.28.740, [lags: 
inl.er•Vaee: Null, o.n.o. o, 
0101. 
i i in TisL: 
Ecrvatw:l/$parze, 
flap: 'I' 
interface: Serial 2, nEr 
Outgo' interface 
eriall, tvattl/sparze, 00:00: 14/00: 02: '16 
RP processes ( * , G) Join 
(Adds Seriall to Outgoing Interface Lists) 
RP (rtr-c) receives ( • , G) Join from a receiver on shared tree. 
RP sends S G Joins for all known Sources in Grou

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr•a 
YES LAB 
rtr-c 
rtr-b 
(i, 224.1.1.1), 32, 171.0. 28. 
1'10, flag: : S? 
interface: Seri all, nbt 
Outgoing interface 1±2t: Null 
(171.".37.121/22, 22d.i.i.i), flap: 
Tncorni ng fier'ia 1(), P," nbr 1 / 1 . 88 . 2B.190 
Oul•goi ng list, : 
: 32 
rtr-b processes Join, creates (S, G) state 
(After automatically creating the ( * , G) entry) 
RP sends (S, G) Joins for all known Sources in Group.

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.i21 
rtr•i 
YES LAB 
rtr-c 
rtr-b 
e, 224.1.1. i), 171.68.28.1", 
interface: Seri alt, r.Et 
(Outgoing interface lift: Null 
(171.0. 37.121/32, 224.1.1.1), flap: 
inl.erf nee: nbr 0.0. 0.0, keg isl•ering 
0111.90 ing inl•erf lisl•: 
YfT7io, rorward/fiparso, 
rtr-a processes the (S, G) Join; adds SerialO to OIL

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtra 
YES LAB 
rtr-c 
rtr-b 
e, 22d.1.1.1), 171.68.28. 
interface: seria10, r.Er 171.<8.28.191, 
outgoing interface lift: 'Null 
U 71.0.37.121/32, 224.1.1.1), flap: 
Tnc:orninq inl•erfnee: nbr 0.0.0.0, Regisl•ering 
Olul.goimg inl.ert nee 
Forward arse, 
r•ma 
rtr-a processes the (S, G) Join; adds SerialO to OIL 
RP begins receiving (S, G) traffic down SPT.

 

PIM SM Registering 
Source Starts First 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
(tra 
rtr-b 
YES LAB 
rtr•c 
10 
Mast Traffic 
e, 22d.i.1.i), 1", 
interface: seria10, ruEr 
outgoing interface Il:tt: Null 
(171.".37.121/32, 224.1.1.1), 
Tnc:orning nbr 
Ou 1.90 i mg inl.e rl 
Forward 
r•ma 
flag:: El 
keg ist•ering 
rtr-a processes the (S, G) Join; adds SerialO to OIL 
RP begins receiving (S, G) traffic down SPT. 
RP forwards S G traffic down shared tree to receivers.

 

PIM SM Registering 
Receivers Along the SPT 
(171.68.37.121, 224.1.1.1) 
Mast Packets 
Source 
171.68.37.121 
rtr-a 
YES LAB 
rtr•c 
(A , 224.i.i.i) 
Mcast Traffic 
e, 224. i. i. i), 171.$8.28.140, su 
interface: Serial i, 17i.f33.28.idO, 
outgoing interface ii:gt: Null 
(171.0. 37.121/32, 224.1. 1.1), flap: T 
771. 6B. 2B. '190 
Out•going list' : 
fierinll, rorwnr•d/fiparse, 00: ()4: : 32 
Current state in rtr-b

 

PIM SM Registering 
Receivers Along the SPT 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr•a 
rtr-b 
rtrc 
flag: : S 
YES LAB 
224.1.1.1) 
Mast Traffic 
e, 224.1.1.1), 171.".28.110, 
interface: Null, rib: 0.0.0.0, 
Outgoing interface 
Serial i, Earvat.:l/Sparze, 
224.7.1.1, [lags: 
in fieroa13, . 8B. 2B .1", 
inl.erVac:e li st.: 
00:00: 
Current state in the RP

 

PIM SM Registering 
Receivers Along the SPT 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtr-a 
rtf -c 
rtr-b 
IGMPJoin 
Rcvr A 
YES LAB 
(A, 224.1.1.1) 
Mcast Traffic 
Rcvr A wants to receive Group G traffic. Sends IGMP Join for G.

 

PIM SM Registering 
Receivers Along the SPT 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.•37.121 
rtr•a 
224.1.1.1), 
T ng fie rial l, 
nut.going list. : 
For-ward/ fipnr•se, 
(171.".37.121/32, 1) , 
i n:ornirag interface: setiaiO, 
Outgoing interface 
rtr-c 
Rcvr A 
[lags: 
.28. 140 
flap: C'i' 
171.".28.150 
YES LAB 
Mcast Traffic 
Added 
Interfaces 
Setiaii, Eozwarcl/Spa:ze, 00:01: 32 
EtheznetO, 
State in rtr-b after Rcvr A joins Group

 

PIM SM Registering 
Receivers Alon 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
1/1.68.3/.121 
rtf-a 
rtr b 
the SPT 
rtr-c 
r, G) Join 
YES LAB 
(X , 224.1.1.1) 
Mcast Iraffic 
O rtr-b triggers a ( * , G) Join to join the shared tree

 

PIM SM Registering 
Receivers Alon the SPT 
(171.68.37.121, 224.1.1.1) 
Mcast Packets 
Source 
171.68.37.121 
rtf-a 
Rcvr A 
rtr•c 
YES LAB 
e, 224.1.1.1) 
Mcast Traffic 
i, 224.1. 1.1), 171.68.28.140, 
interface: Null, rib: 0.0.0.0, 
Outgoing interface ii:gt: 
serial l, Earvattl/spar:e, 00:03: 
serial-I, 00:00: 10/00: 02:50 
flag: : S 
224.1. 1.1, [lags: 
T neorninq inLer[aee: fie rial 3, nbr T'/ T . 6B. 2B. 
Oul•qoinq inl•erf lisl•: 
fierinll, rorwnr•d/.fiparse, 
State in RP after rtr-b joins shared tree

 

PIM SM Registering 
Receivers Alon the SPT 
(1/1.68.]/.121, "4.1.1.1) 
Packets 
Source 
1/1.68.3/.121 
rtr b 
Rcvr A 
Group G traffic begins to flow to Rcvr A. 
(Note: 171.68.37.121 traffic doesn't flow to RP then back down to rtr-b) 
rtr-C 
YES LAB 
(•,na.l.l.l) 
Mcast Traffic

 

PIM SM SPT Switchover 
— SPTthresholds mav be tet for any Group 
• Access lists mav be used to specify which Groups 
—'nVi+W—YÄ 
• Default Threshol{l = D kbns (I e. immediately join SPT) 
• Threshold = "infinity" means "never join SPT" 
— Threshold triggers Join of source tree 
• Sends an (S, G) Join up SPT for next "S" in "G" packet 
received 
— Pros 
• Reduces network latency 
— Cons 
• More (S, G) state must be stored in the routers 
YES LAB

 

PIM SM SPT Switchover (cont«— 
• SPT Switchover Mechanism 
• Once each second 
• Compute new ( * , G) traffic rate 
• If threshold exceeded, set "J" flag in ( * , G) 
• For next multicast packet received:e 
• If "J" flag set in ( * , G) 
— Join SPT for (Si, G) +- 
— Mark (Si, G) entry with "J" flage 
— Clear "J" flag in (*, G)

 

PIM SM 
rtr-c 
To RP (10.1.5.1) 
so 
so 
rtr-d 
SPT Switchover 
so 
10.1.4.2 
1012.2 
10.1.2.1 
rtr-b 
YES LAB 
To Source "S/' 
(S i G) Traffic How 
Shared (RPT) Tree 
Rcvr A 
RcvrB 
2'24.1.1.1), 
T neominq fior•inT0, 
Oilt•qoinq Tixt•: 
fie rial 1, 0(): ()1: 
fierial?., 
10.1. h. 1, 
32/00 02: '28 
State in rtr-c before switch; similar state on rtr-a also

 

To RP (10.1.5.1) 
PIM SM 
rtr-c 
10.1.4.1 
rtr-d 
SPT Switchover 
YES LAB 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10.1.2.1 
rtr-b 
[Tags: 
To Source "S/' 
G) TrafficHow 
Shared (RPT) Tree 
• spTTree 
(t, 224. T. 1.1), 10.1. S 1 
Tnc:orni ng int.er[aee: fierial(), 
10.7.4.8, 
ng lisl.: 
1.0, rye , 
00:07 
State in rtr-d before switch; similar state on rtr-b also

 

PIM 
rtr-c 
SPT Switchover 
To RP (10.1.5.1) 
so 
10.1.a.i 
YES LAB 
To Source "S/' 
rtr-a 
so 
so 
rtr-d 
(9, 224.1.1.1), 
10.1.4.2 
10.1.2.2 
10.1.2.1 
o 
Group "G" rate > Threshold 
rtr-b 
TrafficFlow 
Shared (RPT) Tree 
• spTTree 
10.1. S. 1, 
Hags: 
ng inl.erf ace: RPT? nor It) .1.2. 1 
ng lisl.: 
r,'.hernel.l, Forwar•d/fiparye, 00: 
Group "G" rate exceeds SPT threshold at rtr-b

 

PIM SM SPT Switchover 
rtr-c 
To RP (10.1.5.1) 
so 
so 
rtr-d 
10.1/1.1 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10 
10.1.2.1 
rtr-b 
YES LAB 
TO Source "S/' 
G) Traffic Flow 
Shared (RPT) Tree 
Tree 
13, 10.1. S. 1, 
[ lags: J 
10.1 . 2.1 
,'.hernnl.7, 00:01 
Group "G" rate exceeds SPT threshold at rtr-b 
O Set J Flag in ( * , G) and wait for next (S •,G) packet

 

PIM SM 
SPT Switchover 
rtr-c 
TO RP (10.1.5.1) 
so 
rtr-d 
10.1/1.1 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10.1.2.1 
rtr-b 
YES LAB 
To Source "S/ 
(S 6 G) Traffic Flow 
Shared (RPT) Tree 
• spTTree 
Rcvr A 
Rcvr 
(9, 224.1.1.7), 10.1. S. 1, t lags: J 
T neorninq inLerf RPT' nor 10.1. '2. •1, 
Oul•qoinq inl.er[ ace lisL: 
F,l.hernel.l, Forward/ fiparse, 
(S i, G) packet arrives down shared tree.

 

PIM SM SPT Switchover 
rtr-c 
TO RP (10.1.5.1) 
10.1/1.1 
rtr-a 
so 
10.142 
10.1.2.2 
so 
rtr-d 
Rcvr A 
Rcvr 
(t, 224.7.1.1), 
10 
10.1.2.1 
rtr-b 
YES LAB 
To Source "S," 
(S 6 G) Traffic Flow 
Shared (RPT) Tree 
• SPT Tree 
10.1. S. 1, t lags: 
T neorninq nor 10. 1.2. •1, 
0111.qoi4iq acte lisL: 
ror•ward/fiparse, : 43/ 
O (S i, G) packet arrives down shared tree. 
O Clear J Flag in the ( * , G) & create (Si, G) state.

 

To RP (10.1.5.1) 
PIM SM 
rtr-c 
10.1.a.i 
SPT Switchover 
YES LAB 
so 
rtr-d 
rtr-a 
so 
10.1.4.7 
10.1.2.2 
10.1.2.1 
rtr-b 
To Source "S/' 
(i) Itafficllow 
Shared (RPT) Tree 
"T Tree 
(t, 2.24.1.1.1), 70.7. s. 1, 
[lags: 
T neomi ng in at.•e: tibr' 10.1.2.1, 
Out.qoing i n Lori nee st' : 
Ethernet i, Sotvatt:l/Sparu, 00: 01:'1-7/00: 02:11 
(171.68.27.121/32, 224.1. L. 1), flan: 
I nctrr,ing interface: Ethernet0, iWF 
outgoing lntetface h 3': : 
rorwnrd/fiparse, 00: 
New State in rtr-

 

PIM SM 
SPT Switchover 
rtr-c 
To RP (10.1.5.1) 
so 
rtr-d 
10.1.a.i 
so 
10.1.4.2 
10.1.2,2 
10.1.2.1 
rtr-b 
YES LAB 
To Source "S/' 
(i) low 
Shared (RPT) Tree 
00: 10. I.S.I, 
[T ags: 
r.i.hernel.o, 10.1.2.1, 
Out•goinq int•ert nee list': 
00:01: '13/00:02: Il 
171. -s. 
•the;ret0, 
Inc.:.ming 
Outgoing interface 11 Zit : 
Forward,' sparse, 00: VS: 
New State in rtr-b 
J Flag indicates 
(S, G) created by 
exceeding the 
SPT-threshold

 

PIM SM SPT Switchover 
rtr-c 
To RP (10.1.5.1) 
so 
rtr-d 
10.1/1.1 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10.1.2.i 
o 
(Sic,) 
rtr-b 
YES LAB 
To Source "S/' 
(S 6 G) Traffic Flow 
Shared (RPT) Tree 
SPT Tree 
Rcvr A 
Send (S f) Join towards S;.

 

PIM SM 
SPT Switchover 
rtr-c 
To RP (10.1.5.1) 
so 
rtr-d 
10.1.4.1 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10.1.2.1 
rt b 
YES LAB 
To Source "S/' 
(SS G) Traffic Flow 
Shared (RPT) Tree 
e, 22d.1.1.1), 
10. 1.5.1, s 
interface: SetialO, 
outgoing interface 1±2t: 
m. he 1.0, 
(141. éB.3','.121/32, 224.1.1.1), 
Tru.•omi in I.e fieri all, 
Outgoing list': 
Ethetnet0, Eotvat:l/Sparae, 
rah: 
00:01 
00:13: 
10.1.;.2 
[Tngs: T 
New state in rtr-a

 

PIM SM 
rtr-c 
SPT Switchover 
To RP (10.1.5.1) 
so 
rtr-d 
10.14.1 
rtr-a 
so 
10.1.a.2 
10.1.2.2 
10. i.2.1 
rtr-b 
YES LAB 
To Source "S:" 
o 
(Si,G) Join 
(Si G) Traffic Flow 
Shared (RPT) Tree 
Tree 
Rcvr A 
Rcvr B 
O rtr-a forwards (Si,G) Join toward Si.

 

PIM SM 
rtr-c 
SPT Switchover 
To RP (10.1.5.1) 
so 
rtr-d 
10.1.4.1 
Prune 
O rtr-a 
so 
i0.i.a.2 
10. i.2.1 
10.1.2.2 
rtr-b 
YES LAB 
TO Source "S/ 
(Si G) Traffic Flow 
Shared (RPT) Tree 
Tree 
Rcvr A 
Rcvr B 
O rtr-a forwards (Si,G) Join toward Si 
SPT and RPT diverge, triggering (Si G) RP-bit Prunes toward RP.

 

PIM SM SPT Switchover 
rtr-c 
To RP (10.1.5.1) 
10.1.4.1 
rtr-a 
so 
.2 
10.1.2.2 
YES LAB 
To Source "S t' 
(SiG) Traffic 
(s i G) Traffic How 
Shared (RPT) Tree 
rtr-d 
Rcvr A 
Rcvr B 
O (Si, G) traffic begins flowing down SPT tree. 
10.1.2.1 
rtr-b

 

PIM SM SPT-Switchover (con« 
To RP (10.1.5.1) 
rtr-d 
10.1.4. 
so 
10.1.4.2 
.1.2. 
To Source "Si" 
10.1.2.1 
(S, G) Traffic Flow 
shared (RPT) Tre 
SPTTree 
(l, 224.1. 1.1), 10. 1.5. 1, flap: S 
Setia10, rib: 
Outgoing 1±t: 
a 11, 00:01 
fie ria 12, Forwa rye, 
(171.+8..37.121/.32, 224.1.1.1), [lags: 
Tnc.•orninq int.er[ace: fieria10, nor 10. 1. S. 1 
Outgoin irate: fate 1±2t: 
Eocwarcl/Spane, 
State in rtr-c after receiving the (S, G) RP-bit Prune

 

PIM SM 
rtr-c 
SPT Switchover 
YES LAB 
To RP (10.1.5.1) 
so 
rtr-d 
10.1/1.1 
Rcvr A 
rtr-a 
so 
10.1.4.2 
10.1.2.2 
10.1.2.1 
rtr-b 
To Source "S/' 
(S 6 G) Traffic How 
Shared (RPT) Tree 
SPTTree 
O Unnecessary (S i, G) traffic is pruned from the shared tree.

 

To RP (10.1.5.1) 
10 
so 
PIM SM 
rtr-c 
10.1.4.1 
rtr-d 
SPT Switchover 
rtr-a 
so 
10.1.aa 
10.1.2.2 
10.1.2.1 
rtr-b 
YES LAB 
TO Source "S/' 
(Si G) Traffic Flow 
Shared (RPT) Tree 
SPT Tree 
Rcvr A 
Rcvr 
Unnecessary (Si G) traffic is pruned from the shared tree. 
(Si G) traffic still flows via other branches of the shared tree.

 

PIM SM SPT Switchover 
• Shared Tree Switchback Mechanism 
• Once each 
• If J flag set in (Si, G) entry 
— Compute new (Si, G) traffic rate 
— If rate < SPT-threshold 
• Rejoin (*, G) Tree for (Si, G) traffic 
• Send (Si, G) prune up SPT toward S, 
• Delete (Si, G) entry 
YES LAB

 

PIMSM runin 
YES LAB 
1. IGMP group times out and last host sends Leave 
2. Receive PIM pruning message 
3. Cannot receive periodic PIM join 
— Each router "prunes" interface 
• IF all interfaces in "oilist" for ( * , G) are pruned; 
THEN send Prune up shared tree toward RP 
• Any (S, G) state allowed to time out

 

PIM SM Pruning 
Shared Tree Case 
YES LAB 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b

 

PIM SM Pruning 
Shared Tree Case 
YES LAB 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
e, 221.1.1.1), n, 10.1.5.1, sc 
interface: EthernetO, 10. i. 2.1, 
Outgoing interface 
Etherneti, Forwarcl/Spa:ze, 00:01: d 
State in rtr-b before Pruning

 

PIM SM Pruning 
Shared Tree Case 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
Rcvr A 
so 
10.1.4 
10.1.2.2 
YES LAB 
rtr-a 
10. 
.1 
rtr-b 
(1, 224.1. 1.1), 10.1.5.1, fläF: S 
Ir.:oming interface: SerialO, nbt 10.1.'1.1, 
outgoing interface lizt: 
EthernetO, 
State in rtr-a before Pruning

 

PIM SM Pruning 
Shared Tree Case 
TORP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPTTree 
IGMP1eave 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
1 
YES LAB 
rtr-a 
10.1.2.1 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G.

 

PIM SM Pruning 
Shared Tree Case 
TO RP (10.1.5.1) 
(Si G) Traffic Flow 
shared Tree 
SPT Tree 
Rcvr 
so 
10.1.4.2 
10.1.2.2 
1 
YES LAB 
rtr-a 
10.1.2.1 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G. 
O rtr-b removes El from (*, G) and any (Si, G) "oilists".

 

PIM SM Pruning 
Shared Tree Case 
TO RP (10.1.5.1) 
(Si G) Traffic Flow 
shared Tree 
SPT Tree 
Rcvr 
so 
10.1.4.2 
10.1.2.2 
YES LAB 
rtr-a 
10.1.2.1 
(A, G) Prune 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G. 
O rtr-b removes El from * , G and any S • G) oilists". 
rtr-b ( • , G) "oilist" now empty; sends ( * , G) Prune toward RP.

 

PIM SM Pruning 
Shared Tree Case 
YES LAB 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
so 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
O rtr-a receives Prune; removes EO from ( * , G) "oilist". 
(After the 3-second Multiaccess network Prune Delay.)

 

PIM SM Pruning 
Shared Tree Case 
YES LAB 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
so 
rune 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
O rtr-a receives Prune; removes EO from (*, G) "oilist". 
(After the 3second Multiaccess networ rune Delay 
O rtr-a (*, G) "oilist" now empty; send (*, G) Prune toward RP.

 

PIM SM Pruning 
Shared Tree Case 
YES LAB 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
so 
10.1.4.2 • 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
O rtr-a receives Prune; removes EO from ( * , G) "oilist". 
(After the 3second Multiaccess networ rune Delay 
O rtr-a (*, G) "oilist" now empty; send (*, G) Prune toward RP. 
Pruning continues back toward RP.

 

PIM SM Pruning 
SPT Case 
YES LAB 
10 Source "S/' 
To RP (10.1.5.1) 
(Si G) Traffic 
Shared Tree 
SPT Tr 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
10. i. 5.1, sc 
Incoming interface: Ethernet0, 
10.1.2. i, 
outgoing interface 
Ethernet l, Etrvattl/Spatze, 00:01: 
(141.68.3'/.•121/.32, 224.7.7.1), flags: 
T neominq i n Ler•tneo: 
10.1. 2.1 
Out•qoinq in Lertnce I is L: 
rorunr•d/fiparse, 01: 
tate in rtr-b before Prunin

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
s 
10.1 
10.1.2.2 
rtr-a 
10.1. 
rtr-b 
10. 7.4.1, 
Rcvr A 
224.1.1.1), no.l.s.l, flags: 
Tncorning fieri alt), 
Onl.going inl.erl-at:e. lisl.: 
r, l. he 1.0, rye, 
(171.68.37.121/32, 22d.1.1.1), 
interface: Serial l, 
outgoing Interface 
Ethernet0, E'twarcl/S ane, 
flap: 
State in rtr-a before Prunin

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source "S/' 
To RP (10.1.5.1) 
(Si, G) Traffic How 
Shared Tree 
'GMP Leave 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G.

 

YES LAB 
To Source "Si" 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
Rcvr 
PIM SM Pruning 
SPT Case 
so 
rtr-a 
10.1.4.2 
10.1.2.1 
10.1.2.2 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G. 
O rtr-b removes El from (*, G) and any (S i, G) "oilists".

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source "S/' 
To RP (10.1.5.1) 
(Si, G) Traffic Flow 
Shared Tree 
sp•r T 
Rcvr 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
Prune 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G. 
O rtr-b removes El fronf,)) and 
rtr-b (8, G) "oilist" now empty; sends ( • , G) Prune toward RP.

 

PIM srvl Pruning 
SPT Case 
YES LAB 
To Source 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
Rcvr A 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
Periodic 
(S, G) Join 
rtr-b 
rtr-b is a Leaf router. Last host Rcvr A, leaves Group G. 
O rtr-b removes El from ( * , G) and any (Si G) "oilists". 
rtr-b ( * , G) "oilist" now empty; sends (*, G) Prune toward RP. 
O rtr-b stops sending periodic (S, G) Joins.

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source "S/' 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tr 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
rtr-b 
rtr-a receives Prune; removes EO from ( * , G) and (S,G)"oi/ist" . 
(After the 3-second multiaccess network Prune Delay.)

 

To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tr 
PIM SM Pruning 
SPT Case 
so 
rtr-a 
rune 
10.1.4.2 
0.1.2.1 
10.1.2.2 
rtr-b 
YES LAB 
To Source "S/' 
rtr-a receives Prune; removes EO from (*, G) and (S,G)"oi/ist" . 
(After the 3-second multiaccess network Prune Delay.) 
O rtr-a (*, G) "oilist" now empty; sends ( * , G) Prune toward RP.

 

PIM SM Pruning 
SPT Case 
YES LAB 
TO Source "S/' 
To RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.2.1 
_ rtr-b 
e, 224.1.1.1), 00:02: 10.1.5.1, flag:: 
interface: Ethernet'), 10. i. 2.1, 
Outgoing 
interface 
(171.838.37. 121/-72, 22d.1.1.1), flap: 
T neorni ng 
n r,l.hernol.o, 10.1. '2. 
Ou 1.9 oi ng 
in list. : 
State in rtr-b after Pruning

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source 
TO RP (10.1.5.1) 
(Si G) Traffic Flow 
Shared Tree 
SPT Tree 
so 
10.1.4.2 
10.1.2.2 
rtr-a 
10.1.21 
rtr-b 
(t, 224.1.1.1), 10.1. S. 1, flags: 
T ncorni ng 
fieria10, nbr 10.1. 4.1 
Out•qoinq 
list': 
(171.68..37.721/32, 2'24.1.1.1), 
i rate:face: Serial i, rib: 
intezface 
Outgoing 
State in rtr-a after Pruning 
[lags:

 

PIM SM Pruning 
SPT Case 
To RP (10.1.5.1) 
G) Traffic Flow 
Shared 
ST Tree 
so 
10.1.4.') 
10.19.) 
El 
YES LAB 
To Source "S 
(SBC) Data 
rtr-a 
10.1.2.1 
rtr-b 
Another (SiG) data packet arrives via Seriall.

 

PIM SM Pruning 
SPT Case 
To RP (10.1.5.1) 
G) Traffic Flow 
Shared 
ST Tree 
YES LAB 
To Source "S p 
) prune 
so 
10.1.4.•» 
10.1.2.) 
El 
r-a 
10.1.2.1 
rtr-b 
Another (SiG) data packet arrives via Seriall. 
rtr-a responds by sending an (S PG) Prune toward source.

 

PIM SM Pruning 
SPT Case 
YES LAB 
To Source "S' 
To (10.1.5.1) 
(SS) Traffic Flow 
Shared Tree 
Tree 
so 
10.1.4.2 
10.1.2.2 
EO 
El 
rtr-a 
EO 
10.1.2.1 
rtr-b 
O Another (S F) data packet arrives via Seriall. 
rtr-a responds by sending an (S f) Prune toward source. 
(SiG) traffic ceases flowing down SPT.

 

PIM SM State Maintenanc 
— Periodic Joins are sent to all PIM Neighbors. 
— Periodic Joins refresh interfaces in a PIM 
Neighbor's "oilists". 
— Received multicast packets reset (S, G) entry 
"expiration" timers. 
YES LAB

 

Work Blog » 02_4_2_组播PIM-SM_详细图解
分享到:
赞(0) 打赏

评论抢沙发

评论前必须登录!

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏