Configuring an rp, Configuring a static rp, Configuring a c-rp – H3C Technologies H3C SecPath F1000-E User Manual

Page 639

Advertising
background image

614

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable IP multicast routing.

multicast routing-enable

Disable by default

3.

Enter interface view.

interface interface-type
interface-number

N/A

4.

Enable PIM-SM.

pim sm

Disabled by default

For more information about the multicast routing-enable command, see Network Management
Command Reference
.

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 a backup means

for the dynamic RP election mechanism to enhance the robustness and operational manageability of a
multicast network.

1.

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.

pim

N/A

3.

Configure a static RP for PIM-SM.

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

No static RP by default

CAUTION:

To enable a static RP to work normally, you must perform this configuration on all the routers in the
PIM-SM domain and specify the same RP address.

2.

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

you to 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 can become the BSR, you must
configure the same filtering policy on all C-BSRs in the PIM-SM domain.
To configure a C-RP:

Advertising