R21xx-HP FlexFabric 11900 IP Multicast Command Reference

56
group-policy acl-number: Specifies an IPv4 basic ACL in the range of 2000 to 2999 to filter IPv4
multicast groups. The C-RP is designated only to IPv4 multicast groups that match a permit statement in
the ACL. If the group-policy acl-number option is not specified, if the specified ACL does not exist, or if
the specified ACL does not have any valid permit statement, the C-RP is designated to all IPv4 multicast
groups 224.0.0.0/4. Only groups that match a permit statement in the ACL are advertised.
holdtime hold-time: Specifies a lifetime (in seconds) for the C-RP, in the range of 1 to 65535. The default
value is 150 seconds.
priority priority: Specifies a priority for the C-RP, in the range of 0 to 255. The default setting is 192. A
larger value indicates a lower priority.
Usage guidelines
The IP address of a C-RP must be the IP address of a local PIM enabled interface on the C-RP. Otherwise,
the configuration does not take effect.
In an ACL, the source field specifies the multicast group range to which the C-RP is designated, and the
other fields are ignored. If the specified addresses are not multicast addresses, the ACL is not valid.
To use a C-RP for multiple multicast group ranges, specify them by multiple permit statements in an ACL
and reference the ACL in the group-policy keyword.
If you execute this command using the same C-RP IP address multiple times, the most recent configuration
takes effect.
Examples
# Configure the interface with the IP address of 1.1.1.1 as the C-RP for multicast group ranges
225.1.0.0/16 and 226.2.0.0/16, and set its priority to 10.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.0.0 0.0.255.255
[Sysname-acl-basic-2000] rule permit source 226.2.0.0 0.0.255.255
[Sysname-acl-basic-2000] quit
[Sysname] pim
[Sysname-pim] c-rp 1.1.1.1 group-policy 2000 priority 10
crp-policy (PIM view)
Use crp-policy to configure the legal C-RP address range and the multicast group range to which the
C–RP is designated.
Use undo crp-policy to remove the configuration.
Syntax
crp-policy acl-number
undo crp-policy
Default
No restrictions are defined for the legal C-RP address range and the multicast group range to which the
C-RP is designated. All received C-RP messages are regarded legal.
Views
PIM view