100
[Sysname] pim
[Sysname-pim] c-bsr priority 5
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
PIM view
Default level
2: System level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
acl-number
: Specifies a basic ACL number, in the range of 2000 to 2999. This ACL defines a range of
multicast groups the C-RP will serve, rather than defining a filtering rule. Any group range that matches
the
permit
statement in the ACL is advertised as an RP served group, but the configuration that matches
other statements, like
deny,
does not take effect.
priority
: Specifies the priority of the C-RP, in the range of 0 to 255. The default is 192. A larger value of
this argument means a lower priority.
hold-interval
: Specifies the 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
: Specifies the 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.
You must enable PIM-SM on the interface that you want to configure as a C-RP.
If you do not specify a group range for the C-RP, the C-RP serves all multicast groups.
To configure a device as a C-RP for multiple group ranges, you must include these multiple group ranges
in multiple rules in the ACL that corresponds to the
group-policy
keyword.
If you use this command repeatedly on the same interface, the last configuration takes effect.
Related commands:
c-bsr
.
Examples
# Configure VLAN-interface 100 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