403
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IPv6 PIM
view.
ipv6 pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Configure a C-RP
to provide services
for IPv6
BIDIR-PIM.
c-rp ipv6-address
[
advertisement-interval
adv-interval
| {
group-policy ipv6-acl-number
|
scope
scope-id
}
|
holdtime hold-time
|
priority
priority
] *
bidir
By default, no C-RPs
exist.
4.
(Optional.)
Configure the
device to use RP
hash algorithm
described in RFC
2362.
bsr-rp-mapping rfc2362
By default, the device
uses the BSR RP
hash algorithm
described in RFC
4601.
Setting the maximum number of IPv6 BIDIR-PIM RPs
In an IPv6 BIDIR-PIM domain, one DF election per RP is implemented on all IPv6 PIM-enabled
interfaces. To avoid unnecessary DF elections, do not configure multiple RPs for IPv6 BIDIR-PIM.
This configuration sets a limit on the number of IPv6 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 IPv6
multicast data forwarding. The system does not delete these excess RPs. They must be deleted
manually.
To set the maximum number of IPv6 BIDIR-PIM RPs:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IPv6 PIM view.
ipv6 pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Set the maximum number
of IPv6 BIDIR-PIM RPs.
bidir-rp-limit
limit
By default, the maximum number
of IPv6 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.
An IPv6 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 IPv6 BIDIR-PIM domain.
The BSR election process is summarized as follows:
1.
Initially, each C-BSR regards itself as the BSR of the IPv6 BIDIR-PIM domain and sends BSMs
to other routers in the domain.
2.
When a C-BSR receives the BSM from another C-BSR, it compares its own priority with the
priority carried in the message. The C-BSR with a higher priority wins the BSR election. If a tie
exists in the priority, the C-BSR with a higher IPv6 address wins. The loser uses the winner's
BSR address to replace its own BSR address and no longer regards itself as the BSR. The
winner retains its own BSR address and continues to regard itself as the BSR.
The elected BSR distributes the RP-set information collected from C-RPs to all routers in the IPv6
BIDIR-PIM domain. All routers use the same hash algorithm to get an RP for a specific IPv6 multicast
group.