R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
434
priority: Priority of the C-RP, in the range of 0 to 255 and defaulting to 0. A larger value of this argument
means a lower priority.
hold-interval: C-RP timeout time, in seconds. The effective range is 1 to 65,535. If you do not provide this
argument in your command, the corresponding global setting will be used.
adv-interval: C-RP-Adv interval in seconds, with an effective range of 1 to 65,535. If you do not provide
this argument in your command, the corresponding global setting will be used.
Description
Use the c-rp command to configure the specified interface as a C-RP.
Use the undo c-rp command to remove the related C-RP configuration.
No C-RPs are configured by default.
PIM-SM must be enabled on the interface to be configured as a C-RP.
If you do not specify a group range for the C-RP, the C-RP will serve all multicast groups.
If you wish a router to be a C-RP for multiple group ranges, you need to include these multiple group
ranges in multiple rules in the ACL corresponding to the group-policy keyword.
If you carry out this command repeatedly on the same interface, the last configuration will take
effect.
Related commands: c-bsr.
Examples
# In the public instance configure GigabitEthernet 0/1 to be a C-RP for multicast groups 225.1.0.0/16
and 226.2.0.0/16, with a priority of 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 GigabitEthernet 0/1 group-policy 2000 priority 10
c-rp advertisement-interval (PIM view)
Syntax
c-rp advertisement-interval interval
undo c-rp advertisement-interval
View
Public instance PIM view
Default level
2: System level
Parameters
interval: C-RP-Adv interval in seconds, with an effective range of 1 to 65,535.
Description
Use the c-rp advertisement-interval command to configure the interval at which C-RP-Adv messages are
sent.