Step
Enable IP multicast routing
2.
and enter MRIB view.
Return to system view.
3.
Enter interface view.
4.
Enable PIM-SM.
5.
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:
Step
Enter system view.
1.
Enter PIM view.
2.
Configure a static RP for
3.
PIM-SM.
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.
The holdtime option in C-RP advertisement messages defines the C-RP lifetime for the advertising
C-RP. The BSR starts a holdtime timer for a C-RP after it receives an advertisement message. If the
Command
multicast routing [ vpn-instance
vpn-instance-name ]
quit
interface interface-type
interface-number
pim sm
Command
system-view
pim [ vpn-instance
vpn-instance-name ]
static-rp rp-address
[ ipv4-acl-number | preferred ] *
93
Remarks
By default, IP multicast routing is
disabled.
N/A
N/A
By default, PIM-SM is disabled.
Remarks
N/A
N/A
By default, no static RPs exist.