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)条目。相当于是距离矢量的路径方式

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

CCNP路由实验之十 组播(多播)的更多相关文章

  1. CCNP路由实验之十五 NAT(网络地址转换)

     CCNP路由实验之十五 NAT(网络地址转换) 众所周知,要让自己的电脑连上Internet,必须要到运营商(ISP)申请一个上网账号,依据此账号申请自己的宽频业务(拨号上网.商业固定IP等等) ...

  2. CCNP路由实验之十二 MPLS

     个.第3个数据包„„同样的操作.包含查询路由表.重写MAC地址,CRC校验等. 系列路由器.或者12000系列路由器. Netflow switching 通过一种标准的交换机制,处理了流的第一 ...

  3. CCNP路由实验之十四 路由器的訪问控制ACL

     年9月1月12:00.还有一种时间叫做周期时间(periodic),即这个时间是会多次反复的.比方每周一,或者每周一到周五 ,"rotary 2″开启3002以此类推. 变成1,1变成 ...

  4. CCNP路由实验之六 动态路由协议之IS-IS

     CCNP路由实验之六动态路由协议之IS-IS 动态路由协议能够自己主动的发现远程网络.仅仅要网络拓扑结构发生了变化.路由器就会相互交换路由信息,不仅能够自己主动获知新添加的网络.还能够在当前网络 ...

  5. CCNP路由实验(1) -- EIGRP

    EIGRP(Enhanced Interior Gateway Routing Protocol,增强型内部网关路由协议)是Cisco公司开发的一个平衡混合型路由协议,它融合了距离向量和链路状态两种路 ...

  6. CCNP路由实验之七 动态路由之BGP

     CCNP路由实验之七 动态路由之BGP 动态路由协议能够自己主动的发现远程网络,仅仅要网络拓扑结构发生了变化,路由器就会相互交换路由信息,不仅能够自己主动获知新添加的网络,还能够在当前网络连接失 ...

  7. CCNP路由实验之八 路由重公布

     CCNP路由实验之八 路由重公布 在前面几个实验,已经学习了静态路由和动态路由.如今,我们要掌握怎样使它们在一个网络中融合,即路由重公布. 使用出站口作为静态路由 0 使用下一跳地址作为静态路由 ...

  8. CCNP路由实验之九 路由策略

     CCNP路由实验之九 路由策略 路由器在公布与接收路由信息时,可能须要实施一些策略.以便对路由信息进行过滤,比如仅仅接收或公布满足一定条件的路由信息. 一种路由协议可能须要引入其它的路由协议发现 ...

  9. CCNP路由实验(2) -- OSPF

    OSPF作为一种内部网关协议(IGP),用于在同一个AS中的路由器之间交换路由信息.OSPF的特性如下:1.可适应大规模网络2.收敛速度快3.无路由环路4.支持VLSM和CIDR5.支持等价路由6.支 ...

随机推荐

  1. luogu P3765 总统选举(线段树维护摩尔投票+平衡树)

    这题需要一个黑科技--摩尔投票.这是一个什么东西?一个神奇的方法求一个序列中出现次数大于长度一半的数. 简而言之就是同加异减: 比如有一个代表投票结果的序列. \[[1,2,1,1,2,1,1]\] ...

  2. [HAOI2015]树上染色(树形dp)

    [HAOI2015]树上染色 题目描述 有一棵点数为 N 的树,树边有边权.给你一个在 0~ N 之内的正整数 K ,你要在这棵树中选择 K个点,将其染成黑色,并将其他 的N-K个点染成白色 . 将所 ...

  3. react添加右键点击事件

    1.在HTML里面支持contextmenu事件(右键事件).所以需要在组建加载完时添加此事件,销毁组建时移除此事件. 2. 需要增加一个state,名称为visible,用来控制菜单是否显示.在_h ...

  4. Mac安装软件时,提示文件已损坏,需要移动到废纸篓的解决方法

    1.修改系统偏好设置,安全性与隐私-->将“允许从以下位置下载的应用” ☑️任何来源. 2. mac10.12以上的系统一般没有“任何来源”这个选项,需打开terminnal终端,输入 sudo ...

  5. CAD二次开发(01)-绘制直线

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...

  6. Linux 环境下/etc/profile和/etc/profile.d 的区别

    Linux 环境下/etc/profile和/etc/profile.d 的区别 区别: 1. 两个文件都是设置环境变量文件的,/etc/profile是永久性的环境变量,是全局变量,/etc/pro ...

  7. Qt之图形(简笔画-绘制卡通蚂蚁)

    简述 关于简笔画的介绍很多,有动物.水果.蔬菜.交通工具等,通常会对绘制一步步进行拆分.组合.然后绘制为我们想要的结果. 下面来介绍另外的一个种类:昆虫类-卡通蚂蚁. 简述 绘制 效果 源码 绘制 效 ...

  8. Ubuntu ctrl+alt会导致窗口还原的问题

    Ubuntu ctrl+alt会导致窗口还原的问题 本来以为是compizConfig的问题,后来在系统config中找到键盘>快捷键:恢复窗口,删除这个快捷键,就好了: 原来这里写的是ctrl ...

  9. mysql-计算字段

    一.计算字段 存储在数据库表中的数据一般不是应用程序所需要的格式 1.如果想在一个字段中既显示公司名,又显示公司的地址,但这两个信息一般包含在不同的字段中. 2.城市.州和邮编存储在不同的列中,但邮件 ...

  10. AVEVA PDMS to DIALux

    AVEVA PDMS to DIALux eryar@163.com   Abstract. DIAL develops DIALux - the world's leading software f ...