Configuring Anycast RP Application 161
Configure OSPF for interconnection between the switches. The detailed configuration steps are omitted here.
Enabling IP multicast routing and enabling
# Enable multicast routing on Switch C, and enable
<SwitchC>
[SwitchC] multicast
[SwitchC] interface
The configuration on Switch A, Switch B, Switch D, Switch E, Switch F, and Switch G is similar to the configuration on Switch C. The specific configuration steps are omitted here.
Configuring the IP addresses of interface Loopback 1, Loopback 10,
#Configure different Loopback 1 addresses and identical Loopback 10 address on Switch C and Switch F, configure a
[SwitchC] interface loopback 1
The configuration on Switch F is similar to the configuration on Switch C.
# View the PIM routing information on Switch C.
[SwitchC] display pim
Total 1 (S,G) entries, 0 (*,G) entry, 0 (*,*,RP) entry
(10.110.5.100, 225.1.1.1)
Protocol 0x20: PIMSM, Flag 0x80004: SPT
Uptime: 00:00:08, Timeout in 203 sec
Upstream interface:
Downstream interface list: NULL
Matched 1 (S,G) entries, 0 (*,G) entry, 0 (*,*,RP) entry