此产品的文档集力求使用非歧视性语言。在本文档集中,非歧视性语言是指不隐含针对年龄、残障、性别、种族身份、族群身份、性取向、社会经济地位和交叉性的歧视的语言。由于产品软件的用户界面中使用的硬编码语言、基于 RFP 文档使用的语言或引用的第三方产品使用的语言,文档中可能无法确保完全使用非歧视性语言。 深入了解思科如何使用包容性语言。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文档介绍使用简单组播拓扑的协议独立组播(PIM)和组播源发现协议(MSDP)的操作。这对于了解控制平面操作和事件顺序非常有用,从源注册到接收方开始接收组播数据包。
注意:本文档中使用的设备在实验环境中运行Cisco IOS® 15.3M版。
左侧的自治系统AS65000包含组播源。R1充当第一跳路由器(FHR),并将向PIM交汇点(PIM RP)R3注册源(10.1.1.1)。R7和R3是iBGP邻居,R3-R4和R7-R6是eBGP邻居。R7和R6配置为两个自治系统之间的首选路径。在AS64999中,R5具有本地连接的接收器。R5配置为使用R4作为PIM RP。
视频演示了发送哪些消息以及发送时间。观看此视频和阅读,了解每个步骤的详细说明。
源设备开始向239.1.1.1发送组播数据。收到此数据后,R1(是网段的PIM指定路由器(DR))将获取组播数据包,并建立PIM注册消息。
注册消息是从R1发送到R3的单播PIM数据包,用于将源通知给PIM RP。
R1#
*May 21 14:54:08.461: PIM(0): Check RP 10.10.10.10 into the (*, 239.1.1.1) entry
*May 21 14:54:08.461: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune message
for 239.1.1.1
*May 21 14:54:08.461: PIM(0): Adding register encap tunnel (Tunnel0) as forwarding
interface of (10.1.1.1, 239.1.1.1).
现在,PIM RP,R3收到注册消息并以注册停止响应。R3还通过MSDP向R4发送MSDP SA消息。 mroute上的“A”标志表示它是MSDP通告的候选者。“P”标志指示其已修剪,因为您没有组的接收方或传出接口。
R3#
*May 21 14:54:08.459: PIM(0): Received v2 Register on Ethernet1/0 from 10.0.12.1
*May 21 14:54:08.459: for 10.1.1.1, group 239.1.1.1
*May 21 14:54:08.459: PIM(0): Check RP 10.10.10.10 into the (*, 239.1.1.1) entry
*May 21 14:54:08.459: PIM(0): Adding register decap tunnel (Tunnel1) as accepting
interface of (*, 239.1.1.1).
*May 21 14:54:08.459: PIM(0): Adding register decap tunnel (Tunnel1) as accepting
interface of (10.1.1.1, 239.1.1.1).
*May 21 14:54:08.459: PIM(0): Send v2 Register-Stop to 10.0.12.1 for 10.1.1.1,
group 239.1.1.1
R3#show ip mroute 239.1.1.1
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:00:33/stopped, RP 10.10.10.10, flags: SP
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list: Null
(10.1.1.1, 239.1.1.1), 00:00:33/00:02:26, flags: PA
Incoming interface: Ethernet1/0, RPF nbr 10.0.37.7
Outgoing interface list: Null
R3#show ip msdp sa-cache
MSDP Source-Active Cache - 0 entries
R3#
*May 21 14:54:58.511: MSDP(0): (10.1.1.1/32, 239.1.1.1)
在此,R1从R3接收寄存器停止。
*May 21 14:54:08.461: PIM(0): Received v2 Register-Stop on Ethernet0/0 from 10.10.10.10
*May 21 14:54:08.461: PIM(0): for source 10.1.1.1, group 239.1.1.1
*May 21 14:54:08.461: PIM(0): Removing register encap tunnel (Tunnel0) as forwarding
interface of (10.1.1.1, 239.1.1.1).
*May 21 14:54:08.461: PIM(0): Clear Registering flag to 10.10.10.10 for
(10.1.1.1/32, 239.1.1.1)
在R4上,您可以看到没有mroute状态,但您确实有MSDP SA。
R4#show ip mroute
*May 21 14:54:58.591: MSDP(0): (10.1.1.1/32, 239.1.1.1), accepted
R4#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 224.0.1.40), 00:35:32/00:02:31, RP 10.20.20.20, flags: SJCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet1/0, Forward/Sparse, 00:23:16/00:02:36
Loopback0, Forward/Sparse, 00:35:31/00:02:31
R4#show ip msdp sa-cache
MSDP Source-Active Cache - 1 entries
(10.1.1.1, 239.1.1.1), RP 10.10.10.10, BGP/AS 65000, 00:01:00/00:05:49, Peer 10.33.33.33
R5在其接口上接收IGMP加入并构建PIM加入数据包(*,G加入)。 加入将发送到R6。
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#int e0/1
R5(config-if)#ip igmp join-group 239.1.1.1
R5(config-if)#
*May 21 14:56:43.234: PIM(0): Check RP 10.20.20.20 into the (*, 239.1.1.1) entry
*May 21 14:56:43.234: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune message
for 239.1.1.1
*May 21 14:56:43.234: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune message
for 239.1.1.1
*May 21 14:56:43.234: PIM(0): Insert (*,239.1.1.1) join in nbr 10.0.56.6's queue
*May 21 14:56:43.246: PIM(0): Building Join/Prune packet for nbr 10.0.56.6
*May 21 14:56:43.246: PIM(0): Adding v2 (10.20.20.20/32, 239.1.1.1), WC-bit, RPT-bit,
S-bit Join
*May 21 14:56:43.246: PIM(0): Send v2 join/prune to 10.0.56.6 (Ethernet0/0)
R6从R5接收(*,G)PIM加入,并将(*,G)加入发送到R4 PIM RP。
R6#
*May 21 14:56:43.248: PIM(0): Received v2 Join/Prune on Ethernet2/0 from 10.0.56.5,
to us
*May 21 14:56:43.248: PIM(0): Join-list: (*, 239.1.1.1), RPT-bit set, WC-bit set,
S-bit set
*May 21 14:56:43.248: PIM(0): Check RP 10.20.20.20 into the (*, 239.1.1.1) entry
*May 21 14:56:43.248: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune
message for 239.1.1.1
*May 21 14:56:43.248: PIM(0): Add Ethernet2/0/10.0.56.5 to (*, 239.1.1.1), Forward
state, by PIM *G Join
*May 21 14:56:43.248: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune
message for 239.1.1.1
*May 21 14:56:43.248: PIM(0): Insert (*,239.1.1.1) join in nbr 10.0.46.4's queue
*May 21 14:56:43.248: PIM(0): Building Join/Prune packet for nbr 10.0.46.4
*May 21 14:56:43.248: PIM(0): Adding v2 (10.20.20.20/32, 239.1.1.1), WC-bit,
RPT-bit, S-bit Join
*May 21 14:56:43.248: PIM(0): Send v2 join/prune to 10.0.46.4 (Ethernet1/0)
R4 PIM RP从R6接收(*,G)加入。然后向源10.1.1.1发送(S,G)加入,该源返回R6。
R4#
*May 21 14:56:43.331: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.46.6,
to us
*May 21 14:56:43.331: PIM(0): Join-list: (*, 239.1.1.1), RPT-bit set, WC-bit set,
S-bit set
*May 21 14:56:43.331: PIM(0): Check RP 10.20.20.20 into the (*, 239.1.1.1) entry
*May 21 14:56:43.331: PIM(0): Adding register decap tunnel (Tunnel1) as accepting
interface of (*, 239.1.1.1).
*May 21 14:56:43.331: PIM(0): Add Ethernet1/0/10.0.46.6 to (*, 239.1.1.1), Forward
state, by PIM *G Join
*May 21 14:56:43.331: PIM(0): Adding register decap tunnel (Tunnel1) as accepting
interface of (10.1.1.1, 239.1.1.1).
*May 21 14:56:43.331: PIM(0): Insert (10.1.1.1,239.1.1.1) join in nbr 10.0.46.6's queue
R4#
*May 21 14:56:43.331: PIM(0): Building Join/Prune packet for nbr 10.0.46.6
*May 21 14:56:43.331: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Join
*May 21 14:56:43.331: PIM(0): Send v2 join/prune to 10.0.46.6 (Ethernet1/0)
R6从R4接收(S,G)加入,然后向AS65000中的R7发送(S,G)加入。 当从R4接收(S,G)加入时,R6向R4发送(SGR)修剪(步骤9)。 这样做是为了避免在R4上重复数据包。
*May 21 14:56:43.248: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.46.4,
to us
*May 21 14:56:43.248: PIM(0): Join-list: (10.1.1.1/32, 239.1.1.1), S-bit set
*May 21 14:56:43.248: PIM(0): Add Ethernet1/0/10.0.46.4 to (10.1.1.1, 239.1.1.1),
Forward state, by PIM SG Join
*May 21 14:56:43.248: PIM(0): Insert (10.1.1.1,239.1.1.1) join in nbr 10.0.67.7's queue
R6#
*May 21 14:56:43.248: PIM(0): Building Join/Prune packet for nbr 10.0.67.7
*May 21 14:56:43.248: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Join
*May 21 14:56:43.248: PIM(0): Send v2 join/prune to 10.0.67.7 (Ethernet0/0)
R6#
*May 21 14:56:44.476: PIM(0): Insert (10.1.1.1,239.1.1.1) sgr prune in nbr 10.0.46.4's
queue
*May 21 14:56:44.476: PIM(0): Building Join/Prune packet for nbr 10.0.46.4
*May 21 14:56:44.476: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), RPT-bit, S-bit Prune
*May 21 14:56:44.476: PIM(0): Send v2 join/prune to 10.0.46.4 (Ethernet1/0)
R7从R6接收(S,G)加入,然后在路由到源后将(S,G)加入发送到R2。
R7#
*May 21 14:56:43.241: PIM(0): Received v2 Join/Prune on Ethernet0/0 from 10.0.67.6,
to us
*May 21 14:56:43.241: PIM(0): Join-list: (10.1.1.1/32, 239.1.1.1), S-bit set
*May 21 14:56:43.241: PIM(0): Check RP 10.10.10.10 into the (*, 239.1.1.1) entry
*May 21 14:56:43.241: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune message
for 239.1.1.1
*May 21 14:56:43.241: PIM(0): Add Ethernet0/0/10.0.67.6 to (10.1.1.1, 239.1.1.1),
Forward state, by PIM SG Join
*May 21 14:56:43.241: PIM(0): Insert (10.1.1.1,239.1.1.1) join in nbr 10.0.27.2's queue
*May 21 14:56:43.241: PIM(0): Building Join/Prune packet for nbr 10.0.27.2
R7#
*May 21 14:56:43.241: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Join
*May 21 14:56:43.241: PIM(0): Send v2 join/prune to 10.0.27.2 (Ethernet2/0)
R7#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:03:33/stopped, RP 10.10.10.10, flags: SP
Incoming interface: Ethernet1/0, RPF nbr 10.0.37.3
Outgoing interface list: Null
(10.1.1.1, 239.1.1.1), 00:03:33/00:02:56, flags: T
Incoming interface: Ethernet2/0, RPF nbr 10.0.27.2
Outgoing interface list:
Ethernet0/0, Forward/Sparse, 00:03:33/00:02:53
R2从R7接收(S,G)加入,然后在路由后将(S,G)加入发送到R1到源
R2#
*May 21 14:56:43.253: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.27.7,
to us
*May 21 14:56:43.253: PIM(0): Join-list: (10.1.1.1/32, 239.1.1.1), S-bit set
*May 21 14:56:43.253: PIM(0): Check RP 10.10.10.10 into the (*, 239.1.1.1) entry
*May 21 14:56:43.253: PIM(0): Building Triggered (*,G) Join / (S,G,RP-bit) Prune
message for 239.1.1.1
*May 21 14:56:43.253: PIM(0): Add Ethernet1/0/10.0.27.7 to (10.1.1.1, 239.1.1.1),
Forward state, by PIM SG Join
*May 21 14:56:43.253: PIM(0): Insert (10.1.1.1,239.1.1.1) join in nbr 10.0.12.1's queue
*May 21 14:56:43.253: PIM(0): Building Join/Prune packet for nbr 10.0.12.1
R2#
*May 21 14:56:43.253: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Join
*May 21 14:56:43.253: PIM(0): Send v2 join/prune to 10.0.12.1 (Ethernet0/0)
R2#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:01:27/stopped, RP 10.10.10.10, flags: SP
Incoming interface: Ethernet1/0, RPF nbr 10.0.27.7
Outgoing interface list: Null
(10.1.1.1, 239.1.1.1), 00:01:27/00:01:32, flags: T
Incoming interface: Ethernet0/0, RPF nbr 10.0.12.1
Outgoing interface list:
Ethernet1/0, Forward/Sparse, 00:01:27/00:03:01
R1从R2接收(S,G)加入,并将接口添加到传出接口列表
*May 21 14:56:43.261: PIM(0): Received v2 Join/Prune on Ethernet0/0 from 10.0.12.2,
to us
*May 21 14:56:43.261: PIM(0): Join-list: (10.1.1.1/32, 239.1.1.1), S-bit set
*May 21 14:56:43.261: PIM(0): Add Ethernet0/0/10.0.12.2 to (10.1.1.1, 239.1.1.1),
Forward state, by PIM SG Join
R1#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:03:25/stopped, RP 10.10.10.10, flags: SPF
Incoming interface: Ethernet0/0, RPF nbr 10.0.12.2
Outgoing interface list: Null
(10.1.1.1, 239.1.1.1), 00:03:25/00:03:24, flags: FT
Incoming interface: Ethernet0/1, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet0/0, Forward/Sparse, 00:00:50/00:02:39
此时,数据从源一直流到接收方。收到数据包后,R5将从(*,G)树切换到(S,G)树。
R5#
*May 21 14:56:44.494: PIM(0): Insert (10.1.1.1,239.1.1.1) join in nbr 10.0.56.6's queue
*May 21 14:56:44.498: PIM(0): Building Join/Prune packet for nbr 10.0.56.6
*May 21 14:56:44.498: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Join
*May 21 14:56:44.498: PIM(0): Send v2 join/prune to 10.0.56.6 (Ethernet0/0)
R5#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:02:47/stopped, RP 10.20.20.20, flags: SJCL
Incoming interface: Ethernet0/0, RPF nbr 10.0.56.6
Outgoing interface list:
Ethernet0/1, Forward/Sparse, 00:02:47/00:02:14
(10.1.1.1, 239.1.1.1), 00:02:45/00:00:14, flags: LJT
Incoming interface: Ethernet0/0, RPF nbr 10.0.56.6
Outgoing interface list:
Ethernet0/1, Forward/Sparse, 00:02:45/00:02:14
R6从R5接收(S,G)加入,并将数据包从E2/0转发到R5。
R6#
*May 21 14:56:44.496: PIM(0): Received v2 Join/Prune on Ethernet2/0 from 10.0.56.5,
to us
*May 21 14:56:44.496: PIM(0): Join-list: (10.1.1.1/32, 239.1.1.1), S-bit set
*May 21 14:56:44.496: PIM(0): Update Ethernet2/0/10.0.56.5 to (10.1.1.1, 239.1.1.1),
Forward state, by PIM SG Join
*May 21 14:56:49.056: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.46.4,
to us
*May 21 14:56:49.056: PIM(0): Prune-list: (10.1.1.1/32, 239.1.1.1)
*May 21 14:56:49.056: PIM(0): Prune Ethernet1/0/239.1.1.1 from (10.1.1.1/32, 239.1.1.1)
- deleted
R6#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:03:43/00:02:42, RP 10.20.20.20, flags: S
Incoming interface: Ethernet1/0, RPF nbr 10.0.46.4
Outgoing interface list:
Ethernet2/0, Forward/Sparse, 00:03:43/00:02:42
(10.1.1.1, 239.1.1.1), 00:03:43/00:02:46, flags: T
Incoming interface: Ethernet0/0, RPF nbr 10.0.67.7
Outgoing interface list:
Ethernet2/0, Forward/Sparse, 00:03:43/00:02:44
最后,R4 PIM RP向R6发送(S,G)修剪。 请注意,mroute(MSDP创建的条目)上存在“M”标志。
R4#
*May 21 14:56:44.559: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.46.6,
to us
*May 21 14:56:44.559: PIM(0): Prune-list: (10.1.1.1/32, 239.1.1.1) RPT-bit set
*May 21 14:56:44.579: PIM(0): Removing register decap tunnel (Tunnel1) as accepting
interface of (10.1.1.1, 239.1.1.1).
*May 21 14:56:44.579: PIM(0): Installing Ethernet1/0 as accepting interface for
(10.1.1.1, 239.1.1.1).
*May 21 14:56:46.107: MSDP(0): (10.1.1.1/32, 239.1.1.1), accepted
*May 21 14:56:49.139: PIM(0): Insert (10.1.1.1,239.1.1.1) prune in nbr 10.0.46.6's queue
*May 21 14:56:49.139: PIM(0): Building Join/Prune packet for nbr 10.0.46.6
*May 21 14:56:49.139: PIM(0): Adding v2 (10.1.1.1/32, 239.1.1.1), S-bit Prune
*May 21 14:56:49.139: PIM(0): Send v2 join/prune to 10.0.46.6 (Ethernet1/0)
R4#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.1.1.1), 00:02:15/00:03:12, RP 10.20.20.20, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet1/0, Forward/Sparse, 00:02:15/00:03:12
(10.1.1.1, 239.1.1.1), 00:02:15/00:02:46, flags: PMT
Incoming interface: Ethernet1/0, RPF nbr 10.0.46.6
Outgoing interface list: Null
此处,从R6删除传出接口(OIF)E1/0到R4。
R6#
*May 21 14:56:49.056: PIM(0): Received v2 Join/Prune on Ethernet1/0 from 10.0.46.4,to us
*May 21 14:56:49.056: PIM(0): Prune-list: (10.1.1.1/32, 239.1.1.1)
*May 21 14:56:49.056: PIM(0): Prune Ethernet1/0/239.1.1.1 from (10.1.1.1/32, 239.1.1.1)
- deleted
R6#
MSDP提供了一种互连不同PIM域的方法,每个域都使用自己的RP。 它还常用于实施本文档未涵盖的“任播RP”。MSDP和PIM协同工作,允许一个域中的接收方从另一个域中的源接收流量。MSDP SA消息允许其他RP了解其他PIM域中的源,而PIM用于构建组播树。
有关协议操作的详细信息,请参阅相关信息中提到的RFC。
https://tools.ietf.org/html/rfc4601