CN107070797A - A kind of method and system of message forwarding - Google Patents
A kind of method and system of message forwarding Download PDFInfo
- Publication number
- CN107070797A CN107070797A CN201710147422.5A CN201710147422A CN107070797A CN 107070797 A CN107070797 A CN 107070797A CN 201710147422 A CN201710147422 A CN 201710147422A CN 107070797 A CN107070797 A CN 107070797A
- Authority
- CN
- China
- Prior art keywords
- arp
- target
- exchange chip
- message
- mark
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/742—Route cache; Operation thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/58—Caching of addresses or names
Abstract
The present invention provides a kind of method and system of message forwarding, and methods described is applied to interchanger, and methods described includes:Exchange chip receives message to be forwarded;After it is determined that the corresponding target ARP of message to be forwarded is not held in the ARP table, CPU obtains target ARP, is its associated priority mark, is issued to exchange chip ARP table;When ARP storage resources in exchange chip ARP table exhaust and target ARP is associated with high priority mark, the ARP that any association normal priority is identified in exchange chip ARP table is replaced with target ARP by CPU;Exchange chip forwards message to be forwarded according to target ARP.Using the embodiment of the present invention, by associating different priority tags for the ARP of exchange chip, the ARP of low priority is replaced with the ARP of high priority, realize preservation of the exchange chip to three layers of forwarding ARP when ARP storage resources exhaust, when avoiding forwarding three-tier message, network delay or interruption caused by CPU usage is too high.
Description
Technical field
The application is related to the method and system of communication technical field, more particularly to message forwarding.
Background technology
In network communications, ARP (Address Resolution Protocol, address resolution protocol) is according to IP
Location obtains an ICP/IP protocol of MAC (Media Access Control, media access control) address.Interchanger is being carried out
, it is necessary to which its CPU is first according to the next-hop ip address of routing table lookup message to be forwarded, outgoing interface information, then root when message is forwarded
Obtain its corresponding MAC Address to complete the forwarding of message according to next-hop ip address and ARP information.
In the prior art, switch CPU would generally be preserved according to acquired in next-hop ip address when E-Packeting
MAC Address, ARP table is generated according to the corresponding relation and outgoing interface information of IP address and MAC Address, and after generation ARP table,
A ARP table is issued to the exchange chip of interchanger, so that follow-up message to be forwarded directly can obtain MAC by exchange chip
Address with complete forwarding.But the resource of exchange chip storage ARP table is extremely limited, when the ARP in exchange chip ARP table stores money
When source has exhausted, the ARP that switch CPU is subsequently generated will be unable to be handed down to exchange chip.In network communications, due to three
Layer forwarding mechanism provides service for the message forwarding between different segment, and the ARP frequency of use associated by it is high, if exchanging
Three layers of forwarding ARP that machine CPU is subsequently generated can not be handed down to exchange chip, and a large amount of messages will be caused to reach exchange chip
When, exchange chip directly can not search MAC Address for it, and deliver to switch CPU on needing, and be forwarded by switch CPU,
The utilization rate for ultimately resulting in switch CPU is too high, causes network delay or interruption.
The content of the invention
The embodiment of the present invention provides the method and system of message forwarding, for solving in existing message retransmission technique,
Three layers of forwarding ARP be when can not be handed down to exchange chip, the problem of caused network delay or interruption.
First aspect according to embodiments of the present invention is there is provided a kind of method that message is forwarded, and methods described is applied to exchange
Machine, the interchanger includes CPU and exchange chip, and the exchange chip preserves ARP table, the ARP
Each ARP in table is associated with priority tag, and the priority tag includes high priority and identified and normal priority
Mark, methods described includes:
Exchange chip receives message to be forwarded;
After it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table, the CPU is obtained
Target ARP, the target ARP is issued to the ARP table of exchange chip, and excellent for target ARP association
First level mark;
It is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP is associated with
After high priority mark, CPU replaces any ARP for being associated with normal priority mark in the exchange chip ARP table
For the target ARP;
According to the target ARP, exchange chip forwards the message to be forwarded.
Second aspect according to embodiments of the present invention is there is provided the system that a kind of message is forwarded, and the system is applied to exchange
Machine, the interchanger includes CPU and exchange chip, and the exchange chip preserves ARP table, the ARP
Each ARP in table is associated with priority tag, and the priority tag includes high priority and identified and normal priority
Mark, the system includes:
Exchange chip, for receiving message to be forwarded;
It is additionally operable to, according to the target ARP, forwards the message to be forwarded;
CPU, for after it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table, obtaining
Target ARP, and the target ARP is issued to the ARP table of exchange chip, and closed for the target ARP
Join priority tag;
It is additionally operable to, it is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP
It is associated with after high priority mark, CPU is associated with the ARP table that normal priority is identified by any in the exchange chip ARP table
, replace with the target ARP.
From above technical scheme, the embodiment of the present invention associates different priority marks for the ARP of exchange chip
Know, when the ARP storage resources in exchange chip ARP table have exhausted, pass is replaced with the ARP for being associated with high priority mark
The mode of the ARP of low priority is associated with, the reallocation to the ARP resources of exchange chip is realized.Using present invention implementation
Example, is identified by associating high priority for three layers of forwarding ARP, realizes the ARP storage resources in exchange chip ARP table
When having exhausted, reception and preservation of the exchange chip ARP table to three layers of forwarding ARP, it is to avoid when forwarding three-tier message, hand over
Change planes CPU utilization rate it is too high caused by network delay or interruption.
Brief description of the drawings
Fig. 1 is an application scenarios schematic diagram of the method that message of the embodiment of the present invention is forwarded;
Fig. 2 is one embodiment flow chart for the method that message of the present invention is forwarded;
Fig. 3 is another embodiment flow chart for the method that message of the present invention is forwarded;
Fig. 4 is a configuration diagram of the system that message of the present invention is forwarded.
Embodiment
In order that those skilled in the art are better understood from the technical scheme in the embodiment of the present invention, and make of the invention real
Applying the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to the technology in the embodiment of the present invention
Scheme is described in further detail.
Fig. 1 is an application scenarios schematic diagram of the method that message of the embodiment of the present invention is forwarded.
As shown in figure 1, the interchanger shown in the application scenarios includes:The CPU and exchange chip of interchanger, interchanger
When carrying out message forwarding, it is necessary to which shown CPU is first according to the next-hop ip address of routing table lookup message to be forwarded, outgoing interface letter
Breath, obtains its corresponding MAC Address to complete the forwarding of message further according to next-hop ip address and ARP information.
In the prior art, shown switch CPU can generate ARP table when E-Packeting, and the wherein list item of ARP table includes IP
Address information, outgoing interface information, mac address information.Then the ARP table is issued to the exchange chip of interchanger, so as to subsequently treat
E-Packet directly to obtain MAC Address to complete forwarding by exchange chip.But exchange chip stores the resource ten of ARP table
Divide limited, when the ARP storage resources in exchange chip ARP table have exhausted, three layers of forwarding ARP that switch CPU is subsequently generated
List item can not be handed down to exchange chip, and when this will cause a large amount of messages arrival exchange chips, exchange chip can not be looked into directly for it
MAC Address is looked for, and switch CPU is delivered on needing, is forwarded by switch CPU, the utilization rate for ultimately resulting in CPU is too high,
Cause network delay or interruption.
Fig. 2 is one embodiment flow chart for the method that message of the present invention is forwarded, and methods described is applied to interchanger, described
Interchanger includes CPU and exchange chip, and the exchange chip is preserved every in ARP table, the ARP table
Individual ARP is associated with priority tag, and the priority tag includes high priority mark and normal priority mark, described
Method comprises the following steps:
Step 201:Exchange chip receives message to be forwarded.
Step 202:It is described after it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table
CPU obtains target ARP, the target ARP is issued to the ARP table of exchange chip, and be the target ARP
Associated priority is identified.
It is that the strategy of above-mentioned target ARP associated priority mark can be according to associated by target ARP in this step
Type of service, service traffics size, service impact scope determine, specifically include:
If above-mentioned target ARP is the Static ARP list item of user's manual creation, closed for the target ARP
Join high priority mark;
If above-mentioned target ARP is three layers of forwarding ARP, wherein, then associate Gao You for above-mentioned target ARP
First level mark, above-mentioned three layers of forwarding ARP is the ARP required for three layers of forwarding;
If above-mentioned target ARP is the ARP learnt by gratuitous ARP, closed for above-mentioned target ARP
Join normal priority mark;
If above-mentioned target ARP is the ARP learnt by the ARP request and response of ARP protocol, to be upper
State target ARP association normal priority mark.
In an optional example, if the corresponding target ARP of above-mentioned message to be forwarded is stored in above-mentioned ARP table
In, then exchange chip forwards above-mentioned message to be forwarded according to above-mentioned target ARP.
In another optional example, target ARP sets ageing time, when ageing time is reached, and is exchanging
The target ARP is deleted on chip, to discharge the memory space of ARP table.
Step 203:It is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP table
Item is associated with after high priority mark, and CPU is associated with the ARP that normal priority is identified by any in the exchange chip ARP table
List item, replaces with the target ARP.
In an optional example, the replacement process of the exchange chip ARP can be:
In above-mentioned ARP table, any ARP for being associated with normal priority mark is searched;
Delete it is any of the above-described be associated with normal priority mark ARP after, preserve target in above-mentioned ARP table
ARP.
In another optional example, if the ARP storage resources in above-mentioned exchange chip ARP table have exhausted, and on
State target ARP and be associated with normal priority mark, then exchange chip abandons the target ARP;
CPU forwards above-mentioned message to be forwarded according to above-mentioned target ARP.
Step 204:According to the target ARP, exchange chip forwards the message to be forwarded.
From above technical scheme, the embodiment of the present invention associates different priority marks for the ARP of exchange chip
Know, when the ARP storage resources in exchange chip ARP table have exhausted, pass is replaced with the ARP for being associated with high priority mark
The mode of the ARP of low priority is associated with, the reallocation to the ARP resources of exchange chip is realized.Using present invention implementation
Example, is identified by associating high priority for three layers of forwarding ARP, realizes the ARP storage resources in exchange chip ARP table
When having exhausted, reception and preservation of the exchange chip ARP table to three layers of forwarding ARP, it is to avoid when forwarding three-tier message, hand over
Change planes CPU utilization rate it is too high caused by network delay or interruption.
Fig. 3 is another embodiment flow chart for the method that message of the present invention is forwarded, and methods described is applied to interchanger, institute
State interchanger and include CPU and exchange chip, the exchange chip is preserved in ARP table, the ARP table
Each ARP is associated with priority tag, and the priority tag includes high priority mark and normal priority mark, institute
State method the process of setting up of ARP in message forwarding and exchange chip is described in detail, comprise the following steps:
Step 301:Exchange chip receives message to be forwarded.
Step 302:Judge whether the corresponding target ARP of above-mentioned message to be forwarded is stored in above-mentioned ARP table, if
It is then to perform step 307, if it is not, then performing step 303.
In this step, the next-hop ip address of routing table lookup message to be forwarded can be first passed through, then according to be forwarded
The next-hop ip address of message searches the corresponding target ARP of message to be forwarded in above-mentioned ARP table.
Step 303:Above-mentioned target ARP is issued to the ARP of exchange chip by CPU after target ARP is obtained
Table, and be above-mentioned target ARP associated priority mark.
In an optional example, ageing time can be set for target ARP, when ageing time is reached,
The target ARP is deleted on exchange chip, to discharge the memory space of ARP table.
It is that the strategy of above-mentioned target ARP associated priority mark can be according to associated by target ARP in this step
Type of service, service traffics size, service impact scope determine, specifically include:
If above-mentioned target ARP is the Static ARP list item of user's manual creation, closed for the target ARP
Join high priority mark;
If above-mentioned target ARP is three layers of forwarding ARP, wherein, then associate Gao You for above-mentioned target ARP
First level mark, above-mentioned three layers of forwarding ARP is the ARP required for three layers of forwarding;
If above-mentioned target ARP is the ARP learnt by gratuitous ARP, closed for above-mentioned target ARP
Join normal priority mark;
If above-mentioned target ARP is the ARP learnt by the ARP request and response of ARP protocol, to be upper
State target ARP association normal priority mark.
Step 304:After the ARP storage resources of exchange chip ARP table exhaust, judge whether target ARP is associated with
High priority is identified, if it is, step 305 is performed, if it is not, then performing step 308.
Step 305:CPU searches any ARP for being associated with normal priority mark in above-mentioned ARP table.
In an optional example, the chip ARP index informations that CPU can be recorded by it search any of the above-described association
There is the ARP that normal priority is identified.
In another optional example, the situation of multiple ARPs for being associated with normal priority mark is being found
Under, can with the minimum ARP of prioritizing selection reference count, wherein, reference count can be stored in advance in the ARP,
Number of times ought be quoted immediately for identify the ARP.
Step 306:CPU delete this it is any be associated with normal priority mark ARP after, in ARP table preserve
Above-mentioned target ARP.
In an optional example, CPU can remove this in chip ARP index informations of its record and any be associated with
The ARP index informations of the ARP of normal priority mark;CPU can preserve institute in the chip ARP index informations of its record
State the ARP index informations of target ARP.Meanwhile, CPU can be by above-mentioned deletion and preservation process record in system journal.
Step 307:Exchange chip forwards above-mentioned message to be forwarded according to above-mentioned target ARP.
Step 308:Exchange chip abandons above-mentioned target ARP.
Step 309:CPU forwards above-mentioned message to be forwarded according to above-mentioned target ARP.
From above technical scheme, the embodiment of the present invention associates different priority marks for the ARP of exchange chip
Know, when the ARP storage resources in exchange chip ARP table have exhausted, pass is replaced with the ARP for being associated with high priority mark
The mode of the ARP of low priority is associated with, the reallocation to the ARP resources of exchange chip is realized.Using present invention implementation
Example, on the one hand, identified by associating high priority for three layers of forwarding ARP, realize the ARP in exchange chip ARP table
When storage resource has exhausted, reception and preservation of the exchange chip ARP table to three layers of forwarding ARP, it is to avoid in forwarding three layers
During message, network delay or interruption caused by the utilization rate of switch CPU is too high.Another further aspect, by for family manual creation
Static ARP list item, or be associated with important service ARP association high priority mark, realize in exchange chip ARP table
In ARP storage resources when having exhausted, exchange chip ARP table is to the Static ARP list item of family manual creation and is associated with important
The reception and preservation of the ARP of business, improve Consumer's Experience, have ensured the efficient forwarding of the message of important service.
The embodiment of the present invention is illustrated below by a specific application example, application example combination Fig. 1 shows
The application scenarios gone out are described, where it is assumed that interchanger shown in needing now forwards a three-tier message:Message _ 1, the report
The next-hop ip address of text is 192.168.1.1, and shown exchange chip is preserved in ARP table, the ARP table
Each ARP be associated with priority tag, the priority tag includes high priority mark and normal priority mark,
ARP storage resources wherein in the ARP table have exhausted.Using the embodiment of the present invention, repeating process is as follows:
Exchange chip receives message _ 1, and its next-hop ip address is obtained for 192.168.1.1 by table of query and routing;
By searching above-mentioned IP address 192.168.1.1 in the ARP table of exchange chip, above-mentioned message pair to be forwarded is found
The target ARP answered is not stored in above-mentioned ARP table;
CPU is above-mentioned target ARP association high priority mark after target ARP is obtained;
CPU has found that the ARP storage resources in the ARP table have exhausted to after exchange chip application ARP storage resources;
CPU searches the ARP for being associated with normal priority mark in above-mentioned ARP table, deletes wherein reference count most
Small ARP;
CPU preserves above-mentioned target ARP in above-mentioned ARP table;
Exchange chip forwards above-mentioned message to be forwarded according to the target ARP preserved in its ARP table.
Since then, forwarding step terminates.
Embodiment with the method that foregoing message is forwarded is corresponding, and present invention also provides the implementation of the system of message forwarding
Example.
Fig. 4 is refer to, is a configuration diagram of the system of message forwarding of the present invention, the system is applied to exchange
Machine, the interchanger includes CPU and exchange chip, and the exchange chip preserves ARP table, the ARP
Each ARP in table is associated with priority tag, and the priority tag includes high priority and identified and normal priority
Mark, the system includes:Exchange chip 410, CPU 420.
Wherein, exchange chip 410, for receiving message to be forwarded;
It is additionally operable to, according to the target ARP, forwards the message to be forwarded;
CPU 420, for after it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table,
Target ARP is obtained, and the target ARP is issued to the ARP table of exchange chip, and is the target ARP table
Item associated priority mark;
It is additionally operable to, it is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP
It is associated with after high priority mark, CPU is associated with the ARP table that normal priority is identified by any in the exchange chip ARP table
, replace with the target ARP.
From above technical scheme, the embodiment of the present invention associates different priority marks for the ARP of exchange chip
Know, when the ARP storage resources in exchange chip ARP table have exhausted, pass is replaced with the ARP for being associated with high priority mark
The mode of the ARP of low priority is associated with, the reallocation to the ARP resources of exchange chip is realized.Using present invention implementation
Example, is identified by associating high priority for three layers of forwarding ARP, realizes the ARP storage resources in exchange chip ARP table
When having exhausted, reception and preservation of the exchange chip ARP table to three layers of forwarding ARP, it is to avoid when forwarding three-tier message, hand over
Change planes CPU utilization rate it is too high caused by network delay or interruption.
In an optional example, the associating policy of the priority tag, including:
If the target ARP is the Static ARP list item of user's manual creation, closed for the target ARP
Join high priority mark;
If the target ARP is three layers of forwarding ARP, wherein, then associate Gao You for the target ARP
First level mark, three layers of forwarding ARP is the ARP required for three layers of forwarding;
If the target ARP is the ARP learnt by gratuitous ARP, closed for the target ARP
Join normal priority mark;
If the target ARP is the ARP learnt by the ARP request and response of ARP protocol, for institute
State target ARP association normal priority mark.
In another optional example, the CPU 420 is additionally operable to:
In the ARP table, any ARP for being associated with normal priority mark is searched;
Delete it is described it is any be associated with normal priority mark ARP after, the mesh is preserved in the ARP table
Mark ARP.
In another optional example, the exchange chip 410 is additionally operable to:
When the corresponding target ARP of the message to be forwarded is stored in the ARP table, according to the target ARP
List item, forwards the message to be forwarded.
In another optional example, the exchange chip 410 is additionally operable to:
When the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP is associated with commonly
During priority tag, the target ARP is abandoned;
The CPU, is additionally operable to, according to the target ARP, forward the message to be forwarded.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said system
Implementation process, will not be repeated here.
For system embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.System embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. a kind of method of message forwarding, it is characterised in that methods described is applied to interchanger, and the interchanger includes CPU
And exchange chip, each ARP that the exchange chip is preserved in ARP table, the ARP table is associated with
Priority tag, the priority tag includes high priority mark and normal priority mark, and methods described includes:
Exchange chip receives message to be forwarded;
After it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table, the CPU obtains target
ARP, the target ARP is issued to the ARP table of exchange chip, and be the target ARP associated priority
Mark;
It is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP is associated with Gao You
After first level mark, any ARP for being associated with normal priority mark in the exchange chip ARP table is replaced with institute by CPU
State target ARP;
According to the target ARP, exchange chip forwards the message to be forwarded.
2. according to the method described in claim 1, it is characterised in that described to be identified for the target ARP associated priority,
Including:
If the target ARP is the Static ARP list item of user's manual creation, associated for the target ARP high
Priority tag;
If the target ARP is three layers of forwarding ARP, wherein, then associate high priority for the target ARP
Mark, three layers of forwarding ARP is the ARP required for three layers of forwarding;
If the target ARP is the ARP learnt by gratuitous ARP, associated for the target ARP general
Logical priority tag;
If the target ARP is the ARP learnt by the ARP request and response of ARP protocol, for the mesh
Mark ARP association normal priority mark.
3. according to the method described in claim 1, it is characterised in that described to be associated with any in the exchange chip ARP table
The ARP of normal priority mark, replaces with the target ARP, including:
In the ARP table, any ARP for being associated with normal priority mark is searched;
Delete it is described it is any be associated with normal priority mark ARP after, the target is preserved in the ARP table
ARP.
4. according to the method described in claim 1, it is characterised in that also include:
If the corresponding target ARP of the message to be forwarded is stored in the ARP table, exchange chip is according to the mesh
ARP is marked, the message to be forwarded is forwarded.
5. according to the method described in claim 1, it is characterised in that also include:
If the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP be associated with it is common excellent
First level is identified, then exchange chip abandons the target ARP;
CPU forwards the message to be forwarded according to the target ARP.
6. a kind of system of message forwarding, it is characterised in that the system is applied to interchanger, and the interchanger includes CPU
And exchange chip, each ARP that the exchange chip is preserved in ARP table, the ARP table is associated with
Priority tag, the priority tag includes high priority mark and normal priority mark, and the system includes:
Exchange chip, for receiving message to be forwarded;
It is additionally operable to, according to the target ARP, forwards the message to be forwarded;
CPU, for after it is determined that the corresponding target ARP of the message to be forwarded is not held in the ARP table, obtaining target
ARP, and the target ARP is issued to the ARP table of exchange chip, and associate for the target ARP excellent
First level mark;
It is additionally operable to, it is determined that the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP is associated
Have after high priority mark, CPU replaces any ARP for being associated with normal priority mark in the exchange chip ARP table
It is changed to the target ARP.
7. system according to claim 6, it is characterised in that the associating policy of the priority tag, including:
If the target ARP is the Static ARP list item of user's manual creation, associated for the target ARP high
Priority tag;
If the target ARP is three layers of forwarding ARP, wherein, then associate high priority for the target ARP
Mark, three layers of forwarding ARP is the ARP required for three layers of forwarding;
If the target ARP is the ARP learnt by gratuitous ARP, associated for the target ARP general
Logical priority tag;
If the target ARP is the ARP learnt by the ARP request and response of ARP protocol, for the mesh
Mark ARP association normal priority mark.
8. system according to claim 6, it is characterised in that the CPU, is additionally operable to:
In the ARP table, any ARP for being associated with normal priority mark is searched;
Delete it is described it is any be associated with normal priority mark ARP after, the target is preserved in the ARP table
ARP.
9. system according to claim 6, it is characterised in that the exchange chip, is additionally operable to:
When the corresponding target ARP of the message to be forwarded is stored in the ARP table, according to the target ARP,
Forward the message to be forwarded.
10. system according to claim 6, it is characterised in that the exchange chip, is additionally operable to:
When the ARP storage resources in the exchange chip ARP table have exhausted, and the target ARP is associated with normal precedence
During level mark, the target ARP is abandoned;
The CPU, is additionally operable to, according to the target ARP, forward the message to be forwarded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147422.5A CN107070797B (en) | 2017-03-13 | 2017-03-13 | Method and system for forwarding message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147422.5A CN107070797B (en) | 2017-03-13 | 2017-03-13 | Method and system for forwarding message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070797A true CN107070797A (en) | 2017-08-18 |
CN107070797B CN107070797B (en) | 2020-03-06 |
Family
ID=59622589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710147422.5A Active CN107070797B (en) | 2017-03-13 | 2017-03-13 | Method and system for forwarding message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070797B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300068A (en) * | 2019-06-14 | 2019-10-01 | 杭州迪普科技股份有限公司 | ARP method for managing resource, device, electronic equipment |
CN111030943A (en) * | 2019-12-13 | 2020-04-17 | 迈普通信技术股份有限公司 | Message processing method and device, forwarding equipment and storage medium |
CN112887209A (en) * | 2019-11-30 | 2021-06-01 | 华为技术有限公司 | Method for establishing table item related to data transmission and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686200A (en) * | 2009-08-21 | 2010-03-31 | 杭州华三通信技术有限公司 | Method and equipment for route forwarding |
WO2011020254A1 (en) * | 2009-08-21 | 2011-02-24 | 华为技术有限公司 | Method and device for preventing network attacks |
CN105490961A (en) * | 2014-09-19 | 2016-04-13 | 杭州迪普科技有限公司 | Message processing method, and device and network device |
CN106130985A (en) * | 2016-06-24 | 2016-11-16 | 杭州华三通信技术有限公司 | A kind of message processing method and device |
CN106470158A (en) * | 2016-09-13 | 2017-03-01 | 杭州迪普科技股份有限公司 | Message forwarding method and device |
-
2017
- 2017-03-13 CN CN201710147422.5A patent/CN107070797B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686200A (en) * | 2009-08-21 | 2010-03-31 | 杭州华三通信技术有限公司 | Method and equipment for route forwarding |
WO2011020254A1 (en) * | 2009-08-21 | 2011-02-24 | 华为技术有限公司 | Method and device for preventing network attacks |
CN105490961A (en) * | 2014-09-19 | 2016-04-13 | 杭州迪普科技有限公司 | Message processing method, and device and network device |
CN106130985A (en) * | 2016-06-24 | 2016-11-16 | 杭州华三通信技术有限公司 | A kind of message processing method and device |
CN106470158A (en) * | 2016-09-13 | 2017-03-01 | 杭州迪普科技股份有限公司 | Message forwarding method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300068A (en) * | 2019-06-14 | 2019-10-01 | 杭州迪普科技股份有限公司 | ARP method for managing resource, device, electronic equipment |
CN112887209A (en) * | 2019-11-30 | 2021-06-01 | 华为技术有限公司 | Method for establishing table item related to data transmission and related equipment |
US11929913B2 (en) | 2019-11-30 | 2024-03-12 | Huawei Technologies Co., Ltd. | Method for creating data transmission entry and related device |
CN111030943A (en) * | 2019-12-13 | 2020-04-17 | 迈普通信技术股份有限公司 | Message processing method and device, forwarding equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107070797B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10581700B2 (en) | Service flow processing method, apparatus, and device | |
CN108667695B (en) | Backup method and device for BRAS transfer control separation | |
CN100596107C (en) | Packet forwarding method and border router of autonomous system | |
EP1836808B1 (en) | Fibre channel forwarding information base | |
CN107786450B (en) | Data message transmission method and device and machine-readable storage medium | |
CN100442766C (en) | Method for realizing retransmission business of data communication equipment | |
WO2020073685A1 (en) | Forwarding path determining method, apparatus and system, computer device, and storage medium | |
EP3661135A1 (en) | Data stream transmission | |
CN102792651B (en) | At the device of MAC layer application service path Route Selection | |
CN107547346B (en) | Message transmission method and device | |
CN104486244B (en) | A kind of execution method and device of QoS policy | |
CN107070797A (en) | A kind of method and system of message forwarding | |
US11895025B2 (en) | Method and system for propagating network traffic flows between end points based on service and priority policies | |
CN107070790A (en) | A kind of route learning method and routing device | |
CN102739526A (en) | Realization method of efficient distributed routing list realizing method | |
CN106254265A (en) | Process the methods, devices and systems of message | |
CN105264841B (en) | Message forwarding system, apparatus and method | |
CN107547400B (en) | Virtual machine migration method and device | |
CN107147581A (en) | The maintaining method and device of route table items | |
CN101132374A (en) | Method and device for transmitting message | |
CN106789671B (en) | Service message forwarding method and device | |
CN105743784A (en) | Switching control method and device in deploying high capacity business | |
CN104780110A (en) | Message transmission method in virtual machine migration, and device | |
CN106209634B (en) | Learning method and device of address mapping relation | |
CN109768909B (en) | Message forwarding method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |