CN111711570A - Method for realizing multicast protocol in network equipment - Google Patents

Method for realizing multicast protocol in network equipment Download PDF

Info

Publication number
CN111711570A
CN111711570A CN202010531521.5A CN202010531521A CN111711570A CN 111711570 A CN111711570 A CN 111711570A CN 202010531521 A CN202010531521 A CN 202010531521A CN 111711570 A CN111711570 A CN 111711570A
Authority
CN
China
Prior art keywords
chip
igmp
multicast
message
pon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010531521.5A
Other languages
Chinese (zh)
Inventor
武斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinhe Semiconductor Technology Wuxi Co Ltd
Original Assignee
Xinhe Semiconductor Technology Wuxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinhe Semiconductor Technology Wuxi Co Ltd filed Critical Xinhe Semiconductor Technology Wuxi Co Ltd
Priority to CN202010531521.5A priority Critical patent/CN111711570A/en
Publication of CN111711570A publication Critical patent/CN111711570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a method for realizing a multicast protocol in network equipment, which comprises the following steps: s1, the pon chip transparently transmits the uplink igmp message to the upstream exchange chip, and the exchange chip extracts the igmp message to the cpu for processing; an igmp message transparent transmission configuration interface in the Pon chip is opened as an sdk api interface; s2, opening a multicast vlan table and a source ip address filtering table in the pon chip through sdk api; s3, the whole pon chip also realizes the function of igmp snooping similarly. The invention can reduce the running number of the multicast protocols and the number of imgp proxy protocol downlink interfaces in a specific network, reduce the burden of network equipment and improve the efficiency of protocol processing. For a chip manufacturer only providing the sdk scheme, the method can be well butted with an integrator, and the realization freedom of a developer is improved.

Description

