beautypg.com

Configuring an rp, Configuring a static rp, Configuring a c-rp – H3C Technologies H3C S10500 Series Switches User Manual

Page 175

background image

160

To do...

Use the command...

Remarks

Enter public network PIM view or
VPN instance PIM view

pim [ vpn-instance
vpn-instance-name ]

Enable BIDIR-PIM

bidir-pim enable

Required
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 means for the dynamic RP election mechanism to enhance the robustness and operation

manageability of a multicast network.

CAUTION:

In a PIM network, if both PIM-SM and BIDIR-PIM are enabled, do not configure the same RP to serve
PIM-SM and BIDIR-PIM simultaneously to avoid PIM routing table errors.

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 routers in the BIDIR-PIM domain.
Follow these steps to configure a static RP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter public network PIM view or
VPN instance PIM view

pim [ vpn-instance
vpn-instance-name ]

Configure a static RP for BIDIR-PIM

static-rp rp-address [ acl-number ]
[ preferred ] bidir

Required
No static RP by default

CAUTION:

You must perform static RP configuration on all routers in the PIM-SM domain and specify the same RP
address.

NOTE:

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.

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 and organizes the information into an RP-set, which is flooded throughout the entire network.