Configuring an rp, Configuring a static rp, Configuring a c-rp – H3C Technologies H3C S12500 Series Switches User Manual
Page 146

130
Step
Command
Description
5.
Enter interface view.
interface interface-type
interface-number
N/A
6.
Bind the interface with a VPN
instance.
ip binding vpn-instance
vpn-instance-name
By default, an interface belongs to
the public network, and is not
bound with any VPN instance.
7.
Enable PIM-SM.
pim sm
Disabled by default.
For more information about the ip vpn-instance, route-distinguisher, and ip binding vpn-instance
commands, see MPLS Command Reference.
Configuring an RP
CAUTION:
When both PIM-SM and BIDIR-PIM run on the PIM network, do not use the same RP for PIM-SM and
BIDIR-PIM. Otherwise, exceptions might occur to the PIM routing table.
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 a backup
method for the dynamic RP election mechanism to enhance the robustness and operational
manageability of a multicast network.
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.
Perform this configuration on all the routers in the PIM-SM domain.
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
PIM-SM.
static-rp rp-address [ acl-number ]
[ preferred ]
No static RP by default.
IMPORTANT:
To enable a static RP to operate correctly, you must perform this configuration on all the routers in the
PIM-SM domain and specify the same RP address.
Configuring a C-RP
In a PIM-SM 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 and 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. H3C recommends that you configure C-RPs on backbone routers.