Method for realizing multicast protocol in network equipment
Technical Field
The invention relates to the technical field of network equipment multicast protocols, in particular to a method for realizing a multicast protocol in network equipment.
Background
The Igmp protocol is used for establishing and maintaining the relationship between multicast group members between an ip host and a multicast router directly adjacent to the ip host. In a simple tree network, an edge device does not need to run a complex multicast routing protocol, and an igmpproxying (igmp proxy) can be configured on the device, so that the igmp proxy can proxy a downstream host to send an igmp message and maintain the relationship between group members. From the perspective of the upstream device, the device configured with igmpproxying is no longer a PIM neighbor, but a host.
An uplink interface: an interface for running the igmpproxying function, and a host interface.
A downlink interface: the router interface is the interface for running the igmp protocol except the uplink interface.
A group member relation database is maintained on the igmp proxy device, and group member relations maintained by all downlink interfaces are recorded in the database. (multicast-address, filter-mode, source-list), each record is a collection of membership relationships with the same group address on each downlink interface.
The uplink interface executes host behavior according to the database, and when receiving a query message, the uplink interface responds to a report message according to the current database state, or actively sends a report or leaves the message when the database changes; the downlink interface executes the router behavior, participates in the election of the querier, sends the query message and maintains the group member relationship according to the report message.
The igmpspooping analyzes the received igmp message, establishes a mapping relation for the port and the multicast address, and forwards the multicast data according to the mapping relation. And no snooping is operated, multicast data is broadcasted at the second layer, and only multicast to a specified receiver after operation.
igmpsnooping runs in two layers. And only when an igmp leaving message of a certain port is received or an aging time timer of a certain port is overtime, an igmp specific group query message is actively sent to the port.
The igmpssnooping monitors an igmp protocol packet, extracts corresponding information and forms a multicast membership table. Transparent to the router and the host.
A distinction between igmpproxy and igmpsnooping.
The igmpsnooping acquires the related information only by intercepting the message of the igmp, and the igmpproxy intercepts the igmp request of the interrupt user and performs related processing, and then forwards the igmpsnooping to the upper layer router. Therefore, the corresponding relation between the group member and the switch interface is formed in the igmpsnooping, and the multicast routing table is formed in the igmpproxy.
In many edge devices, for example olt, there are generally a switch chip on the upper port side and a pon chip on the lower port side at the same time, both ends will process multicast protocols at the same time, there are two sets of multicast protocol processes, resources of network devices are occupied, and the efficiency of multicast protocols is affected. Moreover, for the chip vendor providing the sdk solution, the customer feels the trouble of docking and maintaining two sets of functionally similar multicast protocol codes simultaneously.
Disclosure of Invention
The present invention is directed to provide a method for implementing a multicast protocol in a network device, so as to solve the problems set forth in the foregoing background art.
In order to realize the purpose, the invention integrates the multicast protocols of two chips into a CPU for processing; only one set of multicast protocols is operated in the cpu of the chip A; the ports of the uplink A1, the uplink A2 … … and the like are igmpproxying host interfaces, and the port of the downlink A4 is an igmpproxying routing interface; ports such as B1, B2, B3 and B4 are igmpspooping interfaces.
A realization method of multicast protocol includes the following steps:
s1, the pon chip transparently transmits the uplink igmp message, records a receiving port of the igmp in a lead code of the igmp message, transmits the igmp message to an upstream exchange chip, and the exchange chip extracts the igmp message to a cpu for processing; an igmp message transparent transmission configuration interface in the Pon chip is opened as an sdkapi interface;
s2, opening a multicast vlan table and a source ip address filtering table (through the table) in the pon chip through sdkapi;
s3, the whole pon chip also realizes the similar igmpspooping function of a variant; the cpu of the chip A receives an igmp message of an A4 port, processes the igmp message according to an igmpsnooping protocol, sets to join or leave a multicast group according to message contents (a multicast mac address, a receiving port, a multicast ip address, a source ip address, a vlan and the like), and is realized by configuring a multicast table of the chip B;
s4, only one igmpproxy downlink interface needs to be maintained in the network equipment, and all the pon ports can be sent to the bridge port of the same exchange chip through the uplink port of the pon chip; for a 16 port olt device, for example, the number of downstream interfaces, i.e., router interfaces, is reduced from 16 to 1.
S5, the configuration of the interface can adopt direct configuration, and can also adopt a method of message queue communication among multiple processes.
Compared with the prior art, the invention has the advantages that: in a specific network, in the same device, the number of IGMP proxying routing interfaces is reduced through the cooperation of IGMP proxying and IGMP snooping, the running number of multicast protocols is reduced, the consumption of resources is reduced, the burden of network equipment is reduced, and the efficiency of protocol processing is improved; in addition, for a chip manufacturer only providing the sdk scheme, the chip manufacturer can be well butted with an integrator, the realization freedom degree of a developer is improved, and meanwhile, the development efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of a multicast protocol interface.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
In the device of fig. 1 and olt, the switch chip and the pon chip are controlled by different cpus, and a set of multicast protocols run on each cpu. The external ports represented as uplink ports A1, A2 … … and the like are igmpproxying host interfaces, and the ports represented as downlink ports B1, B2 … … and the like are igmpproxying routing interfaces. For a larger number of pons, more igmpproxying routing ports are configured, and the device load is larger. And maintaining two sets of multicast protocols simultaneously can increase the difficulty of maintenance and waste of storage and cpu resources.
The invention concentrates the multicast protocols of two chips into one CPU for processing. Only one set of multicast protocols is run in the cpu of chip a. The ports of the uplink A1, the uplink A2 … … and the like are igmpproxying host interfaces, and the port of the downlink A4 is an igmpproxying routing interface. Ports such as B1, B2, B3 and B4 are igmpspooping interfaces.
The specific implementation process comprises the following steps:
1. the chip B transparently transmits the uplink igmp message, records receiving ports B1, B2 and B3 of the igmp in a lead code of the igmp message, transmits the igmp message to the upstream chip A, and extracts the igmp message to a cpu for processing; and an igmp message transparent transmission configuration interface in the chip B is opened as an sdkapi interface.
2. The multicast vlan table and the source ip address filter table in chip B are opened by sdkapi.
3. The whole chip B also realizes the igmpsnooping function of a variant similarly; the cpu of the chip A receives an igmp message from an A4 port, processes the igmp message according to an igmpsnooping protocol, sets to join or leave a multicast group according to the content of the message, and realizes the igmp message by configuring a multicast table of the chip B; the message content is multicast mac address, receiving port, multicast ip address, source ip address, vlan, etc.
4. In the network device, only one igmpproxy downlink interface a4 needs to be maintained, and all interfaces B1, B2 and B3 are sent to the bridge interface a4 of the same chip a through the uplink interface B4 of the chip B.
For a 16 port olt device, for example, the number of downstream interfaces, i.e., router interfaces, is reduced from 16 to 1.
5. The configuration of the interface can adopt direct configuration or adopt a method of message queue communication among multiple processes.
The invention reduces the number of the igmpproxying routing interfaces, reduces the running number of the multicast protocols, reduces the resource consumption and improves the protocol running efficiency by the cooperation of the igmpproxying and the igmpsnooping in the same device
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.

Claims (5)

1. A method for realizing multicast protocol in network equipment is characterized by comprising the following steps:
s1, the pon chip transparently transmits the uplink igmp message, records a receiving port of the igmp in a lead code of the igmp message, transmits the igmp message to an upstream exchange chip, and the exchange chip extracts the igmp message to a cpu for processing; an igmp message transparent transmission configuration interface in the Pon chip is opened as an sdk api interface;
s2, opening a multicast vlan table and a source ip address filtering table in the pon chip through sdk api;
s3, the whole pon chip also realizes the function of igmp snooping similarly; the cpu of the switching chip receives the igmp message of the igmp proxy downlink interface, processes the igmp message according to the igmp snooping protocol, sets the multicast group to join or leave according to the message content, and realizes the join or leave by configuring the multicast table of the pon chip.
2. The method according to claim 1, wherein the packet content is a multicast mac address, a receiving port, a multicast ip address, a source ip address, a vlan, and so on.
3. The method as claimed in claim 1, wherein only one of the igmpproxy downlink interfaces needs to be maintained in the network device.
4. The method of claim 1, wherein all the receiving ports of the pon chip are configured to send to the bridge port of the same switch chip through the uplink port of the pon chip.
5. The method of claim 1, wherein the interface configuration of the pon chip and the switch chip may be direct configuration or communication method of message queue among multiple processes.
CN202010531521.5A 2020-06-12 2020-06-12 Method for realizing multicast protocol in network equipment Pending CN111711570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010531521.5A CN111711570A (en) 2020-06-12 2020-06-12 Method for realizing multicast protocol in network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010531521.5A CN111711570A (en) 2020-06-12 2020-06-12 Method for realizing multicast protocol in network equipment

Publications (1)

Publication Number Publication Date
CN111711570A true CN111711570A (en) 2020-09-25

Family

ID=72540215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010531521.5A Pending CN111711570A (en) 2020-06-12 2020-06-12 Method for realizing multicast protocol in network equipment

Country Status (1)

Country Link
CN (1) CN111711570A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2938596Y (en) * 2006-07-28 2007-08-22 上海未来宽带技术及应用工程研究中心有限公司 Device for realizing IPV6 group broadcast filter in EPON network
US8254386B2 (en) * 2010-03-26 2012-08-28 Verizon Patent And Licensing, Inc. Internet protocol multicast on passive optical networks
CN104065494A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Rack-type OLT equipment and method for achieving multicast VLAN therefor
CN104883630A (en) * 2015-05-08 2015-09-02 烽火通信科技股份有限公司 Adaptive system and method of multicast cascade connection in PON system
CN107613032A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 The notifying method of information, the generation method of forwarding entry and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2938596Y (en) * 2006-07-28 2007-08-22 上海未来宽带技术及应用工程研究中心有限公司 Device for realizing IPV6 group broadcast filter in EPON network
US8254386B2 (en) * 2010-03-26 2012-08-28 Verizon Patent And Licensing, Inc. Internet protocol multicast on passive optical networks
CN104065494A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Rack-type OLT equipment and method for achieving multicast VLAN therefor
CN104883630A (en) * 2015-05-08 2015-09-02 烽火通信科技股份有限公司 Adaptive system and method of multicast cascade connection in PON system
CN107613032A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 The notifying method of information, the generation method of forwarding entry and device

Similar Documents

Publication Publication Date Title
US7724649B2 (en) Method and device for making uplink standby
EP1734688A1 (en) Method and apparatus for multicast management of user interface in a network access device
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN100407704C (en) Method of dynamically learning address on MAC layer
CN101360054A (en) Data transmission system and method
EP2883123B1 (en) Forwarding packet in stacking system
CN105656645A (en) Decision making method and device for fault processing of stacking system
CN102075343A (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
CN108768866A (en) Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
CN111049747B (en) Intelligent virtual network path planning method for large-scale container cluster
CN106302536B (en) The method and apparatus communicated between all-in-one machine multisystem based on interchanger
WO2011140838A1 (en) M2m platform communication system and method
CN100499583C (en) Method for realizing simplified IGMP multicast surrogate
CN106102124B (en) The method for improving the capacity of the extended MAC addresses forwarding table of working efficiency
CN111711570A (en) Method for realizing multicast protocol in network equipment
MXPA06001072A (en) Method of switching packets in a transmission medium comprising multiple stations which are connected using different links.
CN101621528A (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN105306360B (en) A kind of method and device for realizing the management of VRRP group
CN113162858A (en) Flow forwarding system, equipment and method and Internet of things system
US9054984B2 (en) Method, switching device and system for enabling multicast forwarding
CN112910959A (en) SDN-based network interconnection method for multiple Kubernets clusters
CN111970201A (en) Multi-chip cascade forwarding system and forwarding control method
CN103701622A (en) IRF (intelligent resilient framework)-system-based multicast processing method and device
CN109361781A (en) Message forwarding method, device, server, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200925

RJ01 Rejection of invention patent application after publication