ACL-based policies can be set on all Candidate-BSRs (C-BSRs) to filter Candidate-RP (C-RP) addresses and addresses of the groups that the C-RPs serve. The BootStrap router (BSR) adds C-RP information to the RP-set only when the addresses are in the set legal address range. Therefore, C-RP spoofing is avoided.
Before configuring the range of valid C-RP addresses, complete the following tasks:
Configuring a unicast routing protocol
Perform the following steps on all the C-BSRs in the PIM-SM domain:
This configuration is optional. By default, a FW does not check the C-RP address and the group address contained in a received Advertisement message and adds them to the RP-set.
acl [ number ] acl-number [ vpn-instance vpn-instance-name ]
rule [ rule-id ] { permit | deny } protocol [ source { source-ip-address { 0 | source-wildcard } | address-set address-set-name | any } | destination { destination-ip-address { 0 | destination-wildcard } | address-set address-set-name | any } ] *
Run the rule command, set the source parameter to a valid C-RP source address range, and set the destination parameter to a multicast group address range to be served by C-RPs.
pim [ vpn-instance vpn-instance-name ]
crp-policy advanced-acl-number
When receiving an Advertisement message, the FW checks the C-RP address and the addresses of the groups that the C-RP serves in the message. The C-RP address and the addresses of the groups that the C-RP serves are added to the RP-Set only when they are in the valid address range. The C-RP spoofing can thus be prevented.
advanced-acl-number specifies the advanced ACL. The ACL defines the filtering policy for the C-RP address range and the address range of the groups that a C-RP serves.