H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Multicast
H3C S7500 Series Ethernet Switches Chapter 6
PIM Configuration Commands
6-5
In a PIM SM network using BSR mechanism, every router can set itself as C-RP
(candidate rendezvous point) serving particular groups. If elected as a RP, a C-RP
becomes the RP serving the current group range.
In BSR mechanism, a C-RP router unicasts C-RP information to the BSR, which then
propagates the C-RP information throughout the network by means of BSR message.
To prevent C-RP spoofing, you need to configure the crp-policy command on the BSR
to limit legal C-RP range and their service group ranges. Since each C-BSR has the
chance to become BSR, you must configure the same filtering policy on each C-BSR
router.
This command uses the ACLs numbered between 3000 and 3999. The source
keyword in the rule command is translated into a C-RP address in the crp-policy
command, and the destination keyword into the service group range of this C-RP
address. For the received C-RP messages, only when their C-RP addresses match the
source keyword and their service group address range is the subset of that in the ACL,
can the C-RP be considered as matched.
Related commands: acl, rule.
Examples
# Configure C-RP filtering policy on the C-BSR routers, allowing only 1.1.1.1/32 to
function as the C-RP to serve only the group range 225.1.0.0/16.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] multicast routing-enable
[H3C] pim
[H3C-pim] crp-policy 3000
[H3C-pim] quit
[H3C] acl number 3000
[H3C-acl-adv-3000] rule 0 permit source 1.1.1.1 0 destination 225.1.0.0
0.0.255.255
6.1.5 display pim bsr-info
Syntax
display pim bsr-info
View
Any view
Parameters
None