MSDP Configuration Example
Anycast RP Configuration
Network requirements
The PIM-SM domain has multiple multicast sources and receivers. OSPF runs within the domain to
provide unicast routes.
It is required to configure the anycast RP feature so that the receiver-side DRs and the source-side
DRs can initiate a Join message to their respective RPs that are the topologically nearest to them.
On Switch B and Switch D, configure the interface Loopback 10 as a C-BSR, and Loopback 20 as
a C-RP.
The router ID of Switch B is 1.1.1.1, while the router ID of Switch D is 2.2.2.2. Set up an MSDP
peering relationship between Switch B and Switch D.
Network diagram
Figure 5-5 Network diagram for anycast RP configuration
Device
Interface
Source 1
—
Source 2
—
Switch A
Vlan-int300
Vlan-int103
Switch B
Vlan-int100
Vlan-int103
Vlan-int101
Loop0
Loop10
Loop20
Configuration procedure
1)
Configure the interface IP addresses and unicast routing protocol for each switch
Configure the IP address and subnet mask for each interface as per
steps are omitted here.
IP address
Device
10.110.5.100/24
Switch C
10.110.6.100/24
10.110.5.1/24
Switch D
10.110.2.2/24
10.110.1.1/24
10.110.2.1/24
192.168.1.1/24
1.1.1.1/32
3.3.3.3/32
Switch E
10.1.1.1/32
5-15
Interface
IP address
Vlan-int101
192.168.1.2/24
Vlan-int102
192.168.2.2/24
Vlan-int200
10.110.3.1/24
Vlan-int104
10.110.4.1/24
Vlan-int102
192.168.2.1/24
Loop0
2.2.2.2/32
Loop10
4.4.4.4/32
Loop20
10.1.1.1/32
Vlan-int400
10.110.6.1/24
Vlan-int104
10.110.4.2/24
Figure
5-5. Detailed configuration