R2511-HP MSR Router Series IP Multicast Command Reference(V5)

57
Usage guidelines
The crp-policy command filters the multicast group ranges advertised by C-RPs based on the group
prefixes. For example, if the multicast group range that a C-RP advertises is 224.1.0.0/16 and the legal
group range that the crp-policy command defines is 224.1.0.0/30, the multicast groups in the range of
224.1.0.0/16 can pass.
Examples
# On the public network, configure a C-RP policy so that only devices in the address range of 1.1.1.1/24
can be C-RPs that serve multicast groups in the address range of 225.1.1.0/24.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule permit ip source 1.1.1.1 0.0.0.255 destination 225.1.1.0
0.0.0.255
[Sysname-acl-adv-3000] quit
[Sysname] pim
[Sysname-pim] crp-policy 3000
# In VPN instance mvpn, configure a C-RP policy, so that only devices in the address range of 1.1.1.1/24
can be C-RPs that serve multicast groups in the address range of 225.1.1.0/24.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule permit ip source 1.1.1.1 0.0.0.255 destination 225.1.1.0
0.0.0.255
[Sysname-acl-adv-3000] quit
[Sysname] pim vpn-instance mvpn
[Sysname-pim-mvpn] crp-policy 3000
Related commands
c-rp
display pim bsr-info
Use display pim bsr-info to display BSR information in the PIM domain and the local effective C-RP
information.
Syntax
display pim [ all-instance | vpn-instance vpn-instance-name ] bsr-info [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all-instance: Specifies all VPN instances.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31
characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.