106
2. Enable IP multicast routing
and enter MRIB view.
multicast routing
[
vpn-instance
vpn-instance-name ]
By default, IP multicast routing is
disabled.
3. Return to system view.
quit
N/A
4. Enter interface view.
interface
interface-type
interface-number
N/A
5. Enable PIM-SM.
pim sm
By default, PIM-SM is disabled.
Configuring an RP
An RP can provide services for multiple or all multicast groups. However, only one RP can forward
multicast traffic for a multicast group at a time.
An RP can be manually configured or dynamically elected through the BSR mechanism. For a
large-scaled PIM network, configuring static RPs is a tedious job. Generally, static RPs are backups
for dynamic RPs to enhance the robustness and operational manageability on a multicast network.
Configuring a static RP
If only one dynamic RP exists on a network, you can configure a static RP to avoid communication
interruption caused by single-point failures. The static RP can also avoid waste of bandwidth due to
frequent message exchange between C-RPs and the BSR.
When you configure static RPs for PIM-SM, follow these restrictions and guidelines:
You can configure the same static RP for different multicast groups by using the same RP
address but different ACLs.
You do not need to enable PIM for an interface to be configured as a static RP.
If you configure multiple static RPs for a multicast group, only the static RP with the highest IP
address takes effect.
The static RP configuration must be the same on all routers in the PIM-SM domain.
To configure a static RP for PIM-SM:
1. Enter system view.
system-view
N/A
2. Enter PIM view.
pim
[
vpn-instance
vpn-instance-name ]
N/A
3. Configure a static RP for
PIM-SM.
static-rp
rp-address
[ ipv4-acl-number |
preferred
] *
By default, no static RPs exist.
Configuring a C-RP
IMPORTANT:
When you configure a C-RP, reserve a relatively large bandwidth between the C-RP and other
devices in the PIM-SM domain.
In a PIM-SM domain, if you want a router to become the RP, you can configure the router as a C-RP.
As a best practice, configure C-RPs on backbone routers.
The C-RPs periodically send advertisement messages to the BSR, which collects RP-set information
for RP election. You can configure the interval for sending the advertisement messages.