Anycast RP Support for MCT Cluster Devices

MCT cluster devices can be configured as anycast RP peers, thus providing redundancy to the RP.

RP is necessary in a PIM domain. Therefore, if the cluster peer which is an RP goes down, PIM can continue to function as both cluster peers are configured as RPs. Sample MCT Configuration in a 3-tier Architecture shows an MCT deployment where MCT cluster devices are configured for anycast RPs.

Configuration Example: Multicast Routing with Anycast RPs

The following example shows the configuration for multicast snooping where MCT cluster devices are configured as anycast RPs, as depicted in Sample MCT Configuration in a 3-tier Architecture.

Client 1

router pim
 rp-address 1.1.1.1 
!
router ospf
 area 0 
 no graceful-restart
 nonstop-routing
!
vlan 10 by port
 tagged lag 10
!
vlan 15 by port
 tagged ethe 1/2/2 
!
interface ve 15
 ip address 15.1.1.1 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!
interface ve 10
 ip address 10.1.1.3 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!

Client 2

router pim
 rp-address 1.1.1.1 
!
router ospf
 area 0 
 no graceful-restart
 nonstop-routing
!
vlan 20 by port
 tagged lag 20
!
vlan 25 by port
 tagged ethe 1/2/2 
!
interface ve 25
 ip address 25.1.1.1 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!
interface ve 20
 ip address 20.1.1.3 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!

Peer 1

ip access-list standard anycast_rp_default_vrf
 sequence 10 permit host 2.2.2.1 
 sequence 20 permit host 2.2.2.2 
!
interface loopback 1
 ip address 1.1.1.1 255.255.255.255
 ip pim-sparse
 ip ospf area 0
!
interface loopback 2
 ip address 2.2.2.1 255.255.255.255
 ip pim-sparse
 ip ospf area 0
!
router pim
 rp-address 1.1.1.1 
 anycast-rp 1.1.1.1 anycast_rp_default_vrf
! 
router ospf
 area 0 
 no graceful-restart
 nonstop-routing
!
vlan 5 by port
 tagged lag 1 
!
vlan 6 by port
 tagged lag 2 
!
vlan 10 by port
 tagged lag 1 lag 10
!
vlan 20 by port
 tagged lag 1 lag 20 
!
vlan 30 by port
 tagged lag 11
!
interface ve 5
 ip address 5.1.1.1 255.255.255.0
!
interface ve 10
 delay-notifications 15
 ip address 10.1.1.1 255.255.255.0
 ip pim-sparse
 ip pim dr-priority 10
 ip ospf area 0
 ip ospf priority 10
!
interface ve 20
 delay-notifications 15
 ip address 20.1.1.1 255.255.255.0
 ip pim-sparse
 ip pim dr-priority 10
 ip ospf area 0
 ip ospf priority 10
!
interface ve 30
 ip address 30.1.1.1 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!
cluster mcast_cluster 4095 
 rbridge-id 4090 
 session-vlan 5 
 keep-alive-vlan 6 
 icl-fwd-delay 5 
 ccep-up-delay 120
 icl icl-lag lag 1
 peer 5.1.1.2 rbridge-id 4091 icl icl-lag
 peer 5.1.1.2 timers keep-alive 10 hold-time 300
 deploy 
 client ccep-1 
  rbridge-id 1 
  client-interface lag 10 
  deploy 
 client ccep-2 
  rbridge-id 2 
  client-interface lag 20 
  deploy
!

Peer 2

ip access-list standard anycast_rp_default_vrf
 sequence 10 permit host 2.2.2.1 
 sequence 20 permit host 2.2.2.2 
!
interface loopback 1
 ip address 1.1.1.1 255.255.255.255
 ip pim-sparse
 ip ospf area 0
!
interface loopback 2
 ip address 2.2.2.2 255.255.255.255
 ip pim-sparse
 ip ospf area 0
!
router pim
 rp-address 1.1.1.1 
 anycast-rp 1.1.1.1 anycast_rp_default_vrf
! 
router ospf
 area 0 
 no graceful-restart
 nonstop-routing
!
vlan 5 by port
 tagged lag 1 
!
vlan 6 by port
 tagged lag 2 
!
vlan 10 by port
 tagged lag 1 lag 10
!
vlan 20 by port
 tagged lag 1 lag 20 
!
vlan 40 by port
 tagged lag 12
!
interface ve 5
 ip address 5.1.1.2 255.255.255.0
!
interface ve 10
 delay-notifications 15
 ip address 10.1.1.2 255.255.255.0
 ip pim-sparse
 ip pim dr-priority 10
 ip ospf area 0
 ip ospf priority 10
!
interface ve 20
 delay-notifications 15
 ip address 20.1.1.2 255.255.255.0
 ip pim-sparse
 ip pim dr-priority 10
 ip ospf area 0
 ip ospf priority 10
!
interface ve 40
 ip address 40.1.1.1 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!

cluster mcast_cluster 4095 
 rbridge-id 4091 
 session-vlan 5 
 keep-alive-vlan 6 
 icl-fwd-delay 5 
 ccep-up-delay 120 
 icl icl-lag lag 1
 peer 5.1.1.1 rbridge-id 4090 icl icl-lag
 peer 5.1.1.1 timers keep-alive 10 hold-time 300
 deploy 
 client ccep-1 
  rbridge-id 1 
  client-interface lag 10 
  deploy 
 client ccep-2 
  rbridge-id 2 
  client-interface lag 20 
  deploy
!

Core

router pim
 rp-address 1.1.1.1 
!
router ospf
 area 0 
 no graceful-restart
 nonstop-routing
!
vlan 30 by port
 tagged lag 11
!
vlan 40 by port
 tagged lag 12
!
vlan 50 by port
 tagged ethernet 1/2/2
!
interface ve 30
 ip address 30.1.1.2 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!
interface ve 40
 ip address 40.1.1.2 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!
interface ve 50
 ip address 50.1.1.1 255.255.255.0
 ip pim-sparse
 ip ospf area 0
!