multicast msdp 1
RPF 校验顺序(优先级从上至下递减)
Static Mroute Table(ip mroute 5.5.5.5 255.255.255.255 6.6.6.6)
MBGP Table
Unicast Routing Table
检查组播的邻居关系:r1#show bgp ipv4 multicast summary
MSDP(Multicast Source Discovery Protocol)
MSDP 作用:跨域组播部署传递源信息
1、MSDP Peers configured similar to BGP
2、Peers connect using TCP port 639
Lower address peer initiates connection
Higher address peer waits in LISTEN state
3、Peers send keepalives every 60 s
4、Connection reset after 75 s
If no MSDP packets or keepalives are received
r1(config)#ip msdp peer 2.2.2.2 connect-source loopback 0
MSDP Source Active (SA) Messages
IP Address of Originating RP(初始的 RP 地址)
Number of (S, G)'s pairs being advertised
List of active (S, G)'s in the domain
Encapsulated Multicast packet [optional](封装第一份组播流)
MSDP SA Messages RPF 校验规则
MSDP Peer 在以下三种情况下是无条件接受邻居发过来的 SA Messages
Sending MSDP peer = Originating RP(原始 RP)
Sending MSDP peer = Mesh-Group peer
Sending MSDP peer = only MSDP peer
1、MSDP peer = IBGP peer
本地路由器学习 SA 的 origin-RP 路由的 IBGP peer 地址=本地路由器学习 SA 的 MSDP peer 地址则校验通过,接受 SA message。否则,丢弃
2、MSDP peer = EBGP peer
本地路由器学习 SA 的 origin-RP 路由的 EBGP peer AS 号等于本地路由器学习 SA 的 MSDP Peer AS 号则校验通过,接受 SA message。否则,丢弃
5.5.5.5 2 = 5.5.5.5 2
r1(config)#ip msdp rpf rfc3618 (使用该命令后不再使用上述两条校验规则,而是使用 IGP 的规则和下一跳进行校验)
MSDP 作用:
1、Inter-AS Multicast advertise Source Messages
2、Anycast RP(可以在 RP 之间做负载)