128
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Configure a C-RP to provide
services for BIDIR-PIM.
c-rp
ip-address
[
advertisement-interval
adv-interval
|
group-policy
ipv4-acl-number
|
holdtime
hold-time
|
priority
priority
] *
bidir
By default, no C-RPs exist.
Enabling Auto-RP listening
This feature enables the device to receive Auto-RP announcement and discovery messages and
learn RP information. The destination IP addresses for Auto-RP announcement and discovery
messages are 224.0.1.39 and 224.0.1.40, respectively.
To enable Auto-RP listening:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Enable Auto-RP listening.
auto-rp enable
By default, Auto-RP listening is
disabled.
Setting the maximum number of BIDIR-PIM RPs
In a BIDIR-PIM domain, one DF election per RP is implemented on all PIM-enabled interfaces. To
avoid unnecessary DF elections, do not configure multiple RPs for BIDIR-PIM.
This configuration sets a limit on the number of BIDIR-PIM RPs. If the number of RPs exceeds the
limit, excess RPs do not take effect and can be used only for DF election rather than multicast data
forwarding. The system does not delete the excess RPs. They must be deleted manually.
To set the maximum number of BIDIR-PIM RPs:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Set the maximum number of
BIDIR-PIM RPs.
bidir-rp-limit
limit
By default, the maximum number
of BIDIR-PIM RPs is 32.
Configuring a BSR
You must configure a BSR if C-RPs are configured to dynamically select the RP. You do not need to
configure a BSR when you have configured only a static RP but no C-RPs.
A BIDIR-PIM domain can have only one BSR, but must have a minimum of one C-BSR. Any router
can be configured as a C-BSR. Elected from C-BSRs, the BSR is responsible for collecting and
advertising RP information in the BIDIR-PIM domain.