CN106911549A - A kind of data message processing method and device - Google Patents
A kind of data message processing method and device Download PDFInfo
- Publication number
- CN106911549A CN106911549A CN201710113989.0A CN201710113989A CN106911549A CN 106911549 A CN106911549 A CN 106911549A CN 201710113989 A CN201710113989 A CN 201710113989A CN 106911549 A CN106911549 A CN 106911549A
- Authority
- CN
- China
- Prior art keywords
- router reflector
- data message
- itself
- router
- same
- 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/745—Address table lookup; Address filtering
-
- 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/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- 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]
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 data message processing method and device.The method is applied to Router Reflector, including:Obtain data message;Determine whether data message hits any routing iinformation having in the Router Reflector;If it is, the routing iinformation hit according to data message, forwarding data packets;If it has not, send datagram to at least one Router Reflector for itself belonging to same Router Reflector group.It can easily be seen that after Router Reflector is restarted, this programme realizes successful forwarding of the Router Reflector to data message, so as to avoid the loss of data message in a kind of simple and easy to do mode.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of data message processing 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 data message processing method and device, is thought highly of with route reflection
Qi Hou, in a kind of simple and easy to do mode, realizes successful forwarding of the Router Reflector to data message, to avoid data message
Lose.
A kind of data message processing method is the embodiment of the invention provides, Router Reflector is applied to, methods described includes:
Obtain data message;
Determine whether the data message hits any routing iinformation having in the Router Reflector;
If it is, the routing iinformation hit according to the data message, forwards the data message;
If it has not, send the data message to at least one route reflection for itself belonging to same Router Reflector group
Device.
In a kind of specific embodiment of the embodiment of the present invention, the transmission data message extremely belongs to same with itself
At least one Router Reflector of one Router Reflector group, including:
The advance structure using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
The communication tunnel built, send the data message to at least one route reflection for itself belonging to same Router Reflector group
Device.
In a kind of specific embodiment of the embodiment of the present invention, the communication tunnel be based on the Router Reflector and with
Itself belong to what the Border Gateway Protocol (BGP) neighborhood between each Router Reflector of same Router Reflector group was set up.
In a kind of specific embodiment of the embodiment of the present invention, the transmission data message extremely belongs to same with itself
At least one Router Reflector of one Router Reflector group, including:
Based on the residual resource information with each Router Reflector for itself belonging to same Router Reflector group, belong to from itself
Router Reflector is elected in each Router Reflector of same Router Reflector group;
Send the data message to the Router Reflector elected.
In a kind of specific embodiment of the embodiment of the present invention, methods described also includes:
Send the data message to at least one Router Reflector for itself belonging to same Router Reflector group
Meanwhile, if itself obtaining the routing iinformation that the data message is hit, stop the transmission data message and belong to itself
In at least one Router Reflector of same Router Reflector group, and the routing iinformation hit according to the data message,
Forward the data message.
The embodiment of the present invention additionally provides a kind of data message processing unit, is applied to Router Reflector, described device bag
Include:
Module is obtained, for obtaining data message;
Whether determining module, any route having in the Router Reflector for determining the data message to hit is believed
Breath;
Forwarding module, for being in the case of being, to be ordered according to the data message in the determination result of the determining module
In the routing iinformation, forward the data message;
Sending module, in the case of being no in the determination result of the determining module, sends the data message extremely
With at least one Router Reflector for itself belonging to same Router Reflector group.
In a kind of specific embodiment of the embodiment of the present invention, the sending module, specifically for:
The advance structure using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
The communication tunnel built, send the data message to at least one route reflection for itself belonging to same Router Reflector group
Device.
In a kind of specific embodiment of the embodiment of the present invention, the communication tunnel be based on the Router Reflector and with
Itself belong to what the Border Gateway Protocol (BGP) neighborhood between each Router Reflector of same Router Reflector group was set up.
In a kind of specific embodiment of the embodiment of the present invention, the sending module, including:
Election module, for based on the surplus resources letter with each Router Reflector for itself belonging to same Router Reflector group
Breath, Router Reflector is elected from each Router Reflector for itself belonging to same Router Reflector group;
Sending submodule, for sending the data message to the Router Reflector elected.
In a kind of specific embodiment of the embodiment of the present invention, described device also includes:
Processing module, for send the data message to itself belong at least one of same Router Reflector group
While Router Reflector, if itself obtaining the routing iinformation that the data message is hit, stop sending the datagram
Wen Zhiyu itself belongs at least one Router Reflector of same Router Reflector group, and hit according to the data message
The routing iinformation, forwards the data message.
In this programme, for Router Reflector, after it is restarted, if which giving a data message, it can go
Determine whether the data message hits any routing iinformation having in itself.If the data message has hit the route reflection
The a certain routing iinformation having in device, the routing iinformation that the Router Reflector can be hit according to the data message, forwarding
The data message, to realize the successful forwarding of data message.If having in the data message the is miss Router Reflector
Any routing iinformation, the Router Reflector will send the data message message to itself belong to same Router Reflector group
At least one Router Reflector.So, at least one Router Reflector, in the case where it is restarted,
The routing iinformation of the forwarding that can instruct the data message is certainly existed inside it, it can be according under in the routing iinformation
One jumps address, and at the data message forwarding to corresponding next-hop, so, the successful forwarding of the data message is achieved.
It can easily be seen that after Router Reflector is restarted, this programme realizes Router Reflector to data in a kind of simple and easy to do mode
The successful forwarding of message, so as to 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 data message processing method that Fig. 2 is provided by the embodiment of the present invention;
Fig. 3 is the another system architecture schematic diagram of EVPN;
A kind of structured flowchart of data message processing unit that Fig. 4 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 data message processing method and dress are the embodiment of the invention provides
Put.
A kind of data message processing method for being provided the embodiment of the present invention first below is illustrated.
It should be noted that a kind of data message processing method that the embodiment of the present invention is provided can apply to route instead
Emitter.In general, can include at least two Router Reflectors in EVPN, the data message processing method is applied particularly to this
Any Router Reflector at least two Router Reflectors.
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 data message processing method that the embodiment of the present invention is provided is shown in figure.Such as
Shown in Fig. 2, the method may include steps of:
S201, obtains data message.
S202, determines whether the data message hits any routing iinformation having in the Router Reflector;If it is,
S203 is performed, if it has not, performing S204.
For Router Reflector, after data message is obtained, it can carry out traversal lookup to local routing table,
With determine in local routing table whether the routing iinformation with the destination address that destination address is the data message.
If it is easily understood that being searched by traversal, the Router Reflector has found purpose in local routing table
Address is the routing iinformation of the destination address of the data message, and this shows the data message to hit in the Router Reflector to be had
Have, destination address is the routing iinformation of the destination address of the data message, and the routing iinformation that the data message is hit is i.e.
The forwarding of the data message can be instructed, therefore the Router Reflector can directly perform follow-up S203.
If conversely, being searched by traversal, the Router Reflector does not find destination address to be somebody's turn to do in local routing table
The routing iinformation of the destination address of data message, this illustrates any having in the miss Router Reflector of the data message
Routing iinformation, therefore the routing table in the Router Reflector cannot instruct the forwarding of the data message.In order to realize to the datagram
The successful forwarding of text, the Router Reflector can perform follow-up S204.
S203, according to the routing iinformation that the data message hits, forwards the data message.
S204, send the data message to at least one Router Reflector for itself belonging to same Router Reflector group.
It is understood that operating personnel can be pre-configured with to the Router Reflector, with the Router Reflector
Memory storage belongs to identification information (such as IP address of remaining Router Reflector of same Router Reflector group with the Router Reflector
Information).So, these identification informations that the Router Reflector is stored according to itself, you can easily determine and itself
Which the route reflection implement body for belonging to same Router Reflector group has, and according to result is determined, performs S204.
It should be noted that send the data message to at least one route for itself belonging to same Router Reflector group
Implementing for reflector is various informative, and citing introduction is carried out below.
In a kind of specific embodiment of the embodiment of the present invention, send the data message to itself belong to same route
At least one Router Reflector of reflector group, can include:
The advance structure using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
The communication tunnel built, send the data message to at least one Router Reflector for itself belonging to same Router Reflector group.
In this embodiment, for Router Reflector, after itself restarts, it can just go to build the route
Reflector and with the communication tunnel between each Router Reflector for itself belonging to same Router Reflector group.So, performing
During S204, the Router Reflector can utilize the communication tunnel for building in advance, conveniently and efficiently realize the success of data message
Send.
In another specific embodiment of the embodiment of the present invention, send the data message to itself belong to all the way
By at least one Router Reflector of reflector group, can include:
Build the Router Reflector and with the communication between each Router Reflector for itself belonging to same Router Reflector group
Tunnel;
Using constructed communication tunnel, send the data message to itself belong to same Router Reflector group at least
One Router Reflector.
In this embodiment, Router Reflector can't in advance build communication tunnel, only in the determination knot of S202
In the case that fruit is for no (i.e. the Router Reflector cannot successfully forward obtained data message according to the routing table of itself),
The Router Reflector can just go to build communication tunnel, and by constructed communication tunnel, realize being successfully transmitted for data message.
It is understood that in both the above implementation method, each communication tunnel can be based on the Router Reflector and
With the Border Gateway Protocol (BGP) neighborhood foundation between each Router Reflector for itself belonging to same Router Reflector group.
It is emphasized that in both the above implementation method, the communication tunnel can be EVPN VXLAN
(Ethernet Virtual Private Network Virtual eXtensible LAN, Ethernet VPN can
Extension Virtual Local Area Network) tunnel, certainly, the type of the communication tunnel is not limited thereto, specifically can be according to actual conditions
To determine, the present embodiment does not do any restriction to this.
With reference to Fig. 3, the specific implementation process of this programme is described in detail with a specific example.
Referring to Fig. 3, whole EVPN includes Router Reflector RR (i.e. RR1 and RR2), virtual expansible LAN tunnel end
Point VTEP (i.e. VTEP1 and VTEP2), and virtual machine VM (i.e. VM1 and VM2).
Assuming that whole network normal work for a period of time after, RR1 there occurs restarts, now, RR1 and VTEP1 and VTEP2
Between bgp neighbor relation experience release and the process that re-establishes successively.After bgp neighbor relation is re-established, VTEP1 and
All routing iinformations that VTEP2 respectively can store itself are sent to RR1.Assuming that sending road to RR1 in VTEP1 and VTEP2
During information, the destination address that VTEP1 have received VM1 transmissions is the data message of 11.1.1.100, at this moment,
VTEP1 carries out the Hash operation of load balancing, and is the data message of 11.1.1.100 by the destination address after Hash operation
It has been forwarded to RR1.So, RR1 just obtains the data message that the destination address is 11.1.1.100, next, RR1 can go to look into
See in the routing table of itself with the presence or absence of the routing iinformation that destination address is 11.1.1.100.
If RR1 has found the routing iinformation that destination address is 11.1.1.100 in the routing table of itself, this shows
RR1 currently obtains the routing iinformation that destination address is 11.1.1.100 from VTEP2, and now, RR1 will be according to the road
By the next hop address in information, at the data message forwarding to corresponding next-hop.
If conversely, RR1 do not found in the routing table of itself destination address be 11.1.1.100 routing iinformation, this
Show that RR1 is current and do not obtain the routing iinformation that destination address is 11.1.1.100 from VTEP2 also.
At this moment, in the case of constructing EVPN VXLAN tunnels in advance between RR1 and RR2, RR1 can utilize advance structure
The EVPN VXLAN tunnels built up, data message that will be obtained is sent to RR2.During specific implementation, RR1 and RR2 it
Between the EVPN VXLAN tunnels that build can be can to have between at least one, EVPN VXLAN tunnels and network segment address in advance
Having the corresponding relation between correspondence, also, EVPN VXLAN tunnels and network segment address can be stored in RR1.So, when
When RR1 does not find the routing iinformation that destination address is 11.1.1.100 in the routing table of itself, it can first determine
11.1.1.100 affiliated network segment address.Afterwards, RR1 can determine the corresponding EVPN of network segment address belonging to 11.1.1.100
VXLAN tunnels, finally, RR1 can be using identified EVPN VXLAN tunnels, at the obtained data message of transmission to RR2.
In the case of not building EVPN VXLAN tunnels in advance between RR1 and RR2, RR1 can be at itself and RR2 between
EVPN VXLAN tunnels are built, and after the EVPN VXLAN tunnels build, using the EVPN VXLAN tunnels for building
Road, data message that will be obtained is sent to RR2.It should be noted that when the EVPN VXLAN tunnels are built, RR1
Different network segment addresses can be directed to and build different EVPN VXLAN tunnels, or built for different network segment addresses same
EVPN VXLAN tunnels, also, RR1 can store the corresponding relation between EVPN VXLAN tunnels and network segment address.
The EVPN VXLAN tunnels that later use builds send the description in process and epimere at obtained data message to RR2
It is similar, will not be repeated here.
It is easily understood that can have VTEP2 synchronization mistakes in the case where RR2 is restarted, in the routing table in RR2
The all routing iinformations for going, then, the routing iinformation that destination address is 11.1.1.100 is certainly existed in the routing table of RR2.
Therefore, after RR2 obtains the data message of RR1 transmissions, RR2 can easily find mesh from the routing table of itself
Address be the routing iinformation of 11.1.1.100, and the next hop address in the routing iinformation, by the data message forwarding
To corresponding next-hop.
In this programme, for Router Reflector, after it is restarted, if which giving a data message, it can go
Determine whether the data message hits any routing iinformation having in itself.If the data message has hit the route reflection
The a certain routing iinformation having in device, the routing iinformation that the Router Reflector can be hit according to the data message, forwarding
The data message, to realize the successful forwarding of data message.If having in the data message the is miss Router Reflector
Any routing iinformation, the Router Reflector will send the data message message to itself belong to same Router Reflector group
At least one Router Reflector.So, at least one Router Reflector, in the case where it is restarted,
The routing iinformation of the forwarding that can instruct the data message is certainly existed inside it, it can be according under in the routing iinformation
One jumps address, and at the data message forwarding to corresponding next-hop, so, the successful forwarding of the data message is achieved.
It can easily be seen that after Router Reflector is restarted, this programme realizes route reflection in a kind of simple and easy to do mode
Successful forwarding of the device to data message, so as to avoid the loss of data message.
It should be noted that when the transmission for performing data message is operated, the sending object of the data message exists many
Possible situation is planted, citing introduction is carried out to the possible situation of two of which below.
In a kind of specific embodiment of the embodiment of the present invention, the sending object of the data message is and the route reflection
Device belongs to each Router Reflector of same Router Reflector group, now, send the data message to itself belong to all the way
By at least one Router Reflector of reflector group, can include:
Send the data message to each Router Reflector for itself belonging to same Router Reflector group.
It is easily understood that for belonging to each Router Reflector of same Router Reflector group with the Router Reflector and
Speech, is receiving data message, as long as it is restarted, it successfully can just be forwarded to the data message.
In another specific embodiment of the embodiment of the present invention, the sending object of the data message is anti-with the route
Emitter belongs to some Router Reflectors of same Router Reflector group, now, sends the data message and extremely belongs to same with itself
At least one Router Reflector of Router Reflector group, can include:
Based on the residual resource information with each Router Reflector for itself belonging to same Router Reflector group, belong to from itself
Router Reflector is elected in each Router Reflector of same Router Reflector group;
Send the data message to the Router Reflector elected.
For Router Reflector, if it finds miss any having in itself of the data message that itself is obtained
Routing iinformation, it can go to obtain anti-with each route for itself belonging to same Router Reflector group using method of the prior art
The residual resource information of emitter.Specifically, the residual resource information can be residual capacity information.Next, the route reflection
Device can elect the maximum Router Reflector of residual capacity from each Router Reflector for itself belonging to same Router Reflector,
And send datagram to the Router Reflector elected.So, restart in the Router Reflector elected
In the case of, the Router Reflector elected can be forwarded successfully to the data message.
It can easily be seen that in the case where Router Reflector is restarted, the present embodiment can realize the success of data message
Forwarding.
In a kind of specific embodiment of the embodiment of the present invention, the method can also include:
While sending datagram to at least one Router Reflector for itself belonging to same Router Reflector group,
If itself obtaining the routing iinformation that data message is hit, stopping send datagram to itself belong to same route reflection
At least one Router Reflector of device group, and the routing iinformation hit according to data message, forwarding data packets.
Below still with Fig. 3, the specific implementation process to the present embodiment is illustrated.
Assuming that after RR1 is restarted, RR1 obtains the data message that destination address is 11.1.1.100, also, the data message
Any routing iinformation having in miss RR1, at this moment, RR1 will utilize the EVPN VXLAN between RR1 and RR2 to communicate
Tunnel, the data message is sent to RR2.
In RR1 the datagram that the destination address is 11.1.1.100 is sent using the EVPN VXLAN communication tunnels to RR2
While literary, it is assumed that RR1 obtains the routing iinformation that the data message hit, and (i.e. destination address is the road of 11.1.1.100
By information), at this moment, RR1 will stop sending the data message to RR2 by the EVPN VXLAN tunnels, also, RR1 can be straight
Obtained using itself the, routing iinformation that the data message is hit is connect, the data message is forwarded.
It can easily be seen that the present embodiment also preferably ensure that successful forwarding of the Router Reflector to data message, so as to keep away
The loss of data message is exempted from.
In the present embodiment, it is assumed that after RR1 is restarted, RR1 finally obtains 200 details from VTEP2 and route, and according to
This 200 detailed routes, have obtained following table 1:
Table 1
Next, RR1 can carry out route aggregation to this 200 detailed routes in table 1, to obtain polymerization result, 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 VTEP1 due to Router Reflector is polyaluminium chloride PAC, thus Router Reflector need it is outside
The quantity of the route of transmission is effectively reduced.In addition, the quantity of the route stored as needed on the VTEP such as VTEP1 also can
It is effectively reduced, the scale of the routing table of VTEP memory storages will be greatly reduced.
To sum up, after Router Reflector is restarted, the present embodiment realizes Router Reflector in a kind of simple and easy to do mode
Successful forwarding to data message, so as to avoid the loss of data message.
A kind of data message processing unit for being provided the embodiment of the present invention below is illustrated.
Referring to Fig. 4, a kind of structured flowchart of data message processing unit that the embodiment of the present invention is provided is shown in figure.
As shown in figure 4, the device can apply to Router Reflector, the device can include:
Module 41 is obtained, for obtaining data message;
Whether determining module 42, any route having in the Router Reflector for determining data message to hit is believed
Breath;
Forwarding module 43, for being in the case of being, according to being somebody's turn to do that data message hits in the determination result of determining module
Routing iinformation, forwarding data packets;
Sending module 44, for the determination result of determining module in the case of no, send datagram to itself
Belong at least one Router Reflector of same Router Reflector group.
In this programme, for Router Reflector, after it is restarted, if which giving a data message, it can go
Determine whether the data message hits any routing iinformation having in itself.If the data message has hit the route reflection
The a certain routing iinformation having in device, the routing iinformation that the Router Reflector can be hit according to the data message, forwarding
The data message, to realize the successful forwarding of data message.If having in the data message the is miss Router Reflector
Any routing iinformation, the Router Reflector will send the data message message to itself belong to same Router Reflector group
At least one Router Reflector.So, at least one Router Reflector, in the case where it is restarted,
The routing iinformation of the forwarding that can instruct the data message is certainly existed inside it, it can be according under in the routing iinformation
One jumps address, and at the data message forwarding to corresponding next-hop, so, the successful forwarding of the data message is achieved.
It can easily be seen that after Router Reflector is restarted, this programme realizes route reflection in a kind of simple and easy to do mode
Successful forwarding of the device to data message, so as to avoid the loss of data message.
In a kind of specific embodiment of the embodiment of the present invention, sending module, specifically for:
The advance structure using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
The communication tunnel built, send datagram to at least one Router Reflector for itself belonging to same Router Reflector group.
In a kind of specific embodiment of the embodiment of the present invention, communication tunnel be based on the Router Reflector and and itself
Belong to what the Border Gateway Protocol (BGP) neighborhood between each Router Reflector of same Router Reflector group was set up.
In a kind of specific embodiment of the embodiment of the present invention, sending module can include:
Election module, for based on the surplus resources letter with each Router Reflector for itself belonging to same Router Reflector group
Breath, Router Reflector is elected from each Router Reflector for itself belonging to same Router Reflector group;
Sending submodule, for sending datagram to the Router Reflector elected.
In a kind of specific embodiment of the embodiment of the present invention, the device can also include:
Processing module, for send datagram to at least one route for itself belonging to same Router Reflector group
While reflector, if itself obtaining the routing iinformation that data message is hit, stopping sends datagram to itself and belongs to
In at least one Router Reflector of same Router Reflector group, and the routing iinformation hit according to data message, forwarding
Data message.
To sum up, after Router Reflector is restarted, the present embodiment realizes Router Reflector in a kind of simple and easy to do mode
Successful forwarding to data message, so as to 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 (10)
1. a kind of data message processing method, it is characterised in that be applied to Router Reflector, methods described includes:
Obtain data message;
Determine whether the data message hits any routing iinformation having in the Router Reflector;
If it is, the routing iinformation hit according to the data message, forwards the data message;
If it has not, send the data message to at least one Router Reflector for itself belonging to same Router Reflector group.
2. method according to claim 1, it is characterised in that the transmission data message with itself to belonging to same
At least one Router Reflector of Router Reflector group, including:
Built in advance using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
Communication tunnel, send the data message to at least one Router Reflector for itself belonging to same Router Reflector group.
3. method according to claim 2, it is characterised in that the communication tunnel be based on the Router Reflector and with from
What the Border Gateway Protocol (BGP) neighborhood that body belongs between each Router Reflector of same Router Reflector group was set up.
4. method according to claim 1, it is characterised in that the transmission data message with itself to belonging to same
At least one Router Reflector of Router Reflector group, including:
Based on the residual resource information with each Router Reflector for itself belonging to same Router Reflector group, belong to same from itself
Router Reflector is elected in each Router Reflector of one Router Reflector group;
Send the data message to the Router Reflector elected.
5. method according to claim 1, it is characterised in that methods described also includes:
While the data message is sent to at least one Router Reflector for itself belonging to same Router Reflector group,
If itself obtaining the routing iinformation that the data message is hit, stop the transmission data message and extremely belong to same with itself
At least one Router Reflector of Router Reflector group, and the routing iinformation hit according to the data message, forward institute
State data message.
6. a kind of data message processing unit, it is characterised in that be applied to Router Reflector, described device includes:
Module is obtained, for obtaining data message;
Determining module, for determining whether the data message hits any routing iinformation having in the Router Reflector;
Forwarding module, for being in the case of being, to be hit according to the data message in the determination result of the determining module
The routing iinformation, forwards the data message;
Sending module, for the determination result of the determining module in the case of no, send the data message to from
Body belongs at least one Router Reflector of same Router Reflector group.
7. device according to claim 6, it is characterised in that the sending module, specifically for:
Built in advance using the Router Reflector and between each Router Reflector for itself belonging to same Router Reflector group
Communication tunnel, send the data message to at least one Router Reflector for itself belonging to same Router Reflector group.
8. device according to claim 7, it is characterised in that the communication tunnel be based on the Router Reflector and with from
What the Border Gateway Protocol (BGP) neighborhood that body belongs between each Router Reflector of same Router Reflector group was set up.
9. device according to claim 6, it is characterised in that the sending module, including:
Election module, for based on the residual resource information with each Router Reflector for itself belonging to same Router Reflector group,
Router Reflector is elected from each Router Reflector for itself belonging to same Router Reflector group;
Sending submodule, for sending the data message to the Router Reflector elected.
10. device according to claim 6, it is characterised in that described device also includes:
Processing module, for send the data message to at least one route for itself belonging to same Router Reflector group
While reflector, if itself obtaining the routing iinformation that the data message is hit, stop sending the data message extremely
With at least one Router Reflector for itself belonging to same Router Reflector group, and the road hit according to the data message
By information, the data message is forwarded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113989.0A CN106911549B (en) | 2017-02-28 | 2017-02-28 | Data message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113989.0A CN106911549B (en) | 2017-02-28 | 2017-02-28 | Data message processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106911549A true CN106911549A (en) | 2017-06-30 |
CN106911549B CN106911549B (en) | 2020-10-30 |
Family
ID=59208994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710113989.0A Active CN106911549B (en) | 2017-02-28 | 2017-02-28 | Data message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106911549B (en) |
Cited By (4)
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 |
CN111327530A (en) * | 2018-12-14 | 2020-06-23 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
WO2021212424A1 (en) * | 2020-04-23 | 2021-10-28 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for load balancing for route reflector |
WO2022133646A1 (en) * | 2020-12-21 | 2022-06-30 | 华为技术有限公司 | Routing transmission method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100080222A1 (en) * | 2008-09-30 | 2010-04-01 | Cisco Technology, Inc. | Automatic rd rewrite technique to achieve fast convergence in inter-as networks |
CN102281199A (en) * | 2011-08-16 | 2011-12-14 | 华为数字技术有限公司 | Route equipment, route reflector and route information processing method and system |
CN103532839A (en) * | 2012-06-30 | 2014-01-22 | 丛林网络公司 | Selective BGP graceful restart in redundant router deployments |
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 CN201710113989.0A patent/CN106911549B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100080222A1 (en) * | 2008-09-30 | 2010-04-01 | Cisco Technology, Inc. | Automatic rd rewrite technique to achieve fast convergence in inter-as networks |
CN102281199A (en) * | 2011-08-16 | 2011-12-14 | 华为数字技术有限公司 | Route equipment, route reflector and route information processing method and system |
CN103532839A (en) * | 2012-06-30 | 2014-01-22 | 丛林网络公司 | Selective BGP graceful restart in redundant router deployments |
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 (6)
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 |
CN109218182B (en) * | 2018-11-21 | 2021-08-27 | 新华三技术有限公司 | Method and device for synchronizing routing information |
CN111327530A (en) * | 2018-12-14 | 2020-06-23 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
CN111327530B (en) * | 2018-12-14 | 2022-02-25 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
WO2021212424A1 (en) * | 2020-04-23 | 2021-10-28 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for load balancing for route reflector |
WO2022133646A1 (en) * | 2020-12-21 | 2022-06-30 | 华为技术有限公司 | Routing transmission method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106911549B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10666561B2 (en) | Virtual machine migration | |
US10116559B2 (en) | Operations, administration and management (OAM) in overlay data center environments | |
US9590902B2 (en) | Signaling aliasing capability in data centers | |
CN106878048B (en) | Fault processing method and device | |
US8761048B2 (en) | Managing hierarchical ethernet segments | |
CN107733793B (en) | Forwarding table item maintenance method and device | |
US10263808B2 (en) | Deployment of virtual extensible local area network | |
CN108259303B (en) | Message forwarding method and device | |
CN111092801B (en) | Data transmission method and device | |
CN109660441B (en) | Method and device for multicast replication in Overlay network | |
CN107317768B (en) | Traffic scheduling method and device | |
CN106911549A (en) | A kind of data message processing method and device | |
CN106878288B (en) | message forwarding method and device | |
CN103078800B (en) | Mac address information control method in EVI network and edge device | |
CN103634423A (en) | Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device | |
US20190215191A1 (en) | Deployment Of Virtual Extensible Local Area Network | |
CN108881013B (en) | Method and system for controlling gateway mode, SDN controller and access device | |
CN112887139A (en) | Message processing method and device | |
EP3018866A1 (en) | Signaling aliasing capability in data centers | |
CN111064659A (en) | Node protection of BUM traffic for multi-homed node failures | |
CN108667709A (en) | A kind of message forwarding method and device | |
CN108540386A (en) | One kind preventing Business Stream interrupt method and device | |
CN108322376A (en) | Route synchronization method, apparatus and machine readable storage medium | |
CN103873339B (en) | The distribution method and device of a kind of virtual gateway router | |
CN106936795A (en) | Set up the method and gateway device in internet protocol security tunnel |
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 |
Effective date of registration: 20230625 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. |
|
TR01 | Transfer of patent right |