User's Manual

Table Of Contents
48-29
Since there is an ANYCAST list maintained on router RP1 that has been configured with ANYCAST RP, and
since this list contains the unicast addresses of all the other RP in the network, when the RP1 receives the
register message, it can use the self-r-address, which identifies itself as the source address to forward the
register message to RP2. The cloud in the Figure represents the PIM-SM network operation between RP1
and RP2.
The following is the configuration steps:
RP1 Configuration:
Switch#config
Switch(config)#interface loopback 1
Switch(Config-if-Loopback1)#ip address 1.1.1.1 255.255.255.255
Switch(Config-if-Loopback1)#exit
Switch(config)#ip pim rp-candidate loopback1
Switch(config)#ip pim bsr-candidate vlan 1
Switch(config)#ip pim multicast-routing
Switch(config)#ip pim anycast-rp
Switch(config)#ip pim anycast-rp self-rp-address 192.168.2.1
Switch(config)#ip pim anycast-rp 1.1.1.1 192.168.3.2
RP2 Configuration:
Switch#config
Switch(config)#interface loopback 1
Switch(Config-if-Loopback1)#ip address 1.1.1.1 255.255.255.255
Switch(Config-if-Loopback1)#exit
Switch(config)#ip pim rp-candidate loopback1
Switch(config)#ip pim multicast-routing
Switch(config)#ip pim anycast-rp
Switch(config)#ip pim anycast-rp self-rp-address 192.168.3.2
Switch(config)#ip pim anycast-rp 1.1.1.1 192.168.2.1
48.5.4 ANYCAST RP Troubleshooting
When configuring and using ANYCAST RP function, the ANYCAST RP might work abnormally because of
faults in physical connections, configurations or something others. So, the users should pay attention to the
following points:
The physical connections should be guaranteed to be correct
The PIM-SM protocol should be guaranteed to operate normally
The ANYCAST RP should be guaranteed to be enabled in Global configuration mode
The self-rp-address should be guaranteed to be configured correctly in Global configuration mode
The other-rp-address should be guaranteed to be configured correctly in Global configuration mode
All the interface routers should be guaranteed to be correctly added, including the loopback interface
as a RP