Method and device for processing multicast message in PIM (protocol-independent multicast)
A technology of multicast packets and processing methods, which is applied in the field of IP multicast and can solve problems affecting normal business and CPU impact, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] In order to avoid the impact of the multicast data flow received by the non-RPF interface on the CPU under the premise of supporting ASSERT election and switching from RPT to SPT, the embodiment of the present invention first controls the routing and forwarding devices (such as routers and switches) that support PIM The plane and forwarding engines were modified:
[0030] (1) Control plane modification:
[0031]In order to support ASSERT election and switching from RPT to SPT, non-RPF interfaces that need to send multicast packets to the control plane include: interfaces in the outbound interface list in the multicast forwarding entry (corresponding to ASSERT election) and PIM- Inbound interface in the SPT direction when the SM is switching from RPT to SPT (corresponding to switching from RPT to SPT). Since the forwarding engine already has an outgoing interface list (marked as OIF-LIST), the control plane only needs to deliver the incoming interface in the SPT directi...
Embodiment 2
[0054] The method in Embodiment 1 is described below through three different practical application scenarios.
[0055] Application Scenario 1: Scenarios that do not require ASSERT elections
[0056] Such as figure 2 As shown, RT3 has not received the PIM join message, has not joined the shared tree, and its Eth0 / 1 interface is not the outgoing interface. After RT3 receives a multicast packet from non-RPF interface Eth0 / 1, since Eth0 / 1 is not an interface in the outbound interface list, nor is it an inbound interface in the SPT direction when switching from RPT to SPT, the forwarding engine directly sends Multicast packets are discarded, so as to avoid the impact on the CPU or the control plane running in the CPU, so that the routers in the shared network segment are not impacted by unexpected multicast data flows.
[0057] Application Scenario 2: A scenario where ASSERT elections occur
[0058] Such as image 3 As shown, in the shared network segment, RT2 and RT3 have per...
Embodiment 1
[0063] For the first embodiment, the embodiment of the present invention provides a device for processing multicast packets in PIM, and the device may be a routing and forwarding device supporting the PIM protocol, such as a router.
[0064] Such as Figure 5 As shown, the device includes: an interface 10, a forwarding engine (which may be a hardware forwarding chip, etc., or software responsible for message forwarding) 20 and a control plane (the control plane software running in the CPU) 30,
[0065] Interface 10, used to receive multicast packets;
[0066] Forwarding engine 20, when the incoming interface of the above-mentioned multicast message received at interface 10 is the interface in the outgoing interface list, or is the incoming interface of SPT direction when switching from RPT to SPT, limit the speed of this multicast message Send to the control plane 30; otherwise, do not send to the control plane 30;
[0067] The control plane 30 is configured to deliver the i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 