CN109005110A - Generate the method and device of polyaluminium chloride PAC - Google Patents
Generate the method and device of polyaluminium chloride PAC Download PDFInfo
- Publication number
- CN109005110A CN109005110A CN201810994032.6A CN201810994032A CN109005110A CN 109005110 A CN109005110 A CN 109005110A CN 201810994032 A CN201810994032 A CN 201810994032A CN 109005110 A CN109005110 A CN 109005110A
- Authority
- CN
- China
- Prior art keywords
- routing
- hardware
- forwarding table
- publication
- protocol
- 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/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- 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/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This disclosure relates to which a kind of method and device for generating polyaluminium chloride PAC, the first publication routing of the specified Routing Protocol of BGP is introduced into including determining;When the forwarding table of all first publication routings brushes hardware down, the routing of hardware is brushed under, generates and issues polyaluminium chloride PAC.By when brush hardware is completed under the forwarding table of the routing for the Routing Protocol being introduced into, triggering BGP generates polyaluminium chloride PAC and issues outward, can be reduced after polyaluminium chloride PAC sending according to the method and device of the generations polyaluminium chloride PAC of the embodiment of the present disclosure because route forwarding table does not play traffic loss caused by brush hardware.
Description
Technical field
This disclosure relates to field of communication technology more particularly to a kind of method and device for generating polyaluminium chloride PAC.
Background technique
Routing Protocol can only introduce the road of the condition of satisfaction in the routing that other Routing Protocols are found by routing policy
By information, and certain attributes of introduced Routing Protocol are controlled, to meet the requirement of this agreement.
BGP is that one kind both can be used between different AS (Autonomous System, autonomous system), and can be used for
Dynamic routing protocol inside same AS.When BGP is run on inside same AS, referred to as IBGP;When BGP runs on different AS
Between when, referred to as EBGP.
After configuring auto-polymerization function, RIP (Routing that BGP can will be introduced by import-route order
Information Protocol, routing information protocol), ISIS (Intermediate System to Intermediate
System, Intermediate System-to-Intermediate System) and the IGP such as OSPF (Open Shortest Path, ospf)
The routing of (Interior Gateway Protocol, Interior Gateway Protocol) subnet is polymerize, no longer the routing of publication subnet, and
It is publication polyaluminium chloride PAC.After configuring manual polymerizable functional, BGP pages can be carried out the subnet routing introduced from IGP Routing Protocol
Polymerization.
In medium-sized or large-scale BGP (Border Gateway Protocol, Border Gateway Protocol) network, BGP to
When peer-to-peer issues routing iinformation, route aggregation is configured, it is possible to reduce the routing quantity of publication, and reduce the scale of routing table.
Summary of the invention
In view of this, traffic loss can be reduced the present disclosure proposes a kind of method and device for generating polyaluminium chloride PAC.
According to the one side of the disclosure, a kind of method for generating polyaluminium chloride PAC is provided, which comprises
Determine the first publication routing for being introduced into the specified Routing Protocol of Border Gateway Protocol (BGP);In all first publications
When the forwarding table of routing brushes hardware down, the routing of hardware is brushed under, is generated and is issued polyaluminium chloride PAC.
According to another aspect of the present disclosure, a kind of device for generating polyaluminium chloride PAC is provided, described device includes: first true
Cover half block, for determining the first publication routing for being introduced into the specified Routing Protocol of Border Gateway Protocol (BGP);Release module is used
In when the forwarding table of all first publication routings brushes hardware down, the routing of hardware is brushed under, generates and issues
Polyaluminium chloride PAC.
In the embodiments of the present disclosure, when brush hardware is completed under the forwarding table of the routing for the Routing Protocol being introduced into, triggering
BGP generate polyaluminium chloride PAC issue outward, can more be accurately controlled in this way BGP introduce routing and generate polyaluminium chloride PAC when
Between, to reduce after polyaluminium chloride PAC issues because route forwarding table does not play traffic loss caused by brush hardware.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 2 shows the route aggregation networking schematic diagrams according to the embodiment of the present disclosure.
Fig. 3 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 4 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 5 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 6 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 7 shows the block diagram of the device of the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 8 shows the block diagram of the device of the generation polyaluminium chloride PAC according to one embodiment of the disclosure.
Fig. 9 is shown according to an exemplary embodiment a kind of for generating the block diagram of the device of polyaluminium chloride PAC.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure.
It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.Fig. 2 shows according to this public affairs
Open the route aggregation networking schematic diagram of embodiment.As shown in Fig. 2, RTA, RTB and RTC are routing device.It is built between RTA and RTB
Vertical OSFP (OSPF is only an example, can also be other IGP) neighbours, RTB learn to OSPF to route by ospf protocol, example
Such as 2.2.2.0/24 routing.Bgp neighbor is established between RTB and RTC, and BGP is configured on RTB, RTB introduces OSPF in BGP,
It generates and issues polyaluminium chloride PAC 2.2.0.0/16 to RTC, RTC is received and can be instructed flow after the hair forwarding table on lower brush polymerization road
Forwarding.
Assuming that there are 20000 OSPF to route on RTB, after RTB is restarted, forwarding table that RTB respectively routes each OSPF
Under brush hardware (such as successively by the forwarding table of 2.2.2.0/24 routing, 2.2.2.0/24 routing and the routings such as 2.2.2.0/24
Under brush hardware).
In the related technology, the BGP on RTB just generates polyaluminium chloride PAC when introducing first OSPF routing, and is sent to
RTC makes corresponding discharge on RTC switch to RTB.Since the speed of brush to hardware under the forwarding table of OSPF routing on RTB is slower, this
When 20000 OSPF routing forwarding table brush successfully there is no completely lower, corresponding discharge on RTC is switched to RTC at this time may
Lead to traffic loss.
The method shown in FIG. 1 for generating polyaluminium chloride PAC can be applied to the routing device for being configured with BGP, such as shown in Fig. 2
RTB.As shown in Figure 1, the method for the generation polyaluminium chloride PAC can include:
Step S11 determines the first publication routing for being introduced into the specified Routing Protocol of BGP.
Step S12 brushes the road of hardware when the forwarding table of all first publication routings brushes hardware down under
By generating and issuing polyaluminium chloride PAC.
Specified Routing Protocol can indicate that the Routing Protocol for being introduced into BGP, specified Routing Protocol can introduce for BGP
Any one Routing Protocol, such as OSPF, ISIS or RIP etc., with no restrictions to this disclosure.The road of specified Routing Protocol
By specified circuit can be indicated by the routing of protocol discovery.The routing of specified Routing Protocol can be divided into first publication routing and routine
Publication routing.
Wherein, the routing issued for the first time in routing of the first publication routing for specified Routing Protocol, i.e. routing device are for the first time
The routing learnt, the forwarding table of the routing not yet brush down the hardware (such as: forwarding chip, conversion board etc.) of routing device.
The routing that routine publication routing had learnt for routing device in the routing of specified Routing Protocol, the forwarding table of the routing is
Under brush the hardware of routing device.
In one possible implementation, routing device can will be introduced into the routing of specified Routing Protocol of BGP,
The routing that forwarding table does not brush down hardware is determined as issuing routing for the first time.
In one possible implementation, routing device can be brushed under the forwarding table for determining routing to hardware,
Locally record the routing.It, can be according to local existing record, really when routing device gets each routing of specified Routing Protocol
Fixed each routing is first publication routing or customary routing, wherein there is no the routing of respective record is being locally first publication
Routing, it is local there are the routing of respective record for walking along the street by.
When the forwarding table of all first publication routings brushes hardware down, routing device can be based on down brushing hardware
Routing, generate and issue polyaluminium chloride PAC.For the routing for brushing hardware below is 2.2.2.1/32 to 2.2.2.100/32, road
Polyaluminium chloride PAC 2.2.2.0/24 can be generated by equipment.
Due to routine routing forwarding table brushed hardware down, it is all it is first publication routing forwarding tables under
When brushing hardware, show to have brushed hardware under the forwarding table whole of specified all routings of Routing Protocol.In this case, routing is set
It is standby to generate based on the routing being introduced into and issue polyaluminium chloride PAC.Peer-to-peer receives the polyaluminium chloride PAC, and according to the polymerization road
By generation forwarding table, when flow is switched to routing device according to the forwarding table by peer-to-peer, due to having been completed on routing device
It is brushed under the hardware of corresponding forwarding table, therefore routing device can forward corresponding flow according to forwarding table, reduce traffic loss.
In one example, as shown in Fig. 2, being configured with OSPF (specified Routing Protocol) on RTB introduces BGP, wherein
2.2.2.0/24 have in the routing of equal OSPF 4000 be first publication routing, 1000 be customary routing, wherein first publication
The forwarding table of routing not yet brushes down hardware, and the forwarding table of routine routing brushes hardware down.On this 4000 first publication roads
By forwarding table brush hardware down when, RTB can based on the routing for the OSPF being introduced into generate polyaluminium chloride PAC 2.2.0.0/
16, polyaluminium chloride PAC is issued to RTC.According to the forwarding table of polyaluminium chloride PAC 2.2.0.0/16, destination address can be by RTC
2.2.2.0/24 the flow waited switches to RTB.It brushes since on RTB, the forwarding table of the routings such as 2.2.2.0/24 has been descended to hardware,
Therefore it is the flow of 2.2.2.0/24 etc. that RTB, which can normally forward destination address, to reduce traffic loss.
In the embodiments of the present disclosure, it when brush hardware is completed under the forwarding table of the routing for the Routing Protocol being introduced into, generates
Polyaluminium chloride PAC is issued outward, can be more accurately controlled BGP in this way and be introduced routing and generate the time of polyaluminium chloride PAC, to subtract
Few polyaluminium chloride PAC issue after because route forwarding table does not play traffic loss caused by brush hardware.
In addition, in the related technology, such as Fig. 2, so, the BGP on RTB can also be after the routing for introducing first OSPF etc.
After duration to be specified, polyaluminium chloride PAC is regenerated, and be sent to RTC, corresponding discharge on RTC is made to switch to RTB.Wherein, when specifying
Length is artificially arranged, and specifies duration not accurate enough, still there are problems that traffic loss when specifying duration shorter, specifies duration
It may cause the polyaluminium chloride PAC of production the problem of not issuing for a long time when longer.According to the generation polyaluminium chloride PAC of the embodiment of the present disclosure
Method, can more be accurately controlled BGP generate and publication polyaluminium chloride PAC time, will not both occur because specify duration it is shorter
Caused by and the problem of traffic loss, and it will not occur because polyaluminium chloride PAC is not issued for a long time caused by specifying duration longer
Problem.
Fig. 3 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in figure 3, step
S11: when the forwarding table of all first publication routings brushes hardware down, the routing of hardware is brushed under, is generated concurrent
Cloth polyaluminium chloride PAC can include:
Step S111, for the specified Routing Protocol each routing: determine the routing forwarding table whether under
Hardware is brushed, if the forwarding table of the routing does not brush hardware down, adds first distribution indicator for the routing.
Step S112 will carry the road of the first distribution indicator for all routings of the specified Routing Protocol
By being determined as issuing routing for the first time.
Routing device can determine whether each routing of specified Routing Protocol has brushed hardware down, so that it is determined that respectively to
Introducing routing is first publication routing or customary routing.
If the routing of specified Routing Protocol brushes hardware down, show that the routing is first publication routing, routing device can
Think that first distribution indicator is added in the routing.In this way, whether routing device can carry first publication according to routing to be introduced
Mark is determined to issue routing for the first time.
In one possible implementation, it can increase newly a kind of for indicating routing for the extension group of first publication routing
Body attribute can carry first distribution indicator in the extended community attribute.Due to whether being that there are two kinds for first publication routing
May, thus can by any bit (bit) unappropriated in Reserved in extended community attribute (reservation) field (for example,
First) it is set as first distribution indicator position.In this way, routing device can be in the extended community attribute according to routing to be introduced
The value of first distribution indicator position distinguishes whether the routing to be introduced is first publication routing.For example, first distribution indicator position 0
Indicate that routing to be introduced is not first publication routing, first distribution indicator position 0 indicates that routing to be introduced is first publication routing.
Fig. 4 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in figure 4, the life
It may also include that at the method for polyaluminium chloride PAC
Step S13, preferential lower brush carry the forwarding table of the routing of the first distribution indicator.
In the related technology, after routing management preferably routes, lower brush forwarding table be it is unordered, may first lower brush RIP routing
Forwarding table, can also first lower brush OSPF routing.In the embodiments of the present disclosure, orderly the lower brush sequence of control forwarding table, routing are managed
The forwarding table that the routing of the Routing Protocol of BGP is introduced into after reason is preferred first plays brush hardware, introduces so as to shorten routing and raw
At the waiting time of polyaluminium chloride PAC.
In one possible implementation, it carries to brush under the forwarding table of the routing of the first distribution indicator and complete
Afterwards, other routings, which can be forwarded under table by setting sequence, brushes.Wherein, setting sequence can be determined according to actual needs,
Such as setting sequence can be OSPF, ISIS, RIP and static routing or RIP, ISIS, OSPF and static routing etc., to this
The disclosure is with no restrictions.
Fig. 5 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in figure 5, the life
It may also include that at the method for polyaluminium chloride PAC
Step S14 determines the quantity for carrying the routing of preliminary distribution indicator.
Step S15 receives the successful message of lower brush that hardware returns, and counts the successful message of lower brush being currently received
Current quantity.
Step S16 is determined all first when the current quantity is equal to the quantity for the routing for carrying first distribution indicator
The forwarding table of secondary publication routing has brushed hardware down.
Referring to step S14 it is found that brushing hardware, road under the forwarding table for carrying the routing of the first distribution indicator is preferential
The corresponding lower successful message of brush of forwarding table that first publication routing can be preferentially received by equipment.Therefore, routing device can be with
When determining the quantity for the routing for carrying preliminary distribution indicator and receiving the successful message of lower brush of hardware return every time
Current quantity.When the successful message of lower brush received current quantity be equal to carry first distribution indicator routing quantity
When, routing device can determine that the forwarding table of first publication routing has brushed hardware down.
Assuming that the preliminary quantity for introducing routing (routing for carrying the first distribution indicator) is S, counter is opened from 0
Begin, when successfully lower one, brush is routed to hardware, driving returns to OK, and counter adds 1, hardware is all brushed down until introducing routing,
I.e. count value reaches S, controls BGP at this time and generates polyaluminium chloride PAC and send.
Fig. 6 shows the flow chart of the method for the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in fig. 6, the life
It may also include that at the method for polyaluminium chloride PAC
Step S17, when starting lower brush forwarding table, timer of the starting for the routing of the specified Routing Protocol, institute
State the speed that hardware is brushed under quantity and forwarding table of the duration of timer according to the routing for carrying the first distribution indicator
It determines.
Step S18 determines that the forwarding table of all first publication routings has brushed down firmly at the end of the timer
Part.
The performance of brush hardware is known under routing device.Referring to step S14 it is found that routing device will can be carried preferentially
Hardware is brushed under the forwarding table of the routing of the first distribution indicator.Therefore, routing device can be according to carrying first publication
The speed that hardware is brushed under the quantity and forwarding table of the routing of mark determines to be brushed needed for hardware under all first publication routings
It is time, specific: the routing of time needed for brushing hardware under all first publication routings=carry first distribution indicator
The speed of hardware is brushed under quantity/forwarding table.The time can be set to the duration of timer by routing device, and start lower brush
Start timer when forwarding table.In this way, routing device can determine the forwarding of all first publication routings at the end of timer
Table has brushed hardware down.
By taking OSPF is specified Routing Protocol as an example, it is assumed that the speed for brushing hardware under forwarding table is X item/second, routing management
What can be counted after it is preferred that carries the quantity of the routing of first distribution indicator as S.It is found that being brushed under the forwarding table of this S item routing
To hardware when it is S/X seconds a length of, i.e., the forwarding tables of all first publication routings can it is interior at S/X second under brush hardware.Routing is handed over
Exchange device is preferentially lower to brush the routing for carrying first distribution indicator, and starting duration is S/X seconds when starting lower brush forwarding table
Timer.In this way, show that the forwarding table of all first publication routings has brushed hardware down when the time of timer reducing to 0,
Routing device can trigger BGP and introduce the routing of OSPF, and generates polyaluminium chloride PAC and issue outward.
Fig. 7 shows the block diagram of the device of the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in fig. 7, the device
70 can include:
First determining module 71, for determining the first publication for being introduced into the specified Routing Protocol of Border Gateway Protocol (BGP)
Routing;
Release module 72, for being brushed under when the forwarding table of all first publication routings brushes hardware down
The routing of hardware generates and issues polyaluminium chloride PAC.
In the embodiments of the present disclosure, it when brush hardware is completed under the forwarding table of the routing for the Routing Protocol being introduced into, generates
Polyaluminium chloride PAC is issued outward, can be more accurately controlled BGP in this way and be introduced routing and generate the time of polyaluminium chloride PAC, to subtract
Few polyaluminium chloride PAC issue after because route forwarding table does not play traffic loss caused by brush hardware.
Fig. 8 shows the block diagram of the device of the generation polyaluminium chloride PAC according to one embodiment of the disclosure.As shown in figure 8, in one kind
In possible implementation, first determining module 71 includes:
Determine submodule 711, for that will be introduced into the routing of specified Routing Protocol of BGP, forwarding table is not brushed down firmly
The routing of part is determined as issuing routing for the first time.
In one possible implementation, determine that submodule 711 is specifically used for:
For each routing of the specified Routing Protocol: determine whether the forwarding table of the routing has brushed hardware down,
If the forwarding table of the routing does not brush hardware down, first distribution indicator is added for the routing;
For all routings of the specified Routing Protocol, the routing for carrying the first distribution indicator is determined as just
Secondary publication routing.
In one possible implementation, described device 70 further include:
Lower brush module 73 carries the forwarding table of the routing of the first distribution indicator for preferentially lower brush.
In one possible implementation, described device 70 further include:
Second determining module 74, for determining the quantity for carrying the routing of preliminary distribution indicator;
Statistical module 75, for receiving the successful message of lower brush of hardware return, and count the lower brush that is currently received at
The current quantity of the message of function;
Third determining module 76, for being equal to the quantity for carrying the routing of first distribution indicator in the current quantity
When, determine that the forwarding table of all first publication routings has brushed hardware down.
In one possible implementation, described device 70 further include:
Starting module 77, for when starting lower brush forwarding table, starting to be directed to determining for the routing of the specified Routing Protocol
When device, the duration of the timer brushes hardware under the quantity and forwarding table according to the routing for carrying the first distribution indicator
Speed determine;
4th determining module 78, the forwarding table at the end of the timer, determining all first publication routings are equal
Brush hardware down.
Fig. 9 is shown according to an exemplary embodiment a kind of for generating the block diagram of the device 900 of polyaluminium chloride PAC.Reference
Fig. 9, the device 900 may include processor 901, the machine readable storage medium 902 for being stored with machine-executable instruction.Processor
901 can communicate with machine readable storage medium 902 via system bus 903.Also, processor 901 is readable by read machine
Machine-executable instruction corresponding with the logic of polyaluminium chloride PAC is generated is polymerize in storage medium 902 with executing generation described above
The method of routing.
Machine readable storage medium 902 referred to herein can be any electronics, magnetism, optics or other physical stores
Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium may is that
RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven
Dynamic device (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between
Matter or their combination.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology
Other those of ordinary skill in domain can understand each embodiment disclosed herein.
Claims (12)
1. a kind of method for generating polyaluminium chloride PAC, which is characterized in that the described method includes:
Determine the first publication routing for being introduced into the specified Routing Protocol of Border Gateway Protocol (BGP);
When the forwarding table of all first publication routings brushes hardware down, the routing of hardware is brushed under, is generated concurrent
Cloth polyaluminium chloride PAC.
2. the method according to claim 1, wherein determine be introduced into the specified circuit of Border Gateway Protocol (BGP) by
The first publication of agreement routes, comprising:
It will be introduced into the routing of specified Routing Protocol of BGP, the routing that forwarding table does not brush down hardware is determined as issuing for the first time
Routing.
3. according to the method described in claim 2, it is characterized in that, turning being introduced into the routing of specified Routing Protocol of BGP
Deliver do not brush down hardware routing be determined as the first time issue routing, comprising:
For each routing of the specified Routing Protocol: determining whether the forwarding table of the routing has brushed hardware down, if should
The forwarding table of routing does not brush down hardware, then adds first distribution indicator for the routing;
For all routings of the specified Routing Protocol, the routing for carrying the first distribution indicator is determined as sending out for the first time
Cloth routing.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Preferential lower brush carries the forwarding table of the routing of the first distribution indicator.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Determine the quantity for carrying the routing of preliminary distribution indicator;
The successful message of lower brush that hardware returns is received, and counts the current quantity for the successful message of lower brush being currently received;
When the current quantity is equal to the quantity for the routing for carrying first distribution indicator, all first publication routings are determined
Forwarding table has brushed hardware down.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
When starting lower brush forwarding table, starting for the specified Routing Protocol routing timer, the timer when
The speed that hardware is brushed under long quantity and forwarding table according to the routing for carrying the first distribution indicator determines;
At the end of the timer, determine that the forwarding table of all first publication routings has brushed hardware down.
7. a kind of device for generating polyaluminium chloride PAC, which is characterized in that described device includes:
First determining module, for determining the first publication routing for being introduced into the specified Routing Protocol of Border Gateway Protocol (BGP);
Release module, for brushing hardware under when the forwarding table of all first publication routings brushes hardware down
Routing, generates and issues polyaluminium chloride PAC.
8. device according to claim 7, which is characterized in that first determining module includes:
Determine submodule, for that will be introduced into the routing of specified Routing Protocol of BGP, forwarding table does not brush down the routing of hardware
It is determined as issuing routing for the first time.
9. device according to claim 8, which is characterized in that determine that submodule is specifically used for:
For each routing of the specified Routing Protocol: determining whether the forwarding table of the routing has brushed hardware down, if should
The forwarding table of routing does not brush down hardware, then adds first distribution indicator for the routing;
For all routings of the specified Routing Protocol, the routing for carrying the first distribution indicator is determined as sending out for the first time
Cloth routing.
10. device according to claim 9, which is characterized in that described device further include:
Lower brush module carries the forwarding table of the routing of the first distribution indicator for preferentially lower brush.
11. device according to claim 10, which is characterized in that described device further include:
Second determining module, for determining the quantity for carrying the routing of preliminary distribution indicator;
Statistical module for receiving the successful message of lower brush of hardware return, and counts the lower brush being currently received and successfully disappears
The current quantity of breath;
Third determining module determines when for being equal to the quantity for the routing for carrying first distribution indicator in the current quantity
The forwarding table of all first publication routings has brushed hardware down.
12. device according to claim 10, which is characterized in that described device further include:
Starting module, for when starting lower brush forwarding table, starting to be directed to the timer of the routing of the specified Routing Protocol, institute
State the speed that hardware is brushed under quantity and forwarding table of the duration of timer according to the routing for carrying the first distribution indicator
It determines;
4th determining module, at the end of the timer, determining that the forwarding table of all first publication routings has played brush
To hardware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810994032.6A CN109005110B (en) | 2018-08-29 | 2018-08-29 | Method and device for generating aggregation route |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810994032.6A CN109005110B (en) | 2018-08-29 | 2018-08-29 | Method and device for generating aggregation route |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109005110A true CN109005110A (en) | 2018-12-14 |
CN109005110B CN109005110B (en) | 2021-05-28 |
Family
ID=64594016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810994032.6A Active CN109005110B (en) | 2018-08-29 | 2018-08-29 | Method and device for generating aggregation route |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109005110B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086711A (en) * | 2019-04-29 | 2019-08-02 | 新华三技术有限公司 | Flow switchback method, apparatus, electronic equipment and readable storage medium storing program for executing |
CN112468395A (en) * | 2020-12-08 | 2021-03-09 | 信而泰(无锡)信息技术有限公司 | Method and device for processing BGP (border gateway protocol) route |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1655556A (en) * | 2005-03-18 | 2005-08-17 | 大连理工大学 | A routing method based on dynamic aggregation tree model |
CN101014014A (en) * | 2007-02-09 | 2007-08-08 | 华为技术有限公司 | Routing aggregation method, packet transmitting method and border router of autonomous system |
CN101562573A (en) * | 2009-04-22 | 2009-10-21 | 中兴通讯股份有限公司 | Method and system for aggregating route items |
CN101626342A (en) * | 2008-07-07 | 2010-01-13 | 华为技术有限公司 | Method, device and system for realizing link aggregation |
CN102238077A (en) * | 2010-05-07 | 2011-11-09 | 中国科学院计算技术研究所 | Routing traffic information storage and query methods |
CN103763135A (en) * | 2014-01-06 | 2014-04-30 | 杭州华三通信技术有限公司 | PE traffic scheduling method and device |
CN104219155A (en) * | 2014-08-29 | 2014-12-17 | 杭州华三通信技术有限公司 | Aggregate port proxy method and equipment |
CN104270310A (en) * | 2014-09-29 | 2015-01-07 | 杭州华三通信技术有限公司 | Message processing method and device based on RIP |
CN106878175A (en) * | 2017-03-27 | 2017-06-20 | 新华三技术有限公司 | BGP route processing methods, device and BGP equipment |
CN107046502A (en) * | 2017-03-16 | 2017-08-15 | 杭州迪普科技股份有限公司 | A kind of forwarding table generation method and device |
CN107547374A (en) * | 2017-06-01 | 2018-01-05 | 新华三技术有限公司 | One kind polymerization reason treating method and apparatus |
CN107770061A (en) * | 2016-08-16 | 2018-03-06 | 华为技术有限公司 | The method and forwarding unit to E-Packet |
US10057386B1 (en) * | 2016-07-29 | 2018-08-21 | Cisco Technology, Inc. | Summarizing and flood suppressing messages |
-
2018
- 2018-08-29 CN CN201810994032.6A patent/CN109005110B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1655556A (en) * | 2005-03-18 | 2005-08-17 | 大连理工大学 | A routing method based on dynamic aggregation tree model |
CN101014014A (en) * | 2007-02-09 | 2007-08-08 | 华为技术有限公司 | Routing aggregation method, packet transmitting method and border router of autonomous system |
CN101626342A (en) * | 2008-07-07 | 2010-01-13 | 华为技术有限公司 | Method, device and system for realizing link aggregation |
CN101562573A (en) * | 2009-04-22 | 2009-10-21 | 中兴通讯股份有限公司 | Method and system for aggregating route items |
CN102238077A (en) * | 2010-05-07 | 2011-11-09 | 中国科学院计算技术研究所 | Routing traffic information storage and query methods |
CN103763135A (en) * | 2014-01-06 | 2014-04-30 | 杭州华三通信技术有限公司 | PE traffic scheduling method and device |
CN104219155A (en) * | 2014-08-29 | 2014-12-17 | 杭州华三通信技术有限公司 | Aggregate port proxy method and equipment |
CN104270310A (en) * | 2014-09-29 | 2015-01-07 | 杭州华三通信技术有限公司 | Message processing method and device based on RIP |
US10057386B1 (en) * | 2016-07-29 | 2018-08-21 | Cisco Technology, Inc. | Summarizing and flood suppressing messages |
CN107770061A (en) * | 2016-08-16 | 2018-03-06 | 华为技术有限公司 | The method and forwarding unit to E-Packet |
CN107046502A (en) * | 2017-03-16 | 2017-08-15 | 杭州迪普科技股份有限公司 | A kind of forwarding table generation method and device |
CN106878175A (en) * | 2017-03-27 | 2017-06-20 | 新华三技术有限公司 | BGP route processing methods, device and BGP equipment |
CN107547374A (en) * | 2017-06-01 | 2018-01-05 | 新华三技术有限公司 | One kind polymerization reason treating method and apparatus |
Non-Patent Citations (1)
Title |
---|
刘玉硕: "基于ISIS路由协议的网络多拓扑路由关键技术研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086711A (en) * | 2019-04-29 | 2019-08-02 | 新华三技术有限公司 | Flow switchback method, apparatus, electronic equipment and readable storage medium storing program for executing |
CN112468395A (en) * | 2020-12-08 | 2021-03-09 | 信而泰(无锡)信息技术有限公司 | Method and device for processing BGP (border gateway protocol) route |
CN112468395B (en) * | 2020-12-08 | 2022-07-01 | 信而泰(无锡)信息技术有限公司 | Method and device for processing BGP (border gateway protocol) route |
Also Published As
Publication number | Publication date |
---|---|
CN109005110B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4388667B2 (en) | Path setting apparatus and method in label switching network | |
US9444677B2 (en) | Scalable edge node protection using IPv6 segment routing extension header | |
CN103841022B (en) | For setting up the method and device in tunnel | |
KR100878109B1 (en) | Topology discovery by partitioning multiple discovery techniques | |
CN101120552B (en) | Loop prevention method for MPLS using service labels and network node | |
CN101243648B (en) | Method and apparatus for enabling routing of label switched data packets | |
CN109194581B (en) | Message processing method and device | |
US11108682B2 (en) | Establishing entry corresponding to equal-cost paths | |
CN100372337C (en) | Route selection method for implementing cross-domain constraint-based routing | |
US10469360B1 (en) | Reverse metric advertisement for border gateway protocol route reflection inhierarchical networks | |
CN110430076B (en) | Route management method and device | |
EP4102807A1 (en) | Tunnel establishment method, apparatus, and system | |
CN108768856A (en) | A kind of route processing method and device | |
CN111490937B (en) | Method, device and system for establishing cross-domain forwarding path | |
CN109005110A (en) | Generate the method and device of polyaluminium chloride PAC | |
CN103888351A (en) | Method and device used for managing multiple conversations in network based on multi-path routing | |
CN107948066A (en) | DF electoral machinery, system and device | |
CN108494686A (en) | Route processing method and device | |
CN107547386B (en) | Message forwarding method and device | |
CN108494684A (en) | Create the method and device in tunnel | |
CN105591911B (en) | A kind of generation method and device of LSP | |
CN112491728A (en) | Intermediate system to intermediate system topology transparent zone | |
US10044599B2 (en) | Method for managing domain routing table in router on network structure based on hierarchical domain | |
WO2018010576A1 (en) | Path establishment method and device, and network node | |
US9973411B2 (en) | Synchronization of data and control planes of routers |
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 |