73
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter public network PIM view
or VPN instance PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Enable BIDIR-PIM.
bidir-pim enable
Disabled by default.
Configuring an RP
An RP can be manually configured or dynamically elected through the BSR mechanism. For a large PIM
network, static RP configuration is a tedious job. Generally, static RP configuration is just used as a
backup method for the dynamic RP election mechanism to enhance the robustness and operation
manageability of a multicast network.
When both PIM-SM and BIDIR-PIM run on the PIM network, do not use the same RP to serve PIM-SM and
BIDIR-PIM. Otherwise, exceptions might occur to the PIM routing table.
Configuring a static RP
If only one dynamic RP exists in a network, manually configuring a static RP can avoid communication
interruption due to single-point failures and avoid frequent message exchange between C-RPs and the
BSR.
In BIDIR-PIM, a static RP can be specified with a virtual IP address. For example, if the IP addresses of the
interfaces at the two ends of a link are 10.1.1.1/24 and 10.1.1.2/24, you can specify a virtual IP address,
like 10.1.1.100/24, for the static RP. As a result, the link becomes an RPL.
To make a static RP to work correctly, you must perform this configuration on all routers in the BIDIR-PIM
domain and specify the same RP address.
To configure a static RP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter public network PIM view
or VPN instance PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Configure a static RP for
BIDIR-PIM.
static-rp
rp-address
[
acl-number
]
[
preferred
]
bidir
No static RP by default.
Configuring a C-RP
In a BIDIR-PIM domain, you can configure routers that intend to become the RP as C-RPs. The BSR collects
the C-RP information by receiving the C-RP-Adv messages from C-RPs or auto-RP announcements from
other routers. It organizes the information into an RP-set, which is flooded throughout the entire network.
Then, the other routers in the network calculate the mappings between specific group ranges and the
corresponding RPs based on the RP-set. HP recommends that you configure C-RPs on backbone routers.
To guard against C-RP spoofing, configure a legal C-RP address range and the range of multicast groups
to be served on the BSR. In addition, because every C-BSR has a chance to become the BSR, you must
configure the same filtering policy on all C-BSRs in the BIDIR-PIM domain.
When configuring a C-RP, ensure a relatively large bandwidth between this C-RP and the other devices
in the BIDIR-PIM domain.