As shown in Figure 1, there are two autonomous systems in the network. Each AS contains a PIM-SM domain, the multicast source is in PIM-SM1, the receiver is in PIM-SM2. The network requirement is that the receiver in domain PIM-SM2 can receive multicast data sent by the multicast source in domain PIM-SM1.
Configuring MSDP to establish MSDP peer relationship between RPs in each PIM-SM domain , which can to achieve inter-domain multicast communication.
- Configure the IP address for each switch interface and implement and configure OSPF protocol in the ASs to ensure route reachability within each AS.
- To ensure route reachability between ASs, configure EBGP eBGP peers between ASs and import OSPF route routes into BGP route.
- Enable PIM-SM on each multicast interface, and enable the IGMP on the host-side interface.
- Configure static RP on each PIM-SM router in domains PIM-SM1 and PIM-SM2, and specify the loopback interface address of Switch 2 and Switch 3 as the RP address.
- Configure MSDP source and member on each RP , to establish MSDP peer relationship between RP RPs in each domain.
- You can view PIM routes on the switches by using run show mroute Multicast source 126.96.36.199 in the PIM-SM1 domain sends multicast data to multicast groups 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199 and 188.8.131.52, receiver . Receiver in PIM-SM2 can receive the multicast data.
- You can view (S, G) entries cache on MSDP peer switches by using the run show msdp sa “RP” is the source RP address that advertises the (S, G) entry. “RP” value “-” indicates that the device running the show command is the source RP advertises advertising the (S, G) entry.
admin@Switch2# run show msdp sa Source Group RP Local SPT Uptime 184.108.40.206 220.127.116.11 - y - 00:01:39 18.104.22.168 22.214.171.124 - y - 00:00:06 126.96.36.199 188.8.131.52 - y - 00:00:06 184.108.40.206 220.127.116.11 - y - 00:00:06 18.104.22.168 22.214.171.124 - y - 00:00:06 126.96.36.199 188.8.131.52 - y - 00:01:39 admin@Switch3# run show msdp sa Source Group RP Local SPT Uptime 184.108.40.206 220.127.116.11 18.104.22.168 n y 00:32:16 22.214.171.124 126.96.36.199 188.8.131.52 n y 00:00:39 184.108.40.206 220.127.116.11 18.104.22.168 n y 00:00:39 22.214.171.124 126.96.36.199 188.8.131.52 n y 00:00:39 184.108.40.206 220.127.116.11 18.104.22.168 n y 00:00:39 22.214.171.124 126.96.36.199 188.8.131.52 n y 00:32:16 184.108.40.206 220.127.116.11 18.104.22.168 n y 00:00:11