R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
566
c-rp (PIM view)
Syntax
c-rp interface-type interface-number [ group-policy acl-number | priority priority | holdtime hold-interval
| advertisement-interval adv-interval ] *
undo c-rp interface-type interface-number
View
Public network PIM view
Default level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
acl-number: Basic ACL number, in the range of 2000 to 2999. This ACL defines a range of multicast
groups the C-RP is going to serve, rather than defining a filtering rule. Any group range matching the
permit statement in the ACL will be advertised as an RP served group, but the configuration matching
other statements like deny will not take effect.
priority: Priority of the C-RP, in the range of 0 to 255 and defaulting to 192. A larger value of this
argument means a lower priority.
hold-interval: C-RP timeout time, in seconds. The value ranges from 1 to 65,535. If you do not provide this
argument in your command, the corresponding global setting is 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 is used.
Description
Use c-rp to configure the specified interface as a C-RP.
Use undo c-rp 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 want a device 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 execute this command repeatedly on the same interface, the last configuration takes effect.
Related commands: c-bsr.
Examples
# Configure GigabitEthernet 0/1 in the public network 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