PIM-SM enables a Rendezvous Point (RP) or a receiver's Designated router (DR) to trigger a shortest path tree (SPT) switchover when the rate of IPv6 multicast packets is high. You can configure the SPT switchover conditions and the interval for checking the rate at which IPv6 multicast data is forwarded on the receiver's DR.
During the forwarding of IPv6 multicast packets in a PIM-SM domain, only one rendezvous point tree (RPT) is set for each multicast group. All multicast sources encapsulate multicast data in Register messages, and then unicast the Register messages to the RP. After receiving the Register messages, the RP decapsulates them and then forwards multicast data along the RPT to group members.
Forwarding IPv6 multicast data along an RPT has the following disadvantages:
The source's DR and the RP need to frequently encapsulate and decapsulate messages.
The forwarding path may not be the shortest path from the source to receivers.
Heavy IPv6 multicast traffic increases the load of the RP, which easily causes a fault.
The solutions to the preceding disadvantages are as follows:
SPT switchover triggered by the RP
The RP sends a Join message to the source to create an IPv6 multicast route along the shortest path from the source's DR to the RP to build an MDT. Then, subsequent packets are forwarded along this path.
SPT switchover triggered by the receiver's DR
The receiver's DR checks the forwarding rate of IPv6 multicast data. If the receiver's DR finds that the rate exceeds the threshold, the receiver's DR triggers the SPT switchover immediately. The receiver's DR sends a Join message to the source to set up an IPv6 multicast route along the shortest path from the source's DR to the receiver's DR. Subsequent IPv6 multicast packets are forwarded along this path.
By default, the RP triggers the SPT switchover immediately after receiving the first Register message, and the receiver's DR triggers the SPT switchover immediately after receiving the first IPv6 multicast data packet. The router can work normally with default control parameters. You are allowed to adjust SPT switchover parameters based on the specific networking environment.
If there is no special requirement, default parameter values are recommended.
The system view is displayed.
Configure a basic numbered ACL6.
A basic numbered ACL6 is created, and the basic numbered ACL6 view is displayed.
Rules are configured for the basic numbered ACL6.
A naming ACL6 is created, and the naming ACL6 view is displayed.
Rules are configured for the naming ACL6.
Run the rule command and set the source parameter to a multicast group range to which the specified rate threshold applies.
Return to the system view.
The IPv6 PIM view is displayed.
SPT switchover conditions are configured.
This command takes effect on all routers that may become the receiver's DR, but does not take effect on the RP.
traffic-rate: specifies the threshold for the rate of IPv6 multicast data. When the rate of IPv6 multicast data exceeds the threshold, the receiver's DR triggers the SPT switchover.
The configuration in Step 4 makes sense only after traffic-rate is set.
infinity: indicates that the receiver's DR never triggers the SPT switchover. IPv6 multicast data can be transmitted to receivers only along the RPT.
group-policy { basic-acl6-number | acl6-name acl6-name }: specifies the range of multicast groups to which the threshold is applied. By default, the threshold is applicable to all multicast groups.
order order-value: adjusts the order of the IPv6 ACLs in the group-policy list. If a group matches multiple IPv6 ACLs, the threshold is selected in the order specified by order-value.
The interval for checking the forwarding rate of multicast packets is set.
The configuration is committed.