102
Description
Use
c-rp holdtime
to configure the global C-RP timeout time, namely, the length of time that the BSR waits
before it must receive a C-RP-Adv message.
Use
undo c-rp holdtime
to restore the default.
By default, the C-RP timeout time is 150 seconds.
Because a non-BSR router refreshes its C-RP timeout time through BSR bootstrap messages, to prevent loss
of C-RP information in BSR bootstrap messages, be sure that the C-RP timeout time is not smaller than the
interval at which the BSR sends bootstrap messages. The recommended C-RP timeout setting is 2.5 times
the BS period or longer.
Related commands:
c-bsr interval
and
c-rp
.
Examples
# Set the global C-RP timeout time to 200 seconds.
<Sysname> system-view
[Sysname] pim
[Sysname-pim] c-rp holdtime 200
crp-policy (PIM view)
Syntax
crp-policy
acl-number
undo crp-policy
View
PIM view
Default level
2: System level
Parameters
acl-number
: Advanced ACL number, in the range of 3000 to 3999. When the ACL is defined, the
source
keyword in the
rule
command specifies the address of a C-RP, and the
destination
keyword specifies the
address range of the multicast groups that the C-RP will serve.
Description
Use
crp-policy
to configure a legal C-RP address range and the range of served multicast groups, in
order to guard against C-RP spoofing.
Use
undo crp-policy
to remove the restrictions in C-RP address ranges and the ranges of served multicast
groups.
By default, no restrictions are defined for C-RP address ranges and the address ranges of served groups.
Namely, all received C-RP messages are accepted.
The
crp-policy
command filters the multicast group ranges advertised by C-RPs based on the group
prefixes. For example, if the multicast group range that a C-RP advertises is 224.1.0.0/16 and the legal
group range that the
crp-policy
command defines is 224.1.0.0/30, the multicast groups in the range of
224.1.0.0/16 can pass.
Related commands:
c-rp
.