R0106-HP MSR Router Series IP Multicast Command Reference(V7)

88
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of a C-RP.
advertisement-interval adv-interval: Specifies an interval between two C-RP-Adv messages, in the range
of 1 to 65535 seconds. The default value is 60 seconds.
group-policy acl-number: Specifies an IPv4 basic ACL number in the range of 2000 to 2999. The
command designates the C-RP to the IPv4 multicast groups that the ACL permits. The command
designates the C-RP to all IPv4 multicast groups 224.0.0.0/4 when any of the following conditions exists:
You do not specify any ACL.
The specified ACL does not exist.
The specified ACL does not have any valid rules.
holdtime hold-time: Specifies a lifetime for the C-RP, in the range of 1 to 65535 seconds. 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 represents a lower priority.
bidir: Specifies BIDIR-PIM to which the C-RP is designated. If you do not specify this keyword, the C-RP
provides services for PIM-SM.
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
# On the public network, 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.