CCNP路由实验之十 组播(多播)

时间:2021-05-19 16:05:16


                   CCNP路由实验之十 组播(多播)

种方法:

  1. 在交换机上配置静态的多播MAC地址到用户接口的映射

  2. 使用CGMP。执行CGMP的多播路由器能够将用户发送给自己的IGMP报文再通知给交换机

  3. 使用IGMPSnooping,在这样的模式下交换机会自己截取客户发送的IGMP消息,并依据IGMP消息更新自己的MAC地址表

  4. ,值越小越优先。越有可能成为Active BSR

  5. 优先级同样(默认0),ip地址值越大越优,越可能成为active BSR

    秒一次keepalive,75秒后没数据或keepalive则重建TCP。建立连接的两方均是各自区域的RP,组播源向RP注冊之后,那么RP将这些源信息通过在MSDP连接上发送Source-Active (SA)到远程RP,以提供组播源的信息。因为RP收到Source-Active (SA)后,也是要做RPF检測的。检測是依据BGP来做的,在这里。须要使用MBGP之组播协议,组成员的网络信息和建立MSDP连接的peer地址理论上都须要在MBGP中进行通告,一是防止RPF检測失败,二是由此来决定组播数据的传递,所以十分重要。

    MBGP(多协议边界网关协议)增加了 BGP 的性能。使其能在整个因特网上组播路由策略,并能够在 BGP 自治系统内或之间连接组播拓朴。

    换句话说, MBGP 能够说是增强版的携带 IP 组播路由的 BGP(不仅限于此)。BGP 携带了两组路由,一组是提供单播路由,还有一组是提供组播路由。协议独立组播(PIM)使用连接组播路由的路由器建立数据分配树。

    当须要链接仅用于组播通信,或限制通信的资源使用时;也可能当网络訪问点须要交换全部的组播通信时。MBGP 都是非常实用的。

    MBGP 同意单播路由拓朴不同于组播路由拓朴。

    个或多个RP在其Loopback接口上配置同样的IP地址。

    Anycast RP Loopback地址应该配置为32位掩码,其他路由器必须“知道”这个Anycast RP Loopback地址是它们的RP。当然在一台路由器上,IP路由协议将会自己主动选择离它近期的RP;假设网络中的组播源是均匀分布的,那么这些组播源也将均匀地注冊到每一个RP上。因为组播源可能注冊到一个RP,而接收方却注冊到还有一个RP。我们就须要使用MSDP在RP之间交换活动组播源的信息。

    在Anycast RP中,全部RP之间必须配置为MSDP对等体。当一个组播源向某个RP注冊时,该RP将通过MSDP的SA消息通告给其他RP。从而使得其他的RP都知道这个组播源的信息。若某个RP故障,当IP路由协议收敛后,其他RP将会成为该区域新的RP。

    而新的组播源将会将会注冊到备份RP(即新的RP);同样地,接收方也将使用新的RP。从而保证连通性。

    单个域内的PIM-SM要通信,是建立的(*。G)条目,假设PIM-SM域之间要通信,建立的是(S。G)条目。相当于是距离矢量的路径方式

  6. CCNP路由实验之十 组播(多播)

Server配置:

    1. Server#conf t

      Server(config)#no ip routing

      Server(config)#ip default-gateway192.168.1.1

      Server(config)#int e0/0

      Server(config-if)#ip add 192.168.1.2255.255.255.0

      Server(config-if)#no sh

      Server(config-if)#exit

      R1配置:

      R1#conf t

      R1(config)#ip multicast-routing

      R1(config)#int e0/0

      R1(config-if)#ip add 192.168.1.1255.255.255.0

      R1(config-if)#ip pim sparse-mode

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int e0/1

      R1(config-if)#ip add 192.168.12.1255.255.255.0

      R1(config-if)#ip pim sparse-mode

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int lo 0

      R1(config-if)#ip add 1.1.1.1255.255.255.255

      R1(config-if)#ip pim sparse-mode

      R1(config-if)#exit

      R1(config)#int lo 10

      R1(config-if)#ip add 10.10.10.10255.255.255.255

      R1(config-if)#ip pim sparse-mode

      R1(config-if)#exit

      R1(config)#router ospf 1

      R1(config-router)#router-id 1.1.1.1

      R1(config-router)#net 1.1.1.1 0.0.0.0area 0

      R1(config-router)# network 10.10.10.100.0.0.0 area 0

      R1(config-router)#net 192.168.12.0255.255.255.0 area 0

      R1(config-router)#net 192.168.1.0255.255.255.0 area 0

      R1(config-router)#exit

      R1(config)#router bgp 65501

      R1(config-router)#bgp router-id 1.1.1.1

      R1(config-router)#net 192.168.1.0 mask255.255.255.0

      R1(config-router)#net 192.168.12.0 mask255.255.255.0

      R1(config-router)#neighbor 2.2.2.2remote-as 65501 nlri unicast multicast

      R1(config-router)#neighbor 2.2.2.2update-source loopback 0

      R1(config-router)#neighbor 3.3.3.3remote-as 65501 nlri unicast multicast

      R1(config-router)#neighbor 3.3.3.3update-source loopback 0

      R1(config-router)#exit

      R1(config)#ip pim bsr-candidate loopback10

      R1(config)#ip pim rp-candidate loopback10

      R1(config)#ip msdp peer 2.2.2.2connect-source loopback 0

      R1(config)#ip msdp peer 3.3.3.3connect-source loopback 0

      R1(config)#ip msdp mesh-group anycast-rp2.2.2.2

      R1(config)#ip msdp mesh-group anycast-rp3.3.3.3

      R1(config)#ip msdp originator-idloopback 0

      R2配置:

      R2#conf t

      R2(config)#ip multicast-routing

      R2(config)#int e0/0

      R2(config-if)#ip add 192.168.12.2255.255.255.0

      R2(config-if)#ip pim sparse-mode

      R2(config-if)#no sh

      R2(config-if)#exit

      R2(config)#int e0/1

      R2(config-if)#ip add 192.168.23.2255.255.255.0

      R2(config-if)#ip pim sparse-mode

      R2(config-if)#no sh

      R2(config-if)#exit

      R2(config)#int lo 0

      R2(config-if)#ip add 2.2.2.2255.255.255.255

      R2(config-if)#ip pim sparse-mode

      R2(config-if)#exit

      R2(config)#in lo 10

      R2(config-if)#ip add 10.10.10.10255.255.255.255

      R2(config-if)#ip pim sparse-mode

      R2(config-if)#exit

      R2(config)#router ospf 1

      R2(config-router)#router-id 2.2.2.2

      R2(config-router)#net 2.2.2.2 0.0.0.0area 0

      R2(config-router)#net 10.10.10.100.0.0.0 area 0

      R2(config-router)#net 192.168.12.0255.255.255.0 area 0

      R2(config-router)#net 192.168.23.0255.255.255.0 area 0

      R2(config-router)#exit

      R2(config)#router bgp 65501

      R2(config-router)#bgp router-id 2.2.2.2

      R2(config-router)#net 192.168.12.0 mask255.255.255.0

      R2(config-router)#net 192.168.23.0 mask255.255.255.0

      R2(config-router)#nei 1.1.1.1 remote-as65501 nlri unicast multicast

      R2(config-router)#nei 1.1.1.1update-source loopback 0

      R2(config-router)#nei 3.3.3.3 remote-as65501 nlri unicast multicast

      R2(config-router)#nei 3.3.3.3update-source loopback 0

      R2(config-router)#exit

      R2(config)# ip pim bsr-candidateloopback 10

      R2(config)#ip pim rp-candidate loopback10

      R2(config)#ip msdp peer 1.1.1.1connect-source loopback 0

      R2(config)#ip msdp peer 3.3.3.3 connect-sourceloopback 0

      R2(config)#ip msdp mesh-group anycast-rp1.1.1.1

      R2(config)#ip msdp mesh-group anycast-rp3.3.3.3

      R2(config)#ip msdp originator-idloopback 0

      R3配置:

      R3#conf t

      R3(config)#ip multicast-routing

      R3(config)#int e0/0

      R3(config-if)#ip add 192.168.23.3255.255.255.0

      R3(config-if)#ip pim sparse-mode

      R3(config-if)#no sh

      R3(config-if)#exit

      R3(config)#int e0/1

      R3(config-if)#ip add 192.168.34.3255.255.255.0

      R3(config-if)#ip pim sparse-mode

      R3(config-if)#no sh

      R3(config-if)#exit

      R3(config)#int lo 0

      R3(config-if)#ip add 3.3.3.3255.255.255.255

      R3(config-if)#ip pim sparse-mode

      R3(config-if)#exit

      R3(config)#int lo 10

      R3(config-if)#ip add 10.10.10.10255.255.255.255

      R3(config-if)#ip pim sparse-mode

      R3(config-if)#exit

      R3(config)#router ospf 1

      R3(config-router)#router-id 3.3.3.3

      R3(config-router)#net 3.3.3.3 0.0.0.0 area0

      R3(config-router)#net 10.10.10.100.0.0.0 area 0

      R3(config-router)#net 192.168.23.0255.255.255.0 area 0

      R3(config-router)#net 192.168.34.0255.255.255.0 area 0

      R3(config-router)#exit

      R3(config)#router bgp 65501

      R3(config-router)#bgp router-id 3.3.3.3

      R3(config-router)#net 192.168.23.0 mask255.255.255.0

      R3(config-router)#net 192.168.34.0 mask255.255.255.0

      R3(config-router)#net 10.10.10.10 mask255.255.255.255

      R3(config-router)#nei 1.1.1.1 remote-as65501 nlri unicast multicast

      R3(config-router)#nei 1.1.1.1update-source loopback 0

      R3(config-router)#nei 2.2.2.2 remote-as65501 nlri unicast multicast

      R3(config-router)#nei 2.2.2.2update-source loopback 0

      R3(config-router)#nei 192.168.34.4remote-as 65502 nlri unicast multicast

      R3(config-router)#exit

      R3(config)#ip pim bsr-candidate loopback10

      R3(config)#ip pim rp-candidate loopback10

      R3(config)#ip msdp peer 1.1.1.1connect-source loopback 0

      R3(config)#ip msdp peer 2.2.2.2 connect-sourceloopback 0

      R3(config)# ip msdp peer 192.168.34.4connect-source ethernet 0/1 remote-as 65502

      R3(config)#ip msdp mesh-group anycast-rp1.1.1.1

      R3(config)#ip msdp mesh-group anycast-rp2.2.2.2

      R3(config)#ip msdp originator-idloopback 0

      R4配置:

      R4#conf t

      R4(config)#ip multicast-routing

      R4(config)#int e0/0

      R4(config-if)#ip add 192.168.34.4255.255.255.0

      R4(config-if)#ip pim sparse-mode

      R4(config-if)#no sh

      R4(config-if)#exit

      R4(config)#int e0/1

      R4(config-if)#ip add 192.168.45.4255.255.255.0

      R4(config-if)#ip pim sparse-mode

      R4(config-if)#no sh

      R4(config-if)#exit

      R4(config)#int lo 0

      R4(config-if)#ip add 4.4.4.4255.255.255.255

      R4(config-if)#ip pim sparse-mode

      R4(config-if)#exit

      R4(config)#int lo 20

      R4(config-if)#ip add 20.20.20.20255.255.255.255

      R4(config-if)#ip pim sparse-mode

      R4(config-if)#exit

      R4(config)#router eigrp 1

      R4(config-router)#no au

      R4(config-router)#net 0.0.0.0 0.0.0.0

      R4(config-router)#exit

      R4(config)#router bgp 65502

      R4(config-router)#bgp router-id 4.4.4.4

      R4(config-router)#net 192.168.34.0 mask255.255.255.0

      R4(config-router)#net 192.168.45.0 mask255.255.255.0

      R4(config-router)#net 20.20.20.20 mask255.255.255.255

      R4(config-router)#nei 192.168.34.3remote-as 65501 nlri unicast multicast

      R4(config-router)#nei 5.5.5.5 remote-as65502 nlri unicast multicast

      R4(config-router)#nei 5.5.5.5update-source loopback 0

      R4(config-router)#exit

      R4(config)#ip pim rp-address 20.20.20.20

      R4(config)# ip msdp peer 192.168.34.3connect-source Ethernet 0/0 remote-as 65501

      R4(config)#ip msdp peer 5.5.5.5connect-source loopback 0

      R4(config)#ip msdp originator-idloopback 0

      R5配置:

      R5#conf t

      R5(config)#ip multicast-routing

      R5(config)#int e0/0

      R5(config-if)#ip add 192.168.45.5255.255.255.0

      R5(config-if)#ip pim sparse-mode

      R5(config-if)#no sh

      R5(config-if)#exit

      R5(config)#int e0/1

      R5(config-if)#ip add 192.168.0.1255.255.255.0

      R5(config-if)#ip pim sparse-mode

      R5(config-if)#no sh

      R5(config-if)#exit

      R5(config)#int lo 0

      R5(config-if)#ip add 5.5.5.5255.255.255.255

      R5(config-if)#ip pim sparse-mode

      R5(config-if)#exit

      R5(config)#int lo 20

      R5(config-if)#ip add 20.20.20.20255.255.255.255

      R5(config-if)#ip pim sparse-mode

      R5(config-if)#exit

      R5(config)#router eigrp 1

      R5(config-router)#no au

      R5(config-router)#net 0.0.0.0 0.0.0.0

      R5(config-router)#exit

      R5(config)#router bgp 65502

      R5(config-router)#bgp router-id 5.5.5.5

      R5(config-router)#net 192.168.45.0 mask255.255.255.0

      R5(config-router)#net 192.168.0.0 mask255.255.255.0

      R5(config-router)#nei 4.4.4.4 remote-as65502 nlri unicast multicast

      R5(config-router)#nei 4.4.4.4update-source loopback 0

      R5(config-router)#exit

      R5(config)#ip pim rp-address 20.20.20.20

      R5(config)#ip msdp peer 4.4.4.4connect-source loopback 0

      R5(config)#ip msdp originator-idloopback 0

      PC配置:

      PC#conf t

      PC(config)#no ip routing

      PC(config)#ip default-gateway192.168.0.1

      PC(config)#int e0/0

      PC(config-if)#ip add 192.168.0.2255.255.255.0

      PC(config-if)#ip igmp join-group224.1.1.1

      PC(config-if)#no sh

      此时在Server端ping 224.1.1.1 ,并调试R3和R4 变化:

      Server#ping 224.1.1.1 repeat 100

      Type escape sequence to abort.

      Sending 100, 100-byte ICMP Echos to224.1.1.1, timeout is 2 seconds:

      .

      Reply to request 1 from 192.168.0.2, 184ms

      Reply to request 2 from 192.168.0.2, 188ms

      Reply to request 3 from 192.168.0.2, 184ms

      R3#debug ip msdp  detail

      MSDP Detail debugging is on

      *Mar 1 00:02:30.503: %PIM-5-NBRCHG: neighbor 192.168.34.4 UP on interfaceEthernet0/1

      *Mar 1 00:02:30.519: %PIM-5-DRCHG: DR change from neighbor 192.168.34.3 to192.168.34.4 on interface Ethernet0/1

      *Mar 1 00:03:01.683: %BGP-5-ADJCHANGE: neighbor 192.168.34.4 Up

      *Mar 1 00:03:05.383: %MSDP-5-PEER_UPDOWN: Session to peer 192.168.34.4 goingup

      *Mar 1 00:03:07.327: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0

      *Mar 1 00:03:07.327: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen= 0

      *Mar 1 00:03:31.071: MSDP(0): Received 3-byte TCP segment from 192.168.34.4

      *Mar 1 00:03:31.071: MSDP(0): Append 3 bytes to 0-byte msg 0 from192.168.34.4, qs 1

      *Mar 1 00:03:48.295: %PIM-5-NBRCHG: neighbor 192.168.23.2 UP on interface Ethernet0/0

      *Mar 1 00:03:56.027: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Ethernet0/0from LOADING to FULL, Loading Done

      *Mar 1 00:04:00.331: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0

      *Mar 1 00:04:00.331: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen= 0

      *Mar 1 00:04:22.979: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Up

      *Mar 1 00:04:31.067: MSDP(0): Received 3-byte TCP segment from 192.168.34.4

      *Mar 1 00:04:31.067: MSDP(0): Append 3 bytes to 0-byte msg 1 from192.168.34.4, qs 1

      *Mar 1 00:04:46.851: %MSDP-5-PEER_UPDOWN: Session to peer 1.1.1.1 going up

      *Mar 1 00:04:47.715: MSDP(0): Received 3-byte TCP segment from 1.1.1.1

      *Mar 1 00:04:47.715: MSDP(0): Append 3 bytes to 0-byte msg 2 from 1.1.1.1, qs1

      *Mar 1 00:04:47.779: %MSDP-5-PEER_UPDOWN: Session to peer 2.2.2.2 going up

      *Mar 1 00:04:48.335: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0

      *Mar 1 00:04:48.339: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen= 0

      *Mar 1 00:04:48.943: MSDP(0): Received 3-byte TCP segment from 2.2.2.2

      *Mar 1 00:04:48.947: MSDP(0): Append 3 bytes to 0-byte msg 3 from 2.2.2.2, qs1

      *Mar 1 00:04:49.343: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0

      *Mar 1 00:04:49.343: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen= 0

      *Mar 1 00:04:51.763: %BGP-5-ADJCHANGE: neighbor 1.1.1.1 Up

      *Mar 1 00:05:00.343: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0

      *Mar 1 00:05:00.343: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen= 0

      *Mar  1 00:05:39.539: MSDP(0): Received 120-byteTCP segment from 1.1.1.1

      *Mar  1 00:05:39.539: MSDP(0): Append 120 bytes to0-byte msg 5 from 1.1.1.1, qs 1

      *Mar  1 00:05:39.539: MSDP(0): WAVL Insert SASource 192.168.1.2 Group 224.1.1.1 RP 1.1.1.1 Successful

      R4#debugip msdp de

      MSDPDetail debugging is on

      *Mar  1 00:00:33.651: %PIM-5-NBRCHG: neighbor192.168.34.3 UP on interface Ethernet0/0

      *Mar  1 00:00:35.487: %BGP-5-ADJCHANGE: neighbor192.168.34.3 Up

      *Mar  1 00:00:39.235: %MSDP-5-PEER_UPDOWN: Sessionto peer 192.168.34.3 going up

      *Mar  1 00:00:40.175: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:00:40.175: MSDP(0): Append 3 bytes to0-byte msg 0 from 192.168.34.3, qs 1

      *Mar  1 00:00:40.871: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:00:40.871: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:24.255: %PIM-5-NBRCHG: neighbor192.168.45.5 UP on interface Ethernet0/1

      *Mar  1 00:01:24.271: %PIM-5-DRCHG: DR change fromneighbor 192.168.45.4 to 192.168.45.5 on interface Ethernet0/1

      *Mar  1 00:01:25.887: %DUAL-5-NBRCHANGE:IP-EIGRP(0) 1: Neighbor 192.168.45.5 (Ethernet0/1) is up: new adjacency

      *Mar  1 00:01:34.947: %MSDP-5-PEER_UPDOWN: Sessionto peer 5.5.5.5 going up

      *Mar  1 00:01:36.879: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:36.879: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:38.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:38.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:39.251: %BGP-5-ADJCHANGE: neighbor5.5.5.5 Up

      *Mar  1 00:01:40.183: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:01:40.183: MSDP(0): Append 3 bytes to0-byte msg 1 from 192.168.34.3, qs 1

      *Mar  1 00:02:25.027: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:02:25.031: MSDP(0): Append 3 bytes to0-byte msg 2 from 5.5.5.5, qs 1

      *Mar  1 00:02:29.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:29.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:38.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:38.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:40.183: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:02:40.183: MSDP(0): Append 3 bytes to0-byte msg 3 from 192.168.34.3, qs 1

      *Mar  1 00:03:13.379: MSDP(0): Received 120-byteTCP segment from 192.168.34.3

      *Mar  1 00:03:13.379: MSDP(0): Append 120 bytes to0-byte msg 4 from 192.168.34.3, qs 1

      *Mar  1 00:03:24.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:24.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:25.015: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:03:25.015: MSDP(0): Append 3 bytes to0-byte msg 5 from 5.5.5.5, qs 1

      *Mar  1 00:03:30.887: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:30.887: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:32.159: MSDP(0): Received 20-byte TCPsegment from 192.168.34.3

      *Mar  1 00:03:32.163: MSDP(0): Append 20 bytes to0-byte msg 6 from 192.168.34.3, qs 1

      *Mar  1 00:04:20.895: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:25.027: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:04:25.031: MSDP(0): Append 3 bytes to0-byte msg 7 from 5.5.5.5, qs 1

      *Mar  1 00:04:25.899: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:25.899: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:29.183: MSDP(0): Received 20-byte TCPsegment from 192.168.34.3

      *Mar  1 00:04:29.187: MSDP(0): Append 20 bytes to0-byte msg 8 from 192.168.34.3, qs 1

      R4#debugip msdp de

      MSDPDetail debugging is on

      *Mar  1 00:00:33.651: %PIM-5-NBRCHG: neighbor192.168.34.3 UP on interface Ethernet0/0

      *Mar  1 00:00:35.487: %BGP-5-ADJCHANGE: neighbor192.168.34.3 Up

      *Mar  1 00:00:39.235: %MSDP-5-PEER_UPDOWN: Sessionto peer 192.168.34.3 going up

      *Mar  1 00:00:40.175: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:00:40.175: MSDP(0): Append 3 bytes to0-byte msg 0 from 192.168.34.3, qs 1

      *Mar  1 00:00:40.871: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:00:40.871: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:24.255: %PIM-5-NBRCHG: neighbor192.168.45.5 UP on interface Ethernet0/1

      *Mar  1 00:01:24.271: %PIM-5-DRCHG: DR change fromneighbor 192.168.45.4 to 192.168.45.5 on interface Ethernet0/1

      *Mar  1 00:01:25.887: %DUAL-5-NBRCHANGE: IP-EIGRP(0)1: Neighbor 192.168.45.5 (Ethernet0/1) is up: new adjacency

      *Mar  1 00:01:34.947: %MSDP-5-PEER_UPDOWN: Sessionto peer 5.5.5.5 going up

      *Mar  1 00:01:36.879: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:36.879: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:38.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:38.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:01:39.251: %BGP-5-ADJCHANGE: neighbor 5.5.5.5Up

      *Mar  1 00:01:40.183: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:01:40.183: MSDP(0): Append 3 bytes to0-byte msg 1 from 192.168.34.3, qs 1

      *Mar  1 00:02:25.027: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:02:25.031: MSDP(0): Append 3 bytes to0-byte msg 2 from 5.5.5.5, qs 1

      *Mar  1 00:02:29.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:29.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:38.883: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:38.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:02:40.183: MSDP(0): Received 3-byte TCPsegment from 192.168.34.3

      *Mar  1 00:02:40.183: MSDP(0): Append 3 bytes to0-byte msg 3 from 192.168.34.3, qs 1

      *Mar  1 00:03:13.379: MSDP(0): Received 120-byteTCP segment from 192.168.34.3

      *Mar  1 00:03:13.379: MSDP(0): Append 120 bytes to0-byte msg 4 from 192.168.34.3, qs 1

      *Mar  1 00:03:24.883: MSDP(0): start_index = 0, sa_cache_index= 0, Qlen = 0

      *Mar  1 00:03:24.883: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:25.015: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:03:25.015: MSDP(0): Append 3 bytes to0-byte msg 5 from 5.5.5.5, qs 1

      *Mar  1 00:03:30.887: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:30.887: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:03:32.159: MSDP(0): Received 20-byte TCPsegment from 192.168.34.3

      *Mar  1 00:03:32.163: MSDP(0): Append 20 bytes to0-byte msg 6 from 192.168.34.3, qs 1

      *Mar  1 00:04:20.895: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:20.895: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:25.027: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:04:25.031: MSDP(0): Append 3 bytes to0-byte msg 7 from 5.5.5.5, qs 1

      *Mar  1 00:04:25.899: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:25.899: MSDP(0): Sent entire sa-cache,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:04:29.183: MSDP(0): Received 20-byte TCPsegment from 192.168.34.3

      *Mar  1 00:04:29.187: MSDP(0): Append 20 bytes to0-byte msg 8 from 192.168.34.3, qs 1

      *Mar  1 00:05:20.903: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:05:20.903: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:05:23.903: MSDP(0): start_index = 0,sa_cache_index = 0, Qlen = 0

      *Mar  1 00:05:23.903: MSDP(0): Sent entiresa-cache, sa_cache_index = 0, Qlen = 0

      *Mar  1 00:05:24.999: MSDP(0): Received 3-byte TCPsegment from 5.5.5.5

      *Mar  1 00:05:25.003: MSDP(0): Append 3 bytes to0-byte msg 9 from 5.5.5.5, qs 1

      *Mar  1 00:05:28.207: MSDP(0): Received 20-byte TCPsegment from 192.168.34.3

      *Mar  1 00:05:28.207: MSDP(0): Append 20 bytes to0-byte msg 10 from 192.168.34.3, qs 1

      查看R3和R4的多播路由表

      R3#sh ip mroute

      IP Multicast Routing Table

      Flags: D - Dense, S - Sparse, B - BidirGroup, 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,

      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

      Outgoing interface flags: H - Hardwareswitched, A - Assert winner

      Timers: Uptime/Expires

      Interface state: Interface, Next-Hop or VCD,State/Mode

      (*, 224.1.1.1),00:07:34/00:02:46, RP 10.10.10.10, flags: S

      Incoming interface: Ethernet0/0, RPF nbr192.168.23.2

      Outgoing interface list:

      Ethernet0/1, Forward/Sparse,00:07:34/00:02:46

      (192.168.1.2,224.1.1.1), 00:06:45/00:00:09, flags: T

      Incoming interface: Ethernet0/0, RPF nbr192.168.23.2

      Outgoing interface list:

      Ethernet0/1, Forward/Sparse,00:06:45/00:02:46

      (*, 224.0.1.40), 00:12:22/00:02:37, RP0.0.0.0, flags: DCL

      Incoming interface: Null, RPF nbr 0.0.0.0

      Outgoing interface list:

      Loopback0, Forward/Sparse, 00:12:22/00:02:37

      R4#sh ip mroute

      IP Multicast Routing Table

      Flags: D - Dense, S - Sparse, B - BidirGroup, 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,

      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

      Outgoing interface flags: H - Hardwareswitched, A - Assert winner

      Timers: Uptime/Expires

      Interface state: Interface, Next-Hop or VCD,State/Mode

      (*, 224.1.1.1),00:08:08/00:03:15, RP 10.10.10.10, flags: S

      Incoming interface: Ethernet0/0, RPF nbr192.168.34.3

      Outgoing interface list:

      Ethernet0/1, Forward/Sparse,00:08:08/00:03:15

      (*, 224.0.1.40), 00:10:28/00:02:35, RP0.0.0.0, flags: DCL

      Incoming interface: Null, RPF nbr 0.0.0.0

      Outgoing interface list:

      Loopback0, Forward/Sparse, 00:10:28/00:02:35