CN106878173A - One kind route sending method and device - Google Patents
One kind route sending method and device Download PDFInfo
- Publication number
- CN106878173A CN106878173A CN201710113459.6A CN201710113459A CN106878173A CN 106878173 A CN106878173 A CN 106878173A CN 201710113459 A CN201710113459 A CN 201710113459A CN 106878173 A CN106878173 A CN 106878173A
- Authority
- CN
- China
- Prior art keywords
- vtep
- route
- router reflector
- detailed
- itself
- 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
- 238000000034 method Methods 0.000 title claims abstract description 31
- VEXZGXHMUGYJMC-UHFFFAOYSA-M Chloride anion Chemical compound [Cl-] VEXZGXHMUGYJMC-UHFFFAOYSA-M 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 8
- 230000002776 aggregation Effects 0.000 claims description 7
- 238000004220 aggregation Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 4
- 210000004209 hair Anatomy 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 235000013399 edible fruits Nutrition 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 101000795655 Canis lupus familiaris Thymic stromal cotransporter homolog Proteins 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- 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/14—Routing performance; Theoretical aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a kind of route sending method and device.The method is applied to the Router Reflector in Ethernet VPN, including:After itself restarts, the detailed route that the first virtual expansible LAN endpoint of a tunnel VTEP sends is obtained, wherein, a VTEP is any VTEP for having correspondence with route transmitter;Judge itself whether to obtain all detailed route in a VTEP;If it is, sent to the 2nd VTEP route, wherein, the 2nd VTEP is in having a VTEP of correspondence with Router Reflector, remaining VTEP in addition to a VTEP;If it has not, do not sent to the 2nd VTEP routeing.It can easily be seen that after Router Reflector is restarted, this programme sends by the delay routeing, and easily realizes successful forwarding of the Router Reflector to data message.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of route sending method and device.
Background technology
With the development of the communication technology, (Ethernet Virtual Private Network, Ethernet is virtually special for EVPN
With network) application of this two-layer VPN (Virtual Private Netwok, Virtual Private Network) technology becomes more and more wider
It is general.When networking is carried out using EVPN technologies, the equipment in whole network is typically using the hierarchy of core-branch.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of route sending method and device, is restarted with Router Reflector
Afterwards, in a kind of simple and easy to do mode, successful forwarding of the Router Reflector to data message is realized, to avoid losing for data message
Lose.
A kind of route sending method is the embodiment of the invention provides, the route being applied in Ethernet VPN is anti-
Emitter, methods described includes:
After the Router Reflector is restarted, the detail that the first virtual expansible LAN endpoint of a tunnel VTEP sends is obtained
Route, wherein, a VTEP is any VTEP for having correspondence with the route transmitter;
Judge itself whether to obtain all detailed route in a VTEP;
If it is, sent to the 2nd VTEP route, wherein, the 2nd VTEP is with corresponding with the Router Reflector
In the VTEP of property, remaining VTEP in addition to a VTEP;
If it has not, do not sent to the 2nd VTEP routeing.
The embodiment of the present invention additionally provides a kind of route dispensing device, is applied to the route in Ethernet VPN
Reflector, described device includes:
First obtains module, for after the Router Reflector is restarted, obtaining the first virtual expansible LAN tunnel
The detailed route that end points VTEP sends, wherein, a VTEP is any for having correspondence with the route transmitter
VTEP;
Judge module, for judging itself whether to obtain all detailed route in a VTEP;
First processing module, for being in the case of being, to be sent to the 2nd VTEP in the judged result of the judge module
Route, wherein, the 2nd VTEP is in having a VTEP of correspondence with the Router Reflector, in addition to a VTEP
Remaining VTEP;
Second processing module, in the case of being no in the judged result of the judge module, not to described second
VTEP sends route.
In this programme, after Router Reflector is restarted, it can set up bgp neighbor relation with a VTEP, and obtain first
The detailed route that VTEP sends.During detailed route is obtained, whether the Router Reflector can judge itself to obtain the
All detailed route in one VTEP.If it is judged that being yes, the Router Reflector will send to the 2nd VTEP and route;Such as
Fruit judged result is no, and the Router Reflector will not send to the 2nd VTEP and route.
It can easily be seen that before Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP there is no at all
Route from the Router Reflector, therefore, the data message that the 2nd VTEP will never be obtained turns to the Router Reflector
Hair, but the data message is forwarded to remaining Router Reflector, to realize the data by remaining Router Reflector
The successful forwarding of message.After Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP is obtained from the road
By the route of reflector, therefore, the Router Reflector can normally obtain the data message from the 2nd VTEP, due to the route
Reflector now have successfully been obtained all detailed route from a VTEP, therefore, necessarily deposited in the Router Reflector
In the route of the forwarding that can instruct the data message, the data message finally can be forwarded successfully.
It can be seen that, in this programme, operating personnel set duration and setting cost values without being pre-configured with Router Reflector,
After Router Reflector is restarted, sent by the delay routeing, this programme easily realizes Router Reflector to data
The successful forwarding of message, and then efficiently avoid the loss of data message.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the system architecture schematic diagram of EVPN;
A kind of flow chart of route sending method that Fig. 2 is provided by the embodiment of the present invention;
A kind of structured flowchart of route dispensing device that Fig. 3 is provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, the system architecture schematic diagram of Ethernet VPN EVPN is shown in figure.As shown in figure 1,
EVPN includes:Router Reflector RR (i.e. RR1 and RR2), virtual expansible LAN endpoint of a tunnel VTEP (i.e. VTEP1 and
), and Customer Edge router equipment (i.e. CE11, CE21 and CE22) VTEP2.It can easily be seen that employed in EVPN core-point
The hierarchy of branch, wherein, as the nucleus equipment of VTEP1 and VTEP2, VTEP1 and VTEP2 is as RR1 for RR1 and RR2
With the branch equipment of RR2.
In general, under normal operating conditions, RR1 and RR2 respectively with itself branch equipment (i.e. VTEP1 and
VTEP2) setting up has Border Gateway Protocol (BGP) neighborhood.Assuming that RR1 there occurs restart, at this moment, RR1 and VTEP1 and VTEP2
Between bgp neighbor relation can successively experience and release and the process that re-establishes.After bgp neighbor relation is re-established, VTEP1
The all routes that respectively can have been stored itself with VTEP2 are sent to RR1, with these routes for RR1 storages is received, and
The forwarding of the data message for instructing itself to receive using these routes.Because RR1 obtains all from VTEP1 and VTEP2
Route needs certain duration, it is possible that situations below in a period of time after RR1 is restarted:Route is obtained in RR1
During, RR1 have received the data message from one of VTEP1 and VTEP2, but, RR1 also not from VTEP1 and
The other of VTEP2 places obtain the route needed for being forwarded to the data message, and so, RR1 will be unable to the datagram
Text is forwarded, therefore the data message can be dropped.
In order to avoid there is above mentioned problem, a setting duration and can be provided with advance in the prior art, in RR1 and set
Determine cost values, setting cost values are than larger.In setting duration after RR1 is restarted, the corresponding cost values of RR1 are the setting
Cost values, also, setting cost values are more than the corresponding cost values of RR2, therefore, after VTEP1 obtains data message, VTEP1
The preferred next-hop of meeting is forwarded for the route of RR2 to the data message.Although it can easily be seen that this mode can realize it is right
The successful forwarding of data message, but, operating personnel need to be pre-configured with RR1, operate and more bother, also,
The specific value of setting duration and setting cost values is difficult to hold.
In order to solve the problems, such as prior art, a kind of route sending method and device are the embodiment of the invention provides.
A kind of route sending method for being provided the embodiment of the present invention first below is illustrated.
It should be noted that a kind of route sending method that the embodiment of the present invention is provided to can apply to Ethernet virtual
Router Reflector in dedicated network EVPN.In general, at least two Router Reflectors can be included in EVPN, route hair
Delivery method is applied particularly to any Router Reflector at least two Router Reflector.
It will be appreciated by persons skilled in the art that for EVPN, control plane is to use MP-BGP
(Multiprotocol-Border Gateway Protocol, MP-BGP) notices routing iinformation, number
According to plane turned using VXLAN (Virtual eXtensible LAN, expansible Virtual Local Area Network) this packaged types
Hair data message.In addition, EVPN can be based on existing service provider or enterprise IP network, it is the identical of same tenant
Subnet provides two layers of interconnection, and EVPN can also by EVPN gateways for the different sub-network of same tenant provides three layers of interconnection, and be
The subnet of the tenant provides three layers of interconnection with external network.
Referring to Fig. 2, a kind of flow chart of route sending method that the embodiment of the present invention is provided is shown in figure.Such as Fig. 2
Shown, the method may include steps of:
S201, after Router Reflector is restarted, obtains the bright of the first virtual expansible LAN endpoint of a tunnel VTEP transmissions
Thin route, wherein, a VTEP is any VTEP for having correspondence with route transmitter.
Wherein, the VTEP for having correspondence with Router Reflector includes:Using the Router Reflector as nucleus equipment institute
There is VTEP.
For Router Reflector, after it is restarted, its can again with using itself as nucleus equipment all VTEP
Set up bgp neighbor relation.After the bgp neighbor relation is successfully established, using the Router Reflector as nucleus equipment each
The detailed route that VTEP will currently have therein is sent to the Router Reflector, and the Router Reflector can then store institute
The detailed route for receiving.
Whether S202, judges itself to obtain all detailed route in a VTEP;If it is, S203 is performed, if
It is no, perform S204.
S203, sends to the 2nd VTEP and route, wherein, the 2nd VTEP is the VTEP for having correspondence with Router Reflector
In, remaining VTEP in addition to a VTEP;
S204, does not send to the 2nd VTEP and route.
It should be noted that Router Reflector judges whether itself obtains all detailed routing iinformation in a VTEP
Implement various informative, citing introduction is carried out below.
In a kind of specific embodiment of the embodiment of the present invention, the first virtual expansible LAN endpoint of a tunnel is obtained
Before the detailed route that VTEP sends, the method can also include:
After itself restarts, the notice message that a VTEP sends is obtained, wherein, carried in a VTEP in notice message
The bar number of the detailed route having;
Correspondingly, judge itself whether to obtain all detailed route in a VTEP, can include:
Judge whether article number of itself detailed route acquired, from a VTEP carries not less than in notice message
Bar number;
If it is, showing itself to have obtained all detailed route in a VTEP;
If it has not, showing itself not obtaining all detailed route in a VTEP.
Restart in Router Reflector, and and after setting up bgp neighbor relation with each VTEP itself with correspondence, with the road
Each VTEP for having correspondence from reflector can send notice message to the Router Reflector.So, according to the notice message, should
Router Reflector can be informed in when setting up bgp neighbor relation with each VTEP, the bar number of the detailed route having in the VTEP,
Bar number in the notice message that the Router Reflector can send each VTEP is stored.
Afterwards, each VTEP with the Router Reflector with correspondence can send detailed route to the Router Reflector.
During receiving the detailed route from each VTEP, the Router Reflector can respectively to the detailed route from each VTEP
Bar number is counted, and bar number in the notice message that the bar number of the detailed route from each VTEP is sent with the VTEP is carried out
Compare.Once the Router Reflector detects the bar number of the detailed route from a certain VTEP not less than the notice that the VTEP sends
Bar number in message, the Router Reflector it is determined that itself obtain all detailed route in the VTEP, next, the road
Follow-up S203 is carried out by reflector.If conversely, the Router Reflector detects the detailed route from a certain VTEP
Bar number less than the VTEP send notice message in bar number, then, the Router Reflector carries out follow-up S204.
It can easily be seen that through the above way, whether Router Reflector can easily judge itself obtain
All detailed routing iinformation in one VTEP.Certainly, whether Router Reflector judges itself to obtain all in a VTEP
The form that implements of detailed routing iinformation is not limited thereto, and can specifically be determined according to actual conditions, the present embodiment pair
This does not do any restriction.
With reference to Fig. 1, the specific implementation process of the present embodiment is illustrated with a specific example.
As shown in figure 1, VTEP1 and VTEP2 using RR1 and RR2 as nucleus equipment, therefore, there is correspondence with RR1
VTEP includes VTEP1 and VTEP2, and the VTEP for having correspondence with RR2 also includes VTEP1 and VTEP2.
Assuming that RR1 there occurs restart, next, RR1 can set up bgp neighbor relation with VTEP1 and VTEP2 again.
After RR1 and VTEP1 have re-established bgp neighbor relation, VTEP1 can send notice message, the notice report to RR1
The bar number of the current detailed route having in VTEP1 is carried in text, it is assumed that this number is 180.The notice report is sent in VTEP1
Wen Hou, VTEP1 start to send detailed route to RR1.
Similarly, after RR1 and VTEP2 have re-established bgp neighbor relation, VTEP2 can also send to RR1 and notify report
Text, carries the bar number of the current detailed route having in VTEP2, it is assumed that this number is 200 in the notice message.In VTEP2 hairs
After going out the notice message, VTEP2 starts to send detailed route to RR1.
For RR1, during the detailed route from VTEP1 and VTEP2 is obtained, RR1 can respectively to coming
Counted from the bar number of the detailed route of VTEP1 and VTEP2.Once the bar number of the detailed route from VTEP1 reaches 180
Bar, this explanation RR1 just obtains all detailed route in VTEP1, and now, RR1 starts to send route to VTEP2.
It is easily understood that before RR1 sends route to VTEP2, be there is no from RR1's due to VTEP2 at all
Route, therefore, the data message that VTEP2 will never be obtained is forwarded to RR1, but the data message is forwarded to RR2, it
Afterwards, can be successfully forwarded to the data message at VTEP1 by RR2.After RR1 sends route to VTEP2, because VTEP2 is obtained
Route from RR1, therefore, RR1 can normally obtain the data message from VTEP2, because RR1 has now successfully been obtained
The all detailed route from VTEP1 was obtained, therefore, the road of the forwarding that can instruct the data message is certainly existed in RR1
By the data message finally can be forwarded successfully.
In this programme, after Router Reflector is restarted, it can set up bgp neighbor relation with a VTEP, and obtain first
The detailed route that VTEP sends.During detailed route is obtained, whether the Router Reflector can judge itself to obtain the
All detailed route in one VTEP.If it is judged that being yes, the Router Reflector will send to the 2nd VTEP and route;Such as
Fruit judged result is no, and the Router Reflector will not send to the 2nd VTEP and route.
It can easily be seen that before Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP there is no at all
Route from the Router Reflector, therefore, the data message that the 2nd VTEP will never be obtained turns to the Router Reflector
Hair, but the data message is forwarded to remaining Router Reflector, to realize the data by remaining Router Reflector
The successful forwarding of message.After Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP is obtained from the road
By the route of reflector, therefore, the Router Reflector can normally obtain the data message from the 2nd VTEP, due to the route
Reflector now have successfully been obtained all detailed route from a VTEP, therefore, necessarily deposited in the Router Reflector
In the route of the forwarding that can instruct the data message, the data message finally can be forwarded successfully.
It can be seen that, in this programme, operating personnel set duration and setting cost values without being pre-configured with Router Reflector,
After Router Reflector is restarted, sent by the delay routeing, this programme easily realizes Router Reflector to data
The successful forwarding of message, and then efficiently avoid the loss of data message.
In a kind of specific embodiment of the embodiment of the present invention, sent to the 2nd VTEP and route, can included:
Route aggregation is carried out to the detailed route from a VTEP, to obtain polyaluminium chloride PAC;
Polyaluminium chloride PAC obtained by being sent to the 2nd VTEP.
Below still with Fig. 1, the specific implementation process of the present embodiment is illustrated with a specific example.
After RR1 is restarted, it is assumed that the bar number carried in the notice message that VTEP2 is sent to RR1 is 200.Afterwards, RR1 meetings
Obtain 200 from VTEP2 detailed routes, it is assumed that RR1 has obtained following table 1 according to this 200 detailed routes:
| Destination address | Interface number | Next hop address |
| 11.1.1.1/32 | Vlan14 | 14.14.14.2 |
| 11.1.1.2/32 | Vlan14 | 14.14.14.2 |
| …… | Vlan14 | 14.14.14.2 |
| 11.1.1.100/32 | Vlan14 | 14.14.14.2 |
| 11.1.2.1/32 | Vlan14 | 14.14.14.2 |
| 11.1.2.2/32 | Vlan14 | 14.14.14.2 |
| …… | Vlan14 | 14.14.14.2 |
| 11.1.2.100/32 | Vlan14 | 14.14.14.2 |
Table 1
Next, RR1 can carry out route aggregation to this 200 detailed routes in table 1, to obtain polyaluminium chloride PAC.It
Afterwards, RR1 can be obtained and be stored following table 2.
| Destination address | Interface number | Next hop address |
| 11.1.1.1/32 | Vlan14 | 14.14.14.2 |
| 11.1.1.2/32 | Vlan14 | 14.14.14.2 |
| …… | Vlan14 | 14.14.14.2 |
| 11.1.1.100/32 | Vlan14 | 14.14.14.2 |
| 11.1.2.1/32 | Vlan14 | 14.14.14.2 |
| 11.1.2.2/32 | Vlan14 | 14.14.14.2 |
| …… | Vlan14 | 14.14.14.2 |
| 11.1.2.100/32 | Vlan14 | 14.14.14.2 |
| 11.1.0.0/16 | Vlan14 | 14.14.14.2 |
Table 2
After table 2 is obtained, destination address can be 11.1.0.0/16 by RR1, and interface number is Vlan14, next-hop ground
Location is sent to VTEP1 for this polyaluminium chloride PAC of 14.14.14.2.At this moment, VTEP1 can store this resulting polyaluminium chloride PAC.
Afterwards, when the destination address of the data message for being obtained as VTEP1 just hits above-mentioned this polyaluminium chloride PAC, the polyaluminium chloride PAC can
Effectively instructed with the forwarding to the data message.
In the present embodiment, what is sent to the 2nd VTEP due to Router Reflector is polyaluminium chloride PAC, therefore Router Reflector needs
The quantity of the route being sent out is effectively reduced.In addition, the quantity of the route stored as needed on the VTEP such as VTEP1
Also can be effectively reduced, the scale of the routing table of VTEP memory storages will be greatly reduced.
To sum up, after Router Reflector is restarted, sent by the delay routeing, the present embodiment is easily realized
Successful forwarding of the Router Reflector to data message, and then efficiently avoid the loss of data message.
A kind of route dispensing device for being provided the embodiment of the present invention below is illustrated.
Referring to Fig. 3, a kind of structured flowchart of route dispensing device that the embodiment of the present invention is provided is shown in figure.As schemed
Shown in 3, the device can apply to Router Reflector, and the device can include:
First obtains module 31, for after itself restarts, obtaining the first virtual expansible LAN endpoint of a tunnel VTEP
The detailed route of transmission, wherein, a VTEP is any VTEP for having correspondence with route transmitter;
Judge module 32, for judging itself whether to obtain all detailed route in a VTEP;
First processing module 33, for being in the case of being, to be sent to the 2nd VTEP in the judged result of judge module 32
Route, wherein, the 2nd VTEP is in having a VTEP of correspondence with Router Reflector, remaining VTEP in addition to a VTEP;
Second processing module 34, in the case of being no in the judged result of judge module 32, does not send out to the 2nd VTEP
Send route.
In this programme, after Router Reflector is restarted, it can set up bgp neighbor relation with a VTEP, and obtain first
The detailed route that VTEP sends.During detailed route is obtained, whether the Router Reflector can judge itself to obtain the
All detailed route in one VTEP.If it is judged that being yes, the Router Reflector will send to the 2nd VTEP and route;Such as
Fruit judged result is no, and the Router Reflector will not send to the 2nd VTEP and route.
It can easily be seen that before Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP there is no at all
Route from the Router Reflector, therefore, the data message that the 2nd VTEP will never be obtained turns to the Router Reflector
Hair, but the data message is forwarded to remaining Router Reflector, to realize the data by remaining Router Reflector
The successful forwarding of message.After Router Reflector sends route to the 2nd VTEP, because the 2nd VTEP is obtained from the road
By the route of reflector, therefore, the Router Reflector can normally obtain the data message from the 2nd VTEP, due to the route
Reflector now have successfully been obtained all detailed route from a VTEP, therefore, necessarily deposited in the Router Reflector
In the route of the forwarding that can instruct the data message, the data message finally can be forwarded successfully.
It can be seen that, in this programme, operating personnel set duration and setting cost values without being pre-configured with Router Reflector,
After Router Reflector is restarted, sent by the delay routeing, this programme easily realizes Router Reflector to data
The successful forwarding of message, and then efficiently avoid the loss of data message.
In a kind of specific embodiment of the embodiment of the present invention, first processing module can include:
Route aggregation submodule, for carrying out route aggregation to the detailed route from a VTEP, to obtain the road that is polymerized
By;
Sending submodule, for sending resulting polyaluminium chloride PAC to the 2nd VTEP.
In a kind of specific embodiment of the embodiment of the present invention, the device can also include:
Second obtains module, for obtaining the detailed route that the first virtual expansible LAN endpoint of a tunnel VTEP sends
Before, after itself restarts, the notice message that a VTEP sends is obtained, wherein, tool in a VTEP is carried in notice message
The bar number of some detailed routes;
Correspondingly, judge module, specifically for:
Judge whether article number of itself detailed route acquired, from a VTEP carries not less than in notice message
Bar number;
If it is, showing itself to have obtained all detailed route in a VTEP;
If it has not, showing itself not obtaining all detailed route in a VTEP.
To sum up, after Router Reflector is restarted, sent by the delay routeing, the present embodiment is easily realized
Successful forwarding of the Router Reflector to data message, and then efficiently avoid the loss of data message.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to
Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (6)
1. it is a kind of to route sending method, it is characterised in that to be applied to the Router Reflector in Ethernet VPN, it is described
Method includes:
After the Router Reflector is restarted, the detailed road that the first virtual expansible LAN endpoint of a tunnel VTEP sends is obtained
By, wherein, a VTEP is any VTEP for having correspondence with the route transmitter;
Judge itself whether to obtain all detailed route in a VTEP;
If it is, sent to the 2nd VTEP route, wherein, the 2nd VTEP is have correspondence with the Router Reflector
Remaining VTEP in VTEP, in addition to a VTEP;
If it has not, do not sent to the 2nd VTEP routeing.
2. method according to claim 1, it is characterised in that described transmission to the 2nd VTEP route, including:
Route aggregation is carried out to the detailed route from a VTEP, to obtain polyaluminium chloride PAC;
Polyaluminium chloride PAC obtained by being sent to the 2nd VTEP.
3. method according to claim 1, it is characterised in that the virtual expansible LAN endpoint of a tunnel of the acquisition first
Before the detailed route that VTEP sends, methods described also includes:
After itself restarts, the notice message that a VTEP sends is obtained, wherein, described first is carried in the notice message
The bar number of the detailed route having in VTEP;
Correspondingly, all detailed route for judging itself whether to obtain in a VTEP, including:
Judge article number of itself detailed route acquired, from a VTEP whether not less than in the notice message
The bar number of carrying;
If it is, showing itself to have obtained all detailed route in a VTEP;
If it has not, showing itself not obtaining all detailed route in a VTEP.
4. it is a kind of to route dispensing device, it is characterised in that to be applied to the Router Reflector in Ethernet VPN, it is described
Device includes:
First obtains module, for after the Router Reflector is restarted, obtaining the first virtual expansible LAN endpoint of a tunnel
The detailed route that VTEP sends, wherein, a VTEP is any VTEP for having correspondence with the route transmitter;
Judge module, for judging itself whether to obtain all detailed route in a VTEP;
First processing module, for being in the case of being, to be sent to the 2nd VTEP and route in the judged result of the judge module,
Wherein, the 2nd VTEP is remaining in having a VTEP of correspondence with the Router Reflector, in addition to a VTEP
VTEP;
Second processing module, in the case of being no in the judged result of the judge module, does not send out to the 2nd VTEP
Send route.
5. device according to claim 4, it is characterised in that the first processing module, including:
Route aggregation submodule, for carrying out route aggregation to the detailed route from a VTEP, to obtain the road that is polymerized
By;
Sending submodule, for sending resulting polyaluminium chloride PAC to the 2nd VTEP.
6. device according to claim 4, it is characterised in that described device also includes:
Second obtains module, for routeing it in the detail for obtaining the first virtual expansible LAN endpoint of a tunnel VTEP transmissions
Before, after itself restarts, the notice message that a VTEP sends is obtained, wherein, described first is carried in the notice message
The bar number of the detailed route having in VTEP;
Correspondingly, the judge module, specifically for:
Judge article number of itself detailed route acquired, from a VTEP whether not less than in the notice message
The bar number of carrying;
If it is, showing itself to have obtained all detailed route in a VTEP;
If it has not, showing itself not obtaining all detailed route in a VTEP.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710113459.6A CN106878173B (en) | 2017-02-28 | 2017-02-28 | Route sending method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710113459.6A CN106878173B (en) | 2017-02-28 | 2017-02-28 | Route sending method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106878173A true CN106878173A (en) | 2017-06-20 |
| CN106878173B CN106878173B (en) | 2021-01-08 |
Family
ID=59169087
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710113459.6A Active CN106878173B (en) | 2017-02-28 | 2017-02-28 | Route sending method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106878173B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109218182A (en) * | 2018-11-21 | 2019-01-15 | 新华三技术有限公司 | A kind of synchronous method and device of routing iinformation |
| CN109309618A (en) * | 2017-07-28 | 2019-02-05 | 丛林网络公司 | Service Level Agreement-Based Next Hop Selection |
| CN116781599A (en) * | 2023-06-28 | 2023-09-19 | 中国联合网络通信集团有限公司 | A route monitoring method and device |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102088448A (en) * | 2009-12-02 | 2011-06-08 | 中兴通讯股份有限公司 | Transmitting method of Internet protocol (IP) message and boundary tunnel router |
| CN102281199A (en) * | 2011-08-16 | 2011-12-14 | 华为数字技术有限公司 | Route equipment, route reflector and route information processing method and system |
| US20120093154A1 (en) * | 2010-10-19 | 2012-04-19 | Eric Rosenberg | Methods and apparatus to utilize route parameter sets for exchanging routes in a communication network |
| CN103269286A (en) * | 2013-06-04 | 2013-08-28 | 上海数讯信息技术有限公司 | Border gateway protocol (BGP)-based visual routing monitoring management system |
| CN105337870A (en) * | 2014-08-15 | 2016-02-17 | 杭州华三通信技术有限公司 | Route publishing method and device |
| CN106411727A (en) * | 2016-09-22 | 2017-02-15 | 杭州华三通信技术有限公司 | Message processing method and device and autonomous system |
| CN106452909A (en) * | 2016-11-07 | 2017-02-22 | 迈普通信技术股份有限公司 | Route-distribution method and route reflector equipment |
-
2017
- 2017-02-28 CN CN201710113459.6A patent/CN106878173B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102088448A (en) * | 2009-12-02 | 2011-06-08 | 中兴通讯股份有限公司 | Transmitting method of Internet protocol (IP) message and boundary tunnel router |
| US20120093154A1 (en) * | 2010-10-19 | 2012-04-19 | Eric Rosenberg | Methods and apparatus to utilize route parameter sets for exchanging routes in a communication network |
| CN102281199A (en) * | 2011-08-16 | 2011-12-14 | 华为数字技术有限公司 | Route equipment, route reflector and route information processing method and system |
| CN103269286A (en) * | 2013-06-04 | 2013-08-28 | 上海数讯信息技术有限公司 | Border gateway protocol (BGP)-based visual routing monitoring management system |
| CN105337870A (en) * | 2014-08-15 | 2016-02-17 | 杭州华三通信技术有限公司 | Route publishing method and device |
| CN106411727A (en) * | 2016-09-22 | 2017-02-15 | 杭州华三通信技术有限公司 | Message processing method and device and autonomous system |
| CN106452909A (en) * | 2016-11-07 | 2017-02-22 | 迈普通信技术股份有限公司 | Route-distribution method and route reflector equipment |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109309618A (en) * | 2017-07-28 | 2019-02-05 | 丛林网络公司 | Service Level Agreement-Based Next Hop Selection |
| CN109309618B (en) * | 2017-07-28 | 2021-06-18 | 瞻博网络公司 | Service Level Agreement-Based Next Hop Selection |
| CN109218182A (en) * | 2018-11-21 | 2019-01-15 | 新华三技术有限公司 | A kind of synchronous method and device of routing iinformation |
| CN116781599A (en) * | 2023-06-28 | 2023-09-19 | 中国联合网络通信集团有限公司 | A route monitoring method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106878173B (en) | 2021-01-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8166205B2 (en) | Overlay transport virtualization | |
| EP1563644B1 (en) | System and method for interconnecting heterogeneous layer 2 vpn applications | |
| US8717934B2 (en) | Multicast source move detection for layer-2 interconnect solutions | |
| US9736054B2 (en) | Multicast active source discovery and management for layer-2 interconnect solutions | |
| US10044608B2 (en) | Virtual machine migration | |
| US10263808B2 (en) | Deployment of virtual extensible local area network | |
| EP3809641B1 (en) | Improved port mirroring over evpn vxlan | |
| CN107547333B (en) | Method and apparatus for implementing combined virtual private network VPN | |
| US20130021942A1 (en) | Granular Control of Multicast Delivery Services for Layer-2 Interconnect Solutions | |
| EP3641241A1 (en) | Node protection for bum traffic for multi-homed node failure | |
| US20170353388A1 (en) | Pseudowire protection using a standby pseudowire | |
| CN110290093A (en) | The SD-WAN network architecture and network-building method, message forwarding method | |
| US9112711B2 (en) | Optimizing OTV multicast traffic flow for site local receivers | |
| CN104767680B (en) | It route the method and apparatus being switched fast | |
| CN103078800B (en) | Mac address information control method in EVI network and edge device | |
| AU2020289819A1 (en) | Distributed denial-of-service mitigation | |
| CN102185712B (en) | The reverse method of VPLS network and ethernet ring network and device | |
| CN106572012A (en) | VPN FRR implementation method and PE equipment | |
| CN106878173A (en) | One kind route sending method and device | |
| CN106911549A (en) | A kind of data message processing method and device | |
| CN103873339B (en) | The distribution method and device of a kind of virtual gateway router | |
| US20190215191A1 (en) | Deployment Of Virtual Extensible Local Area Network | |
| US10862708B2 (en) | Interoperability between separate and collapsed service-layer and transport-layer tunnels | |
| WO2020244304A1 (en) | Method for sending routing information, method and apparatus for routing selection | |
| WO2021042674A1 (en) | Method for configuring port state and network 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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230607 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |