CN107733793A - A kind of forwarding-table item maintaining method and device - Google Patents
A kind of forwarding-table item maintaining method and device Download PDFInfo
- Publication number
- CN107733793A CN107733793A CN201711218902.2A CN201711218902A CN107733793A CN 107733793 A CN107733793 A CN 107733793A CN 201711218902 A CN201711218902 A CN 201711218902A CN 107733793 A CN107733793 A CN 107733793A
- Authority
- CN
- China
- Prior art keywords
- evpn
- route
- routes
- forwarding
- vtep
- 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
-
- 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/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- 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)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention, which provides a kind of forwarding-table item maintaining method and device, methods described, to be included:When receiving the synchronous EVPN routes of the VTEP equipment in distributed aggregation group, and default mark being carried in EVPN routes, the EVPN routes are preserved;Wherein, default identify for indicating that the EVPN is route is the hyposynchronous routes for same MAC Address of the same distributed non-head of aggregation group;When the link failure of the target VTEP equipment in itself and the distributed aggregation group, according to forwarding-table item corresponding to the EVPN route maintenances for carrying the default mark preserved.The interruption of related service flow caused by can avoiding link failure in distributed aggregation group between VTEP equipment and distal end VTEP equipment using the embodiment of the present invention, improves networking reliability.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of forwarding-table item maintaining method and device.
Background technology
VXLAN (Virtual Extensible Local Area Network, expansible Virtual Local Area Network) is to be based on
IP (Internet Protocol, Internet protocol) network, using " MAC (Media Access Control, media interviews control
System) in UDP (User Datagram Protocol, UDP) " packing forms two-layer VPN (Virtual
Private Network, Virtual Private Network) technology.VXLAN can be based on existing service provider or enterprise IP network, be
Scattered physical site provides two layers of interconnection, and business isolation can be provided for different tenants.
At present, in order to improve the reliability of VXLAN networks, it is proposed that the concept of distribution polymerization, using networking shown in Fig. 1 as
Example, device A have 2 physical ports to add 1 aggregation port, and other end is 2 physical equipments (equipment B and equipment C), every thing
Reason equipment has a physical port to add aggregation port, and for device A, equipment B and equipment C are 1 equipment, for improving
B and C service reliabilitys.
EVPN (Ethernet Virtual Private Network, Ethernet VPN) is a kind of two layers
VPN technologies, control plane use MP-BGP (Multiprotocol Border Gateway Protocol, multiprotocol-border net
Close agreement) EVPN routing iinformations are noticed, datum plane is E-Packeted using VXLAN packaged types.
At present, MLAG (Multi-Chassis Link Aggregation Group, striding equipment link aggregation group) scene
Also EVPN technologies are supported, refer to Fig. 2, two VTEP (VXLAN Tunneling End Point, VXLAN endpoint of a tunnel)
Equipment (VTEP B and VTEP C) is with VM (Virtual Machine, a virtual machine) equipment (with CE (Customer in figure
Edge, user network boundary device) exemplified by A) the distributed paradigmatic system of structure.The flow that CE A are sent to VTEP B or VTEPC,
If same flow, in the case of both links are all normal, can Hash (hash) to wherein being turned on a link
Hair.Wherein, CE A are properly termed as dual-homed VM.
Assuming that the flow Hash that the source MAC that CE A are sent is A-A-A has been arrived above VTEP B, VTEP B can dynamics
The forwarding-table item of CE A MAC Address is practised, next-hop outgoing interface is AGG1, while VTEP B can pass through BGP (Border
Gateway Protocol, Border Gateway Protocol) MAC Address A-A-A MAC address entries are synchronized to VTEP D, next-hop by agreement
Outgoing interface is VTEP D to VTEP B/VTEP C VXLAN tunnels;VTEP B can also be by MLAG by MAC Address A-A-A
MAC address entries are synchronized to VTEP C equipment, and next-hop outgoing interface is distributed 1 mouthful of another AGG polymerizeing.List item is all same
After step is completed, if CE E equipment has two flows all to be forwarded to CE A, the source MAC of this two stream is different, point
It is not B-B-B and C-C-C, target MAC (Media Access Control) address is all A-A-A, and so this two flows can be loaded in VTEP D equipment
Share, two flows are forwarded to VTEP B and VTEP C respectively, arrived on VTEP B and VTEP C and then hit A-
A-A forwarding-table item, all forwarded by AGG 1 to CE A
But practice is found, in above-mentioned networking, VTEP C receive the synchronous MAC Address A-A-A of VTEP B MAC table
VTEP D will not be synchronized to after, if the link between VTEP B and VETP D breaks down, VTEP D can be by VTEP
The route withdraw of B preamble, cause just without the forwarding-table item to MAC Address A-A-A above VTEP D, even if now VTEP
Link between C and VTEP D is normal, can not also be used for carrying out the forwarding of business.
The content of the invention
The present invention provides a kind of forwarding-table item maintaining method and device, to solve its in distributed aggregation group in the prior art
In link failure between a VTEP equipment and distal end VTEP equipment the problem of causing partial service flow not forward normally.
First aspect according to embodiments of the present invention, there is provided a kind of forwarding-table item maintaining method, applied to operation Ethernet
The virtual expansible LAN endpoint of a tunnel in distal end in the striding equipment link aggregation group MLAG networkings of Virtual Private Network EVPN agreements
VTEP equipment, methods described include:
It route when receiving the synchronous EVPN of the VTEP equipment in distributed aggregation group, and is carried in EVPN routes
During default mark, the EVPN routes are preserved;Wherein, default identify for indicating that the EVPN is route is same distribution
The hyposynchronous routes for same MAC address of the non-head of aggregation group;
When the link failure of the target VTEP equipment in itself and the distributed aggregation group, according to the carrying preserved
There is forwarding-table item corresponding to the EVPN route maintenances of the default mark.
Second aspect according to embodiments of the present invention, there is provided a kind of forwarding-table item maintaining method, applied to operation Ethernet
Any in distributed aggregation group in the striding equipment link aggregation group MLAG networkings of Virtual Private Network EVPN agreements can virtually expand
LAN endpoint of a tunnel VTEP equipment is opened up, methods described includes:
Receive the synchronous EVPN routes of distributed polymerization DR neighbor devices;
Default mark is carried in EVPN routes, and the EVPN route synchronizations of the default mark will be carried to remote
Hold VTEP equipment;Wherein, default identify for indicating that the EVPN is route is that same distributed aggregation group is non-synchronous first
The route for same MAC address.
The third aspect according to embodiments of the present invention, there is provided a kind of forwarding-table item attending device, applied to operation Ethernet
The virtual expansible LAN endpoint of a tunnel in distal end in the striding equipment link aggregation group MLAG networkings of Virtual Private Network EVPN agreements
VTEP equipment, described device include:
Receiving unit, the EVPN route synchronous for receiving the VTEP equipment in distributed aggregation group;
Storage unit, the EVPN road synchronous for receiving the VTEP equipment in distributed aggregation group when the receiving unit
By, and when carrying default mark in EVPN routes, preserve the EVPN routes;Wherein, default identify is used to refer to
Show that the EVPN routes are the same distributed hyposynchronous roads for same MAC address of the non-head of aggregation group
By;
Maintenance unit, for when the link failure with the target VTEP equipment in the distributed aggregation group, according to institute
What is preserved carries forwarding-table item corresponding to the EVPN route maintenances of the default mark.
Fourth aspect according to embodiments of the present invention, there is provided a kind of forwarding-table item attending device, applied to operation Ethernet
Any in distributed aggregation group in the striding equipment link aggregation group MLAG networkings of Virtual Private Network EVPN agreements can virtually expand
Open up LAN endpoint of a tunnel VTEP equipment, it is characterised in that described device includes:
Receiving unit, the EVPN route synchronous for receiving distributed polymerization DR neighbor devices;
Transmitting element, for carrying default mark in EVPN routes, and the default mark will be carried
EVPN route synchronizations give distal end virtual expansible LAN endpoint of a tunnel VTEP equipment;Wherein, default identify is used to indicate
The EVPN routes are the hyposynchronous routes for same MAC address of the same distributed non-head of aggregation group.
Using the embodiment of the present invention, when the VTEP equipment in distributed aggregation group receives the synchronous EVPN of DR neighbor devices
During route, by being carried in EVPN routes for indicating that EVPN routes are the distributed non-hyposynchronous pins of head of aggregation group
To the default mark of the route of same MAC Address, and this is carried into the default EVPN route synchronizations identified and set to distal end VTEP
It is standby, so that during link failure between target VTEP equipment in distal end VTEP equipment and distributed aggregation group, distal end VTEP
Forwarding-table item corresponding to the EVPN route maintenances for carrying default mark that equipment can preserve according to itself, avoids related industry
The interruption of business flow, improves networking reliability.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of distributed polymerization networking;
Fig. 2 is a kind of configuration diagram of the MLAG networkings of operation EVPN agreements;
Fig. 3 is a kind of schematic flow sheet of forwarding-table item maintaining method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of forwarding-table item maintaining method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of forwarding-table item attending device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of forwarding-table item attending device provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real
Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
Fig. 3 is referred to, is a kind of schematic flow sheet of forwarding-table item maintaining method provided in an embodiment of the present invention, wherein,
The forwarding-table item maintaining method can apply to run the MLAG networkings of EVPN agreements, and the MLAG networkings include forming distributed gather
Charge-coupled multiple VTEP equipment, and the distal end VTEP equipment being connected respectively with multiple VTEP equipment in distributed polymerize, such as
Shown in Fig. 3, the forwarding-table item maintaining method can include:
It should be noted that in embodiments of the present invention, the executive agent of step 301~step 302 can be MLAG groups
The VTEP equipment in distributed aggregation group in net, VTEP B or the VTEP C in MLAG networkings as shown in Figure 2.
For ease of description, said below so that the executive agent of step 301~step 302 is the first VTEP equipment as an example
It is bright.
Step 301, receive the synchronous EVPN routes of DR neighbor devices.
In the embodiment of the present invention, aggregation group includes two VTEP equipment in a distributed manner, and another in distributed aggregation group
One VTEP equipment is exemplified by the 2nd VTEP equipment, i.e., the first VTEP equipment and the 2nd VTEP equipment belongs to same distributed polymerization
Group, the first VTEP equipment and the 2nd VTEP equipment DR neighbours each other.
In the embodiment of the present invention, when certain VM (the CE A in MLAG networkings as shown in Figure 2, is referred to herein as in MLAG networkings
First VM) reach the standard grade, and during the MAC address entries of the 2nd VTEP learning equipments to the first VM, the 2nd VTEP equipment can pass through EVPN
First VM MAC address entries are synchronized to the first VTEP equipment by route (such as the classes of EVPN 2 are route).
It should be noted that in embodiments of the present invention, after the MAC address entries of the 2nd VTEP learning equipments to the first VM,
It can also be route by EVPN and the MAC address entries are synchronized to distal end VTEP equipment (the VTEP D in MLAG networkings as shown in Figure 2);
After distal end VTEP equipment receives the synchronous EVPN routes of the 2nd VTEP equipment, the MAC table for the first VM can be carried out
Forwarding-table item corresponding to item study and generation, can subsequently to be instructed be sent to the first VM flow according to the forwarding-table item
Forwarding, it implements the related realization that may refer in existing MLAG networkings, and the embodiment of the present invention is not repeated this.
Step 302, the first default mark, and the EVPN roads that the first default mark will be carried are carried in EVPN routes
By being synchronized to distal end VTEP equipment.
In the embodiment of the present invention, it is contemplated that one of VTEP equipment in distributed aggregation group receives DR neighbor devices
, may be in distal end if the VTEP equipment does not give the EVPN route synchronizations to distal end VTEP equipment when synchronous EVPN is route
The link failure between another VTEP equipment in VTEP equipment and distributed aggregation group, and another VTEP equipment is synchronous
Route be revoked in the case of, cause distal end VTEP equipment can not be by itself between above-mentioned one of VTEP equipment
The related service traffics of link forwarding.
Meanwhile it is also contemplated that when in same distributed aggregation group multiple VTEP equipment by for same MAC Address
When EVPN route synchronizations give same distal end VTEP equipment, distal end VTEP equipment would generally select an EVPN route to retain, and
Carry out the generation of forwarding-table item and issue, when the VTEP equipment in distributed aggregation group corresponding to selected EVPN routes is with being somebody's turn to do
During link failure between the VTEP equipment of distal end, in the case that the synchronous route of the VTEP equipment is revoked, so as to can still lead
Cause distal end VTEP equipment can not be by the related industry of itself link forwarding between other VTEP equipment in distributed polymerization
Business flow.
Therefore, in embodiments of the present invention, a specific mark (referred to herein as default mark) can be preset,
It is the same distributed non-head of aggregation group hyposynchronous that the default mark carries EVPN routes for instruction for same MAC
The route of location;When the first VTEP equipment receives the synchronous EVPN routes of DR neighbor devices, can be taken in EVPN routes
Distal end VTEP equipment is given with the default mark, and by the EVPN route synchronizations for carrying the default mark.
Wherein, VTEP equipment in distal end receives the synchronous EVPN for the carrying above-mentioned default mark routes of the first VTEP equipment
When handling process may refer to associated description in method flow shown in Fig. 4, the embodiment of the present invention will not be described here.
It should be noted that in embodiments of the present invention, the first VTEP equipment receives the synchronization of the 2nd VTEP equipment
When EVPN is route, except the default mark of the meeting carrying wherein that embodiment describes according to the method described above, and distal end VTEP is synchronized to
, can also be according to the generation of forwarding-table item corresponding to the processing mode progress of existing procedure with issuing outside equipment, it is implemented
The related realization in existing MLAG networkings is may refer to, the embodiment of the present invention is not repeated this.
In the one of embodiment of the present invention, above-mentioned default mark can carry the MAC extended communitys in EVPN routes
In the reserved field of attribute.
In this embodiment it is possible to the MAC extended community attributes of EVPN routes are extended, in the MAC of EVPN routes
Above-mentioned default mark is carried in the reserved field of extended community attribute.
For example, 1 can be arranged to by a high position for the reserved field for the MAC extended community attributes for routeing EVPN, and with
It is default mark.
It should be noted that in embodiments of the present invention, above-mentioned default mark can also be carried in the newly-increased of EVPN routes
In field, i.e., EVPN routes are extended, increase the field for carrying above-mentioned default mark newly wherein, it is embodied in
This is not repeated.
Fig. 4 is referred to, is a kind of schematic flow sheet of forwarding-table item maintaining method provided in an embodiment of the present invention, wherein,
The forwarding-table item maintaining method can apply to run the MLAG networkings of EVPN agreements, and the MLAG networkings include forming distributed gather
Charge-coupled multiple VTEP equipment, and the distal end VTEP equipment being connected respectively with multiple VTEP equipment in distributed polymerize, such as
Shown in Fig. 4, the forwarding-table item maintaining method can include:
It should be noted that in embodiments of the present invention, the executive agent of step 401~step 402 can be MLAG groups
Distal end VTEP equipment in net, the VTEP D in MLAG networkings as shown in Figure 2, for ease of description, below with step 401~step
402 executive agent be the 3rd VTEP equipment exemplified by illustrate.
Step 401, when receiving the synchronous EVPN routes of the VTEP equipment in distributed aggregation group, and taken in EVPN routes
During with default mark, EVPN routes are preserved.
In the embodiment of the present invention, the VTEP equipment in distributed aggregation group synchronously carries pre- bidding to distal end VTEP equipment
The specific implementation of the EVPN routes of knowledge may refer to associated description in method flow shown in Fig. 3, and the embodiment of the present invention is herein not
Repeat again.
In the embodiment of the present invention, it is route when the 3rd VTEP equipment receives the synchronous EVPN of the first VTEP equipment, and determine
When carrying default mark in EVPN routes, the 3rd VTEP equipment can determine that EVPN routes are same distributed aggregation groups
The EVPN can route and be saved in storage by the hyposynchronous routes for same MAC Address of non-head, now, the 3rd VTEP equipment
Unit, but refuse to be route according to the EVPN and carry out the generation of forwarding-table item and issue.
Step 402, when itself link failure with the target VTEP equipment in the distributed aggregation group, according to being preserved
The EVPN route maintenances for carrying default mark corresponding to forwarding-table item.
In the embodiment of the present invention, as any VTEP equipment (this paper in the 3rd VTEP equipment and above-mentioned distributed aggregation group
In be referred to as target VTEP equipment, by taking the 2nd VTEP equipment as an example) link failure when, the 3rd VTEP equipment will be cancelled before this by the
The synchronous EVPN routes of two VTEP equipment (hereinafter referred to first kind EVPN routes), now, the 3rd VTEP equipment can be looked into
Ask the EVPN for the carrying above-mentioned default mark routes (hereinafter referred to Second Type EVPN route) of itself preservation, and according to
Forwarding-table item (i.e. the corresponding to Second Type EVPN route maintenance first kind EVPN routes corresponding to first kind EVPN routes
Three VTEP equipment route the forwarding-table item for generating and issuing according to first kind EVPN), i.e., it is route according to Second Type EVPN
Forwarding-table item corresponding to periodic refreshing first kind EVPN routes, prevents the forwarding-table item to be deleted.
It is above-mentioned according to the EVPN route maintenances for carrying default mark preserved in the one of embodiment of the present invention
Corresponding forwarding-table item, including:
It is route for the synchronous any EVPN of target VTEP equipment, inquiry, which whether there is, is directed to same MAC Address, and carries
There are the target EVPN routes of default mark, if in the presence of corresponding with any EVPN routes according to target EVPN route maintenances
Forwarding-table item.
In this embodiment, when the link failure between the 3rd VTEP equipment and the 2nd VTEP equipment, the 3rd VTEP is set
It is standby the EVPN routes (i.e. above-mentioned first kind EVPN is route) of the preamble of 2nd VTEP equipment to be cancelled, now, for appointing
One first kind EVPN is route, and the 3rd VTEP equipment may determine whether corresponding Second Type EVPN routes (herein
Referred to as target EVPN is route), i.e. target MAC (Media Access Control) address and next-hop all same with first kind EVPN routes, and carrying
The EVPN routes of above-mentioned default mark, if in the presence of corresponding according to target EVPN route maintenance first kind EVPN routes
Forwarding-table item.
It is above-mentioned according to target EVPN route maintenances and any EVPN routes pair in a kind of embodiment of the embodiment
The forwarding-table item answered, including:
When the quantity of target EVPN routes is multiple, according to advance one target EVPN route of policy selection, and according to
Target EVPN route maintenances and the corresponding forwarding-table item of any EVPN routes.
In this embodiment, when the quantity of target EVPN routes is multiple, i.e., distributed aggregation group include three or
More than VTEP equipment, and when each VTEP equipment receives DR neighbours' synchronous EVPN routes, carried in EVPN routes pre-
When bidding is known and is synchronized to distal end VTEP equipment, the 3rd VTEP equipment can be according to preset strategy from multiple target EVPN routes
One target EVPN route of selection, e.g., the 3rd VTEP equipment can select a target from multiple target EVPN routes at random
EVPN is route, or, the 3rd VTEP equipment can select the plurality of target EVPN route at first or the target that finally receives
EVPN routes (in this case, the 3rd VTEP equipment also needs to the time that record receives Second Type EVPN routes), and root
According to forwarding-table item corresponding to target EVPN route maintenance first kind EVPN routes.
It should be noted that in this embodiment, it is route for certain first kind EVPN, if being not present and the first kind
Corresponding to EVPN routes during Second Type EVPN routes, the 3rd VTEP equipment can delete to be forwarded corresponding to the first EVPN routes
List item.
It can be seen that in the method flow shown in Fig. 2 or Fig. 3, when the VTEP equipment in distributed aggregation group receives DR neighbours
When occupying the EVPN routes of equipment synchronization, by being carried in EVPN routes for indicating that EVPN routes are that the distribution polymerize
The default mark of the non-hyposynchronous routes for same MAC Address of head of group, and this is carried into the default EVPN identified and route
Distal end VTEP equipment is synchronized to, so that the link event between the target VTEP equipment in distal end VTEP equipment and distributed aggregation group
During barrier, forward table corresponding to the EVPN route maintenances for carrying default mark that distal end VTEP equipment can preserve according to itself
, the interruption of related service flow is avoided, improves networking reliability.
In order that those skilled in the art more fully understand technical scheme provided in an embodiment of the present invention, with reference to specific
Application scenarios technical scheme provided in an embodiment of the present invention is illustrated.
By taking MLAG networkings shown in Fig. 2 as an example, in the networking, VTEP B and VTEP C are two in distributed aggregation group
Equipment;CE A are virtual machine, and dual homed belongs to distributed paradigmatic system;Real ip address above VTEP B and VTEP C is
1.1.1.1 and 2.2.2.2, the virtual IP address externally noticed are 3.3.3.3, i.e., according to the ARP sent on dual-homed virtual machine to
Entrained when outer push EVPN route is virtual IP address;DR neighbours are recorded respectively in two equipment of VTEP B and VTEP C
The real ip address of equipment, the address of VTEP B records is 2.2.2.2, and the address of VTEP C records is 1.1.1.1.
Based on the application scenarios described in Fig. 2, forwarding-table item maintenance scheme implementation process provided in an embodiment of the present invention is as follows:
1st, after CE A reach the standard grade, it is assumed that the MAC address entries of VTEP B study to CE A, and then, VTEP B are to distal end VTEP D
Notice MAC Address is A-A-A, and the classes of EVPN 2 that next-hop is 3.3.3.3 are route, and VTEP D equipment is receiving the class roads of EVPN 2
By afterwards, generation forwarding-table item simultaneously issues, wherein, CE A IP address caused forwarding-table item, outgoing interface on VTEP D
For VXLAN tunnels tunnel 0, the tunnel 0 in VXLAN tunnels destination address is the virtual IP address of distributed paradigmatic system
3.3.3.3, equivalence is formed on VTEP D in the online 3.3.3.3 of Underlay route, when CE E will carry out business to CE A
The forwarding of flow, hash can be carried out on VTEP D, can using any one equipment of hash to VTEP B/VTEP C as
The tail node in VXLAN tunnels carries out the forwarding of business, and CE E are sent to CE A service traffics hash to VTEP B with VTEP D
Exemplified by;
2nd, VTEP B study is arrived after CE A MAC address entries, can also the CE A learnt MAC address entries be synchronized into VTEP
C, wherein, the synchronizing information of carrying includes MAC information, VXLAN id informations, and information and the classes of EVPN 2 route of DR mouths carry
MAC extended community attributes;After VTEP C equipment receives VTEP B synchronous MAC address entries, the MAC address entries can be issued
To with VTEP B identical distribution aggregation ports AGG 1;
3rd, after the VTEP B MAC address entries synchronously to come are issued AGG1 mouths by VTEP C, by CE A MAC Address A-A-A
Issue local EVPN MAC address entries, while give the MAC address entries to VTEP D equipment by the class route synchronizations of EVPN 2, and by EVPN
The high-order of the reserved field of MAC extended community attributes in route sets 1, shows that EVPN routes are same distributed aggregation groups
For the second hyposynchronous routes of MAC Address A-A-A;
4th, after VTEP D are receiving the EVPN routes of VTEP C synchronizations, the reservation in MAC extended community attributes is detected
A high position for field is 1, then the EVPN is route into local retain;When there is failure in the link between VTEP B and VTEP D,
The route that VTEP D are synchronized to before VTEP B is revoked, now, due to the MAC extensions for still having VTEP C to be synchronized to VTEP D
The EVPN routes that a high position for reserved field in group attribute is 1 can maintain forwarding-table item, therefore, MAC is directed on VTEP D
Address A-A-A forwarding-table item will not be deleted;
5th, when CE E need to carry out service traffics forwarding to CE A, VTEP D can enter according to forwarding-table item to VTEP C
Row forwarding, i.e., turn of CE A service traffics still can be arrived when link breaks down between VTEP B and VTEP D
Hair.
By above description as can be seen that in technical scheme provided in an embodiment of the present invention, when in distributed aggregation group
VTEP equipment when receiving the synchronous EVPN routes of DR neighbor devices, by being carried in EVPN routes for indicating this
EVPN routes are the default mark of the hyposynchronous routes for same MAC Address of the distributed non-head of aggregation group, and this is taken
EVPN route synchronizations with default mark give distal end VTEP equipment, so that distal end VTEP equipment and the mesh in distributed aggregation group
When marking the link failure between VTEP equipment, what distal end VTEP equipment can preserve according to itself carries default mark
Forwarding-table item corresponding to EVPN route maintenances, the interruption of related service flow is avoided, improve networking reliability.
Fig. 5 is referred to, is a kind of structural representation of forwarding-table item attending device provided in an embodiment of the present invention, wherein,
The 3rd VTEP equipment that the forwarding-table item attending device can apply in above method embodiment, as shown in figure 5, the forwarding
List item attending device can include:
Receiving unit 510, for receiving the virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregation group
Synchronous EVPN routes;
Storage unit 520, for receiving the synchronization of the VTEP equipment in distributed aggregation group when the receiving unit 510
EVPN is route, and when carrying default mark in EVPN routes, preserves the EVPN routes;Wherein, the default mark
For indicating that the EVPN routes are directed to same MAC address for the same distributed non-head of aggregation group is hyposynchronous
Route;
Maintenance unit 530, for when the link failure with the target VTEP equipment in the distributed aggregation group, according to
Forwarding-table item corresponding to the EVPN route maintenances for carrying the default mark preserved.
In an alternative embodiment, the maintenance unit 530, can be used for for synchronous any of the target VTEP equipment
EVPN is route, and inquiry, which whether there is, is directed to same MAC Address, and carries the target EVPN routes of the default mark, if depositing
Then according to the target EVPN route maintenances and the corresponding forwarding-table item of any EVPN routes.
In an alternative embodiment, the maintenance unit 530, it is additionally operable to when the quantity of target EVPN routes is multiple
When, according to advance one target EVPN route of policy selection, and it is route according to target EVPN route maintenances and any EVPN
Corresponding forwarding-table item.
Fig. 6 is referred to, is a kind of structural representation of forwarding-table item attending device provided in an embodiment of the present invention, wherein,
The first VTEP equipment that the forwarding-table item attending device can apply in above method embodiment, as shown in fig. 6, the forwarding
List item attending device can include:
Receiving unit 610, the EVPN route synchronous for receiving distributed polymerization DR neighbor devices;
Transmitting element 620, for carrying default mark in EVPN routes, and the default mark will be carried
EVPN route synchronizations give distal end virtual expansible LAN endpoint of a tunnel VTEP equipment;Wherein, default identify is used to indicate
The EVPN routes are the hyposynchronous routes for same MAC address of the same distributed non-head of aggregation group.
In an alternative embodiment, the default mark carries the reservation in the MAC extended community attributes of EVPN routes
In field.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, when the VTEP equipment in distributed aggregation group receives the synchronous EVPN of DR neighbor devices
During route, by being carried in EVPN routes for indicating that EVPN routes are the distributed non-hyposynchronous pins of head of aggregation group
To the default mark of the route of same MAC Address, and this is carried into the default EVPN route synchronizations identified and set to distal end VTEP
It is standby, so that during link failure between target VTEP equipment in distal end VTEP equipment and distributed aggregation group, distal end VTEP
Forwarding-table item corresponding to the EVPN route maintenances for carrying default mark that equipment can preserve according to itself, avoids related industry
The interruption of business flow, improves networking reliability.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.It is contemplated that cover the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including undocumented common knowledges in the art of the invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. a kind of forwarding-table item maintaining method, the striding equipment link aggregation applied to operation Ethernet Virtual Private Network EVPN agreements
The virtual expansible LAN endpoint of a tunnel VTEP equipment in distal end in group MLAG networkings, it is characterised in that methods described includes:
It route, and is carried in EVPN routes default when receiving the synchronous EVPN of the VTEP equipment in distributed aggregation group
During mark, the EVPN routes are preserved;Wherein, default identify polymerize for indicating that the EVPN route for same distribution
The non-hyposynchronous routes for same MAC address of head of group;
When the link failure of the target VTEP equipment in itself and the distributed aggregation group, according to the carrying preserved
State forwarding-table item corresponding to the EVPN route maintenances of default mark.
2. according to the method for claim 1, it is characterised in that described according to the default mark of carrying preserved
Forwarding-table item corresponding to EVPN route maintenances, including:
It is route for the synchronous any EVPN of the target VTEP equipment, inquiry, which whether there is, is directed to same MAC Address, and carries
The target EVPN for having the default mark is route, if in the presence of according to the target EVPN route maintenances and any EVPN roads
By corresponding forwarding-table item.
3. according to the method for claim 2, it is characterised in that described any with this according to the target EVPN route maintenances
Forwarding-table item corresponding to EVPN routes, including:
When the quantity of target EVPN routes is multiple, according to advance one target EVPN route of policy selection, and according to
Target EVPN route maintenances and the corresponding forwarding-table item of any EVPN routes.
4. a kind of forwarding-table item maintaining method, the striding equipment link aggregation applied to operation Ethernet Virtual Private Network EVPN agreements
Any virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregation group in group MLAG networkings, its feature exist
In methods described includes:
Receive the synchronous EVPN routes of distributed polymerization DR neighbor devices;
Default mark is carried in EVPN routes, and the EVPN route synchronizations of the default mark will be carried to distal end
VTEP equipment;Wherein, default identify for indicating that the EVPN is route is that the same distributed non-head of aggregation group is hyposynchronous
For the route of same MAC address.
5. according to the method for claim 4, it is characterised in that the default mark carries the MAC in EVPN routes
In the reserved field of extended community attribute.
6. a kind of forwarding-table item attending device, the striding equipment link aggregation applied to operation Ethernet Virtual Private Network EVPN agreements
The virtual expansible LAN endpoint of a tunnel VTEP equipment in distal end in group MLAG networkings, it is characterised in that described device includes:
Receiving unit, the EVPN route synchronous for receiving the VTEP equipment in distributed aggregation group;
Storage unit, the EVPN route synchronous for receiving the VTEP equipment in distributed aggregation group when the receiving unit,
And when carrying default mark in the EVPN routes, preserve the EVPN routes;Wherein, default identify is used to indicate institute
It is the hyposynchronous routes for same MAC address of the same distributed non-head of aggregation group to state EVPN routes;
Maintenance unit, for when the link failure with the target VTEP equipment in the distributed aggregation group, according to being preserved
The EVPN route maintenances for carrying the default mark corresponding to forwarding-table item.
7. device according to claim 6, it is characterised in that
The maintenance unit, for being route for the synchronous any EVPN of the target VTEP equipment, inquiry, which whether there is, to be directed to
Same MAC Address, and the target EVPN routes of the default mark are carried, if in the presence of according to target EVPN routes
Safeguard and the corresponding forwarding-table item of any EVPN routes.
8. device according to claim 6, it is characterised in that
The maintenance unit, it is additionally operable to when the quantity of target EVPN routes is multiple, according to advance policy selection one
Target EVPN is route, and according to target EVPN route maintenances and the corresponding forwarding-table item of any EVPN routes.
9. a kind of forwarding-table item attending device, the striding equipment link aggregation applied to operation Ethernet Virtual Private Network EVPN agreements
Any virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregation group in group MLAG networkings, its feature exist
In described device includes:
Receiving unit, the EVPN route synchronous for receiving distributed polymerization DR neighbor devices;
Transmitting element, for carrying default mark, and the EVPN roads that the default mark will be carried in EVPN routes
By being synchronized to distal end VTEP equipment;Wherein, default identify for indicating that the EVPN is route is same distributed aggregation group
The hyposynchronous routes for same MAC address of non-head.
10. device according to claim 9, it is characterised in that the default mark carries the MAC in EVPN routes
In the reserved field of extended community attribute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711218902.2A CN107733793B (en) | 2017-11-28 | 2017-11-28 | Forwarding table item maintenance method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711218902.2A CN107733793B (en) | 2017-11-28 | 2017-11-28 | Forwarding table item maintenance method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107733793A true CN107733793A (en) | 2018-02-23 |
CN107733793B CN107733793B (en) | 2020-03-06 |
Family
ID=61219905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711218902.2A Active CN107733793B (en) | 2017-11-28 | 2017-11-28 | Forwarding table item maintenance method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733793B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108494686A (en) * | 2018-02-28 | 2018-09-04 | 新华三技术有限公司 | Route processing method and device |
CN108540386A (en) * | 2018-04-19 | 2018-09-14 | 新华三技术有限公司 | One kind preventing Business Stream interrupt method and device |
CN108600073A (en) * | 2018-04-19 | 2018-09-28 | 新华三技术有限公司 | A kind of dynamic tunnel method for building up and device |
CN108718278A (en) * | 2018-04-13 | 2018-10-30 | 新华三技术有限公司 | A kind of message transmitting method and device |
CN108768845A (en) * | 2018-04-03 | 2018-11-06 | 新华三技术有限公司 | A kind of multi-homed host route synchronization method and device |
CN108881024A (en) * | 2018-05-31 | 2018-11-23 | 新华三技术有限公司 | A kind of flux of multicast retransmission method and device |
CN108900414A (en) * | 2018-06-08 | 2018-11-27 | 新华三技术有限公司 | Forwarding table generation method and device |
CN109412925A (en) * | 2018-09-30 | 2019-03-01 | 锐捷网络股份有限公司 | Forwarding-table item update method and VTEP based on VTEP |
CN109495368A (en) * | 2018-12-19 | 2019-03-19 | 锐捷网络股份有限公司 | The update method and the network equipment of mac address forwarding table |
WO2019201209A1 (en) * | 2018-04-19 | 2019-10-24 | 新华三技术有限公司 | Message forwarding |
CN111711571A (en) * | 2020-08-20 | 2020-09-25 | 湖南智领通信科技有限公司 | Ad hoc network on-demand routing method and device supporting IP transparent transmission and computer equipment |
CN111786882A (en) * | 2020-06-30 | 2020-10-16 | 中国联合网络通信集团有限公司 | Route processing method and device |
CN111865779A (en) * | 2020-07-13 | 2020-10-30 | 中国联合网络通信集团有限公司 | Route synchronization method and cross-device link aggregation group |
CN111884922A (en) * | 2020-07-21 | 2020-11-03 | 芯河半导体科技(无锡)有限公司 | Local forwarding system for cross-device link aggregation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878288A (en) * | 2017-01-20 | 2017-06-20 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN106878047A (en) * | 2016-12-13 | 2017-06-20 | 新华三技术有限公司 | Fault handling method and device |
CN106878166A (en) * | 2017-01-22 | 2017-06-20 | 新华三技术有限公司 | Route advertising method and device |
US20170288948A1 (en) * | 2016-03-30 | 2017-10-05 | Juniper Networks, Inc. | Failure handling for active-standby redundancy in evpn data center interconnect |
CN107342941A (en) * | 2017-06-01 | 2017-11-10 | 杭州迪普科技股份有限公司 | A kind of optimization method and device of VXLAN control planes |
-
2017
- 2017-11-28 CN CN201711218902.2A patent/CN107733793B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170288948A1 (en) * | 2016-03-30 | 2017-10-05 | Juniper Networks, Inc. | Failure handling for active-standby redundancy in evpn data center interconnect |
CN106878047A (en) * | 2016-12-13 | 2017-06-20 | 新华三技术有限公司 | Fault handling method and device |
CN106878288A (en) * | 2017-01-20 | 2017-06-20 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN106878166A (en) * | 2017-01-22 | 2017-06-20 | 新华三技术有限公司 | Route advertising method and device |
CN107342941A (en) * | 2017-06-01 | 2017-11-10 | 杭州迪普科技股份有限公司 | A kind of optimization method and device of VXLAN control planes |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108494686A (en) * | 2018-02-28 | 2018-09-04 | 新华三技术有限公司 | Route processing method and device |
CN108768845A (en) * | 2018-04-03 | 2018-11-06 | 新华三技术有限公司 | A kind of multi-homed host route synchronization method and device |
CN108768845B (en) * | 2018-04-03 | 2021-04-27 | 新华三技术有限公司 | Multi-homing host routing synchronization method and device |
CN108718278A (en) * | 2018-04-13 | 2018-10-30 | 新华三技术有限公司 | A kind of message transmitting method and device |
CN108718278B (en) * | 2018-04-13 | 2021-04-27 | 新华三技术有限公司 | Message transmission method and device |
CN108600073B (en) * | 2018-04-19 | 2020-12-29 | 新华三技术有限公司 | Dynamic tunnel establishment method and device |
CN108540386A (en) * | 2018-04-19 | 2018-09-14 | 新华三技术有限公司 | One kind preventing Business Stream interrupt method and device |
CN108600073A (en) * | 2018-04-19 | 2018-09-28 | 新华三技术有限公司 | A kind of dynamic tunnel method for building up and device |
CN108540386B (en) * | 2018-04-19 | 2021-07-23 | 新华三技术有限公司 | Method and device for preventing service flow interruption |
WO2019201209A1 (en) * | 2018-04-19 | 2019-10-24 | 新华三技术有限公司 | Message forwarding |
CN108881024A (en) * | 2018-05-31 | 2018-11-23 | 新华三技术有限公司 | A kind of flux of multicast retransmission method and device |
CN108881024B (en) * | 2018-05-31 | 2021-03-23 | 新华三技术有限公司 | Multicast traffic forwarding method and device |
CN108900414A (en) * | 2018-06-08 | 2018-11-27 | 新华三技术有限公司 | Forwarding table generation method and device |
CN109412925A (en) * | 2018-09-30 | 2019-03-01 | 锐捷网络股份有限公司 | Forwarding-table item update method and VTEP based on VTEP |
CN109412925B (en) * | 2018-09-30 | 2021-06-18 | 锐捷网络股份有限公司 | Forwarding table item updating method based on VTEP and VTEP |
CN109495368A (en) * | 2018-12-19 | 2019-03-19 | 锐捷网络股份有限公司 | The update method and the network equipment of mac address forwarding table |
CN111786882A (en) * | 2020-06-30 | 2020-10-16 | 中国联合网络通信集团有限公司 | Route processing method and device |
CN111865779A (en) * | 2020-07-13 | 2020-10-30 | 中国联合网络通信集团有限公司 | Route synchronization method and cross-device link aggregation group |
CN111865779B (en) * | 2020-07-13 | 2022-08-02 | 中国联合网络通信集团有限公司 | Route synchronization method and cross-device link aggregation group |
CN111884922A (en) * | 2020-07-21 | 2020-11-03 | 芯河半导体科技(无锡)有限公司 | Local forwarding system for cross-device link aggregation |
CN111711571B (en) * | 2020-08-20 | 2020-11-13 | 湖南智领通信科技有限公司 | Ad hoc network on-demand routing method and device supporting IP transparent transmission and computer equipment |
CN111711571A (en) * | 2020-08-20 | 2020-09-25 | 湖南智领通信科技有限公司 | Ad hoc network on-demand routing method and device supporting IP transparent transmission and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107733793B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107733793A (en) | A kind of forwarding-table item maintaining method and device | |
CN107911258B (en) | SDN network-based security resource pool implementation method and system | |
US10243830B2 (en) | Software defined network-based gateway migation processing | |
US9338086B2 (en) | Hierarchal label distribution and route installation in a loop-free routing topology using routing arcs at multiple hierarchal levels for ring topologies | |
WO2021007963A1 (en) | Route distribution method and controller, information routing method and network node device | |
CN109863725A (en) | Segment routing based on maximum segment identifier depth | |
CN106664252A (en) | Method, device and system for realizing service link | |
CN106878048A (en) | Fault handling method and device | |
CN105052090A (en) | Seamless segment routing | |
CN106603413B (en) | Method and device for transmitting flow through designated path | |
US9559909B2 (en) | Identifying an egress port of a device | |
CN104168209B (en) | Multiple access SDN message forwarding method and controller | |
CN104081692B (en) | For the network equipment of FCoE fusion structures, method and apparatus | |
CN107612808A (en) | Tunnel establishing method and device | |
CN108600415A (en) | A kind of virtual network accesses method, system and the SDN controllers of outer net | |
CN108173694A (en) | The secure resources pond cut-in method and system of a kind of data center | |
US20150089629A1 (en) | Network label allocation method, device, and system | |
US9531598B2 (en) | Querying a traffic forwarding table | |
EP2880826A1 (en) | Label distribution and route installation in a loop-free routing topology using routing arcs | |
CN105162704A (en) | Multicast replication method and device in Overlay network | |
CN107948041A (en) | The method and apparatus for building the more gateways living of VXLAN centralizations | |
CN107094110A (en) | A kind of DHCP message retransmission method and device | |
JP2019536366A (en) | Packet forwarding | |
CN106878136A (en) | A kind of message forwarding method and device | |
JP6884891B2 (en) | Route synchronization |
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 |