CN108521377A - route issuing method and device - Google Patents
route issuing method and device Download PDFInfo
- Publication number
- CN108521377A CN108521377A CN201810673020.3A CN201810673020A CN108521377A CN 108521377 A CN108521377 A CN 108521377A CN 201810673020 A CN201810673020 A CN 201810673020A CN 108521377 A CN108521377 A CN 108521377A
- Authority
- CN
- China
- Prior art keywords
- routing
- irt
- equipment
- ert
- issued
- 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
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This disclosure relates to which a kind of route issuing method and device, this method include:The extended community attribute RT information of each PE equipment is obtained from each service provider network edge PE equipment being connected with RR, the RT information includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT;And to corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that the PE equipment corresponding to the ERT is according to the routing to be issued of target IRT determinations.Therefore, PE equipment corresponding to ERT can be according to the routing to be issued of target IRT determinations, that is, PE equipment corresponding to ERT is automatically using target IRT as RT filtering policies, as a result, compared with the prior art in need the manual configuration RT filtering policies in source PE equipment, the disclosure that RT filtering policies are set automatically without manual configuration RT filtering policies, operation is flexible, and user experience is good.
Description
Technical field
This disclosure relates to field of communication technology more particularly to a kind of route issuing method and device.
Background technology
MPLS (Multi-Protocol Label Switching, multiprotocol label switching) L3VPN (Layer
3Virtual Private Network, three-layer virtual special network) it is a kind of PE (Provider Edge, service provider's net
Network edge) equipment L3VPN technologies, it use BGP (Border Gateway Protocol, Border Gateway Protocol) RT
(Route Target, extended community attribute) come control VPN routing publication.
VPN instance in PE equipment has two class RT attributes:ERT (Export Route Target, outgoing direction extended community
Attribute) and IRT (Import Route Target, enter Directional Extension group attribute).Wherein, local PE equipment from itself
After connected Site (website) study to IPv4 routings, IPv4 routings are converted into VPN-IPv4 routings, are route for VPN-IPv4
ERT is set and the VPN-IPv4 for carrying ERT routings are distributed to other PE equipment.PE equipment is receiving other PE equipment hairs
When the VPN-IPv4 routings of cloth, VPN-IPv4 routings entrained ERT, the IRT of the VPN instance on ERT and PE equipment are checked
When attributes match, VPN-IPv4 is route in the routing table that the VPN instance is added.
It is connected entirely to reduce IBGP (Internal BGP, internal bgp), RR is introduced into BGP L3VPN networkings
(Route Reflector, Router Reflector), BGP L3VPN networkings as a result, include three component parts:CE(Customer
Edge, customer network edge) equipment, PE equipment and RR, wherein RR and PE equipment establish BGP.However, to BGP L3VPN networkings
Introducing RR leads to the presence of a large amount of routing on RR.
In order to reduce the routing on RR, the manual configuration RT filtering policies in source PE equipment are needed, in source PE equipment
Route filtering is completed when sending routing to RR, so as to reduce quantity of the source PE equipment to the RR routings sent.
For example, Fig. 1 is a kind of schematic diagram of BGP L3VPN networkings.As shown in Figure 1, the networking include CE1, CE2, CE3,
CE4, PE1, PE2, PE3 and RR.VPN1 and VPN2 are configured on PE1, the ERT of VPN1 is 200:1, VPN2 ERT is 300:1,
VPN3 is configured on PE2, the IRT of VPN3 is 200:VPN4 is configured on 1, PE3, the IRT of VPN4 is 100:1.
In order to reduce the routing on RR, it is 100 to need the manual configuration IRT on PE1:1 and 200:1 RT filtering policies.
By the RT filtering policies, it is 100 that PE1 only carries ERT to RR transmissions:1 or ERT is 200:1 routing, due to VPN1's
ERT is 200:The ERT of 1 and VPN2 is 300:1, therefore the routing iinformation for carrying CE1 publications is only sent to RR by PE1 and ERT is
200:1 VPN1 routings are 300 without sending the routing iinformation for carrying CE2 publications and ERT to RR:1 VPN2 routings.
However, due to needing manual configuration RT filtering policies, malfunction, user experience in source PE equipment
Difference.
Invention content
In view of this, the present disclosure proposes a kind of route issuing method and devices.
According to the disclosure in a first aspect, a kind of route issuing method is provided, applied to Router Reflector RR, the side
Method includes:
The extended community attribute RT letters of each PE equipment are obtained from each service provider network edge PE equipment being connected with RR
Breath, the RT information includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT;
To corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that corresponding to the ERT
PE equipment is according to the routing to be issued of target IRT determinations.
According to the second aspect of the disclosure, a kind of route issuing method is provided, is applied to source service provider network
Edge PE equipment, the method includes:
It receives the target transmitted by Router Reflector RR and enters Directional Extension group attribute IRT;
In routing to be issued, according to the ERT entrained by the target IRT and the routing, determine in the routing
The routing to be issued.
According to the third aspect of the disclosure, a kind of routing distributing device is provided, is applied to Router Reflector RR, the dress
Set including:
Acquisition module, the extension for obtaining each PE equipment from each service provider network edge PE equipment being connected with RR
Group attribute RT information, the RT information include into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT;
First sending module, for corresponding to the ERT PE equipment send with the matched target IRT of the ERT, with
Make the PE equipment corresponding to the ERT according to the routing to be issued of target IRT determinations.
According to the fourth aspect of the disclosure, a kind of routing distributing device is provided, is applied to source service provider network
Edge PE equipment, described device include:
Receiving module enters Directional Extension group attribute IRT for receiving the target transmitted by Router Reflector RR;
Determining module, in routing to be issued, according to the ERT entrained by the target IRT and the routing, determining
The routing to be issued in the routing.
Technical solution provided by the present disclosure can include the following benefits:PE equipment corresponding to ERT can according to from
The routing to be issued of target IRT determinations that RR is received, that is to say, that PE equipment corresponding to ERT automatically using target IRT as
RT filtering policies, as a result, compared with the prior art in need the manual configuration RT filtering policies in source PE equipment, the disclosure from
Dynamic setting RT filtering policies are without manual configuration RT filtering policies, and operation is flexible, and user experience is good.
Also, ERT entrained by the routing that RR is received according to the PE equipment corresponding to the ERT and IRT that is recorded with
The correspondence of PE equipment to determine the routing equipment to be sent to, and sends the routing, as a result, to the equipment determined
RR in compared with the prior art is other in addition to the PE equipment for sending aforementioned routing into coupled all PE equipment
PE equipment issues routing, and for the disclosure only to according to PE equipment publication routing determined by the entrained ERT of routing, RR can essence
The publication for really controlling routing mitigates the routing publication pressure of RR.
In addition, the PE that the RR in compared with the prior art removes the aforementioned routing of transmission into coupled all PE equipment is set
Other PE equipment other than standby issue routing, and addresses of the RR directly entrained by the routing received turns the routing
Hair, RR is only the PE equipment publication routing of the address entrained by the routing that receives to address as a result, and RR can be accurately controlled
The publication of routing mitigates the routing publication pressure of RR, and RR is not necessarily to what the routing that be issued for determination to be sent to
The processing of equipment alleviates the processing pressure of RR.
In addition, RR carries out duplicate removal processing to the target IRT determined, and after having carried out duplicate removal processing to the transmission of PE equipment
Target IRT, thus, it is possible to save link bandwidth resource.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Description of the drawings
Including in the description and the attached drawing of a part for constitution instruction and specification together illustrate the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 is a kind of schematic diagram of BGP L3VPN networkings.
Fig. 2 is a kind of schematic diagram of BGP L3VPN networkings.
Fig. 3 is a kind of flow chart of route issuing method shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of route issuing method shown according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of route issuing method shown according to an exemplary embodiment.
Fig. 6 is a kind of flow chart of route issuing method shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.
Figure 11 is a kind of hardware block diagram of routing distributing device shown according to an exemplary embodiment.
Specific implementation mode
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Reference numeral indicate functionally the same or similar element.Although the various aspects of embodiment are shown in the accompanying drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in specific implementation mode below.
It will be appreciated by those skilled in the art that without certain details, the disclosure can equally be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 2 is a kind of schematic diagram of BGP L3VPN networkings.As shown in Fig. 2, the networking include CE1, CE2, CE3, CE4,
CE5, PE1, PE2, PE3, PE4 and RR.CE1 and CE2 are connected with PE1 respectively, and CE3 is connected with PE2, and CE4 is connected with PE3, CE5 with
PE4 is connected, and CE1 issues the routing of 1.1.1.1/32, and CE2 issues the routing of 2.2.2.2/32.Be configured on PE1 VPN1 and
The ERT of VPN2, VPN1 are 200:1, VPN2 ERT is 300:1.VPN3 is configured on PE2, the IRT of VPN3 is 200:1.On PE3
It is configured with VPN4, the IRT of VPN4 is 100:1.VPN5 is configured on PE4, the IRT of VPN5 is 200:1.The road that PE1 can be issued
It is 1.1.1.1/32 and ERT is 200 by including routing iinformation:1 routing 1 and routing iinformation are 2.2.2.2/32 and ERT is
300:1 routing 2.
Fig. 3 shows the flow chart of the route issuing method according to one embodiment of the disclosure.The route issuing method can answer
For Router Reflector RR.For purposes of illustration only, being described by taking networking shown in Fig. 2 as an example below.As shown in figure 3, the routing
Dissemination method may include steps of.
In step s 320, the extension of each PE equipment is obtained from each service provider network edge PE equipment being connected with RR
Group attribute RT information, the RT information include into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
In the present embodiment, RR can obtain the RT information for each PE equipment being connected with itself in the following way:RR passes through
The message of the RT information for obtaining PE equipment is sent to coupled each PE equipment to obtain the RT information of each PE equipment.Tool
Body, RR sends the message of the RT information for obtaining PE equipment to coupled each PE equipment, is received in each PE equipment
When the message, the RT information of itself is sent to RR by each PE equipment.In another implementation, each PE equipment can be in predetermined week
The RT information of itself is sent to RR in phase.Particularly, when the RT information of each PE equipment changes, each PE equipment will change
RT information afterwards is sent to RR.
In one implementation, PE equipment can by RR send route refresh (route-refresh) message come
The RT information of itself is sent to RR, which carries the RT information of PE equipment.Therefore, in compared with the prior art
Route refresh message, the route refresh message of the present embodiment carries the RT information of PE equipment.Certainly, the route refresh message
The mark of PE equipment is also carried, marks of the RR entrained by route refresh message determines the route refresh message as a result,
It is to be sent by which PE equipment.One or more VPN can be configured in PE equipment, and can be that each VPN configures one
IRT or ERT.The IRT or ERT that each VPN is configured may be the same or different.
Illustratively, for networking shown in Fig. 2, PE1, which sends to carry to RR, is identified as PE1, ERT 200:1 and ERT is
300:1 route refresh message, it is 200 that PE2 sends carrying to be identified as PE2 and IRT to RR:1 route refresh message, PE3 to
It is 100 that RR, which sends carrying and is identified as PE3 and IRT,:1 route refresh message, PE4 is identified as PE2 to RR transmission carryings and IRT is
200:1 route refresh message.
In step S340, to corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that institute
The PE equipment corresponding to ERT is stated according to the routing to be issued of target IRT determinations.
In the present embodiment, after the RT information that RR gets each PE equipment, RR by the ERT in RT information respectively with RT information
In IRT matched, target IRT will be determined as with the matched IRT of ERT, and (ERT institutes are right to the PE equipment corresponding to ERT
The PE equipment answered can be described as source PE equipment) send identified target IRT.Illustratively, RR can be by corresponding to ERT
PE equipment send the route refresh message for carrying target IRT, target IRT is sent to the PE equipment corresponding to ERT.
Illustratively, for networking shown in Fig. 2, RR gets ERT 200 from PE1 to PE4 respectively:1、ERT 300:1、
IRT 200:1、IRT 200:1 and IRT 100:1, therefore RR is by ERT 200:1 respectively with IRT 200:1、IRT 200:1 with
And IRT 100:1 is matched, and by ERT 300:1 respectively with IRT 200:1、IRT 200:1 and IRT 100:1 progress
Match, finds and ERT 200:1 matched IRT is 200:1, therefore RR determines IRT 200:1 is target IRT.Therefore, RR to
ERT 200:PE equipment, that is, PE1 corresponding to 1, which is sent, carries target IRT 200:1 route refresh message.
In the first realization method, the PE equipment corresponding to ERT can determine the road to be issued according to such as under type
By:ERT in the routing that PE equipment corresponding to ERT will be issued is matched with target IRT and by ERT and target IRT
Matched routing is determined as the routing to be issued.Illustratively, for networking shown in Fig. 2, target is received from RR in PE1
IRT 200:After 1, PE1 is by target IRT200:1 respectively with ERT 200:1 and ERT 300:1 is matched, due to target IRT
200:1 only with ERT 200:1 matching, therefore routing 1 is only determined as the routing to be issued by PE1.
In second of realization method, the PE equipment corresponding to ERT can determine the road to be issued according to such as under type
By:RT information routing corresponding with target IRT in the routing that PE equipment corresponding to ERT will directly be issued is determined as
The routing to be issued, without matching target IRT with ERT.Illustratively, for networking shown in Fig. 2, PE1 from
RR receives target IRT 200:After 1, PE1 determines that the RT information of itself includes 200:1 and 300:1, PE1 directly will include that RT believes
Breath is 200:1 routing 1 is determined as the routing to be issued.
Therefore, in the present embodiment, RR collects the RT information of coupled each PE equipment, and is set to the PE corresponding to ERT
Preparation send with the matched target IRT of ERT, in this way, PE equipment corresponding to ERT can be wanted according to the target IRT determinations received
The routing of publication, that is to say, that the PE equipment corresponding to ERT automatically using target IRT as RT filtering policies, as a result, compared to
Need the manual configuration RT filtering policies in source PE equipment in the prior art, the disclosure be arranged automatically RT filtering policies without
Manual configuration RT filtering policies, operation is flexible, and user experience is good.
In one implementation, above-mentioned route issuing method can also include the following steps:
Duplicate removal processing is carried out to the target IRT, wherein the duplicate removal processing is used to remove the target IRT repeated,
Correspondingly, step S340 can specifically include:
The target IRT after carrying out the duplicate removal processing is sent to the PE equipment corresponding to the ERT.
In the present embodiment, after RR determines target IRT, RR can remove the target IRT of repetition, and to corresponding to ERT
PE equipment send removal repeat target IRT after target IRT.Thus, it is possible to avoid RR to the PE equipment hair corresponding to ERT
Send identical target IRT, it is possible to reduce the information that RR is sent to the PE equipment corresponding to ERT, so as to save link bandwidth
Resource.
Illustratively, for networking shown in Fig. 2, RR gets target IRT 200:1 and IRT 200:1, RR to this two
A target IRT carries out duplicate removal processing, and the target IRT after duplicate removal processing is 200:1, RR sends carrying to PE1 is identified as RR and IRT
It is 200:1 and 100:1 message, it is 200 to send carrying to be identified as RR and IRT to PE1 compared to RR as a result,:1 and 200:1
Message can save link bandwidth resource.
Fig. 4 shows the flow chart of the route issuing method according to one embodiment of the disclosure.The route issuing method can answer
For Router Reflector RR.For purposes of illustration only, being described by taking networking shown in Fig. 2 as an example below.As shown in figure 4, the routing
Dissemination method may include steps of.
In step S410, the extension of each PE equipment is obtained from each service provider network edge PE equipment being connected with RR
Group attribute RT information, the RT information include into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
In the step s 420, to corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that institute
The PE equipment corresponding to ERT is stated according to the routing to be issued of target IRT determinations.
About the explanation of step S410 and S420, can specifically be retouched refering to previously for the specific of step S320 and S340
It states, details are not described herein.
In step S430, PE equipment corresponding to the ERT receive described in the routing to be issued, it is described to be issued
Routing carries the ERT.
In the present embodiment, after the PE equipment that target IRT is sent to corresponding to ERT by RR, the PE equipment roots corresponding to ERT
The routing to be issued is determined according to target IRT and identified routing is sent to RR, therefore RR can be corresponding to the ERT
PE equipment receives the routing to be issued.
In step S440, entrained by the correspondence and the routing to be issued of the IRT of record and PE equipment
ERT, determine described in the routing equipment to be sent to be issued.
In one implementation, step S440 can specifically include:The ERT entrained by routing that will be issued with remembered
IRT in the correspondence of record is matched, and will be matched with the ERT entrained by the routing to be issued in correspondence
PE equipment corresponding to IRT is determined as the routing equipment to be sent to be issued.
In one implementation, before step S440, above-mentioned route issuing method can also include the following steps:Root
According to acquired IRT, PE equipment and the mapping table of IRT are generated and record, each list item of wherein mapping table indicates each PE equipment
The correspondence of IRT and each PE equipment itself.
In the present embodiment, after the RT information that RR gets each PE equipment, RR also gets the mark of each PE equipment.Also
It is to say, RR can get the IRT and mark of each PE equipment.RR generates mapping according to the IRT and mark that get as a result,
Table, and record the mapping table.Wherein, RR is using the mark determined and its corresponding IRT as a list item of mapping table.
Illustratively, for networking shown in Fig. 2, RR can generate mapping table shown in following table 1.
1 mapping table of table
IRT 200:1 | PE2 |
IRT100:1 | PE3 |
IRT 200:1 | PE4 |
For networking shown in Fig. 2, RR receives the carrying ERT 200 of PE1 transmissions:1 routing 1, RR is by ERT 200:1
Respectively with the IRT 200 in above-mentioned table 1:1、IRT 100:1 and IRT 200:1 is matched, and RR has found ERT 200:1 with mapping
IRT 200 in table:1 matching, therefore PE2 and PE4 are determined as routeing 1 equipment to be sent to by RR.
In step S450, to the routing to be issued described in the equipment transmission determined.
Therefore, in the present embodiment, RR is received according to the PE equipment corresponding to the ERT entrained by routing ERT and institute
The correspondence of IRT and the PE equipment of record, to determine the routing equipment to be sent to, and being sent to the equipment determined should
Routing, as a result, compared with the prior art in RR into coupled all PE equipment except the PE equipment for sending aforementioned routing
Other PE equipment in addition issue routing, and the disclosure only issues road to according to PE equipment determined by the entrained ERT of routing
By RR can accurately control the publication of routing, mitigate the routing publication pressure of RR.
Fig. 5 shows the flow chart of the route issuing method according to one embodiment of the disclosure.The route issuing method can answer
For Router Reflector RR.For purposes of illustration only, being described by taking networking shown in Fig. 2 as an example below.As shown in figure 5, the routing
Dissemination method may include steps of.
In step S510, the extension of each PE equipment is obtained from each service provider network edge PE equipment being connected with RR
Group attribute RT information, the RT information include into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
It, specifically can be no longer superfluous herein refering to the specific descriptions previously for step S320 about the explanation of step S510
It states.
In step S520, sent and matched target IRT of the ERT and described to the PE equipment corresponding to the ERT
The address of PE equipment corresponding to target IRT.
In the present embodiment, the PE that RR can be sent to the PE equipment corresponding to ERT corresponding to target IRT and target IRT is set
Standby address.
In step S530, PE equipment corresponding to the ERT receive described in the routing to be issued, it is described to be issued
Routing carries described address.
In the present embodiment, the address of the PE equipment corresponding to target IRT and target IRT is sent to corresponding to ERT in RR
PE equipment after, the routing that the PE equipment corresponding to ERT is determined to be issued according to target IRT, and right according to target IRT institute
The address of the routing equipment to be sent to be issued is determined in the address for the PE equipment answered, and identified routing is sent to RR
And the address of the PE equipment corresponding to target IRT is carried in the routing.
In step S540, the routing to be issued is forwarded according to described address.
In the present embodiment, routing that RR can will be issued is sent to the PE that address is the address entrained by the routing and sets
It is standby.
Therefore, in the present embodiment, compared with the prior art in RR into coupled all PE equipment except send before
It states other PE equipment other than the PE equipment of routing and issues routing, addresses pair of the RR directly entrained by the routing received
The routing is forwarded, and RR is only the PE equipment publication routing of the address entrained by the routing that receives to address as a result, and RR can
To accurately control the publication of routing, mitigate the routing publication pressure of RR, and RR is without carrying out for the road to be issued of determination
Processing by the equipment to be sent to, alleviates the processing pressure of RR.
Fig. 6 is a kind of flow chart of route issuing method shown according to an exemplary embodiment, the route issuing method
It can be applied to source service provider network edge PE equipment.For purposes of illustration only, being carried out by taking networking shown in Fig. 2 as an example below
Description.As shown in fig. 6, the route issuing method may include steps of.
In step S620, receives the target transmitted by Router Reflector RR and enter Directional Extension group attribute IRT.
In step S640, in routing to be issued, according to the ERT entrained by the target IRT and the routing, determine
The routing to be issued in the routing.
It, specifically can be refering to previously for step S320's and step S340 about the explanation of step S620 and step S640
It specifically describes, details are not described herein.
Therefore, in the present embodiment, source PE equipment receives the target IRT transmitted by RR, and according to the target IRT received
The routing to be issued of determination, that is to say, that source PE equipment is automatically using the target IRT received as RT filtering policies, as a result,
Need manual configuration RT filtering policies, the disclosure in source PE equipment that RT filtering policies are set automatically in compared with the prior art
Without manual configuration RT filtering policies, operation is flexible, and user experience is good.
In one implementation, the address of the PE equipment corresponding to the target IRT transmitted by the RR is also received,
The method further includes:
To the routing to be issued described in RR transmissions, the PE that the routing to be issued carries corresponding to the target IRT is set
Standby address.
Illustrating can be refering to the specific descriptions previously for step S520 to S530, and details are not described herein.
Therefore, in the present embodiment, the address of the PE equipment corresponding to routing that source PE equipment will be issued and target IRT
It is sent to RR together, in this way, the RR in compared with the prior art is removed into coupled all PE equipment sends aforementioned routing
PE equipment other than other PE equipment issue routing, addresses of the RR directly entrained by the routing received is to the routing
It is forwarded, RR is only the PE equipment publication routing of the address entrained by the routing that receives to address as a result, and RR can be accurate
The publication of ground control routing mitigates the routing publication pressure of RR, and RR is without to be sent out for the routing to be issued of determination
Send to equipment processing, alleviate the processing pressure of RR.
Fig. 7 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.The routing distributing device can
To be applied to Router Reflector RR.It is sent as shown in fig. 7, the routing distributing device 700 may include acquisition module 710 and first
Module 730.
Acquisition module 710 is used to obtain the expansion of each PE equipment from each service provider network edge PE equipment being connected with RR
Group attribute RT information is opened up, the RT information includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
First sending module 730 is connect with acquisition module 710, is matched with the ERT for being sent to the PE equipment corresponding to the ERT
Target IRT so that the PE equipment corresponding to the ERT is according to the routing to be issued of target IRT determinations.
In one implementation, routing distributing device 700 can also include:
Duplicate removal processing module (not shown), for carrying out duplicate removal processing to the target IRT, wherein the duplicate removal processing is used
In removal repeat target IRT,
First sending module 730 is configured as:It sends and is carried out at the duplicate removal to the PE equipment corresponding to the ERT
Target IRT after reason.
Fig. 8 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.The routing distributing device can
To be applied to Router Reflector RR.It is sent as shown in figure 8, the routing distributing device 800 may include acquisition module 810, first
Module 830, receiving module 850, determining module 870 and the second sending module 890.
Acquisition module 810 is used to obtain the expansion of each PE equipment from each service provider network edge PE equipment being connected with RR
Group attribute RT information is opened up, the RT information includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
First sending module 830 is connect with acquisition module 810, is matched with the ERT for being sent to the PE equipment corresponding to the ERT
Target IRT so that the PE equipment corresponding to the ERT is according to the routing to be issued of target IRT determinations.Receiving module
850 for the PE equipment corresponding to the ERT receive described in the routing to be issued, described in the routing to be issued carries
ERT.Determining module 870 is connect with receiving module 850, for according to the correspondence of IRT and the PE equipment of record and described wanting
ERT entrained by the routing of publication, determine described in the routing equipment to be sent to be issued.Second sending module 890 with really
Cover half block 870 connects, for the routing to be issued described in being sent to the equipment determined.
In one implementation, the determining module 870 is configured as:
ERT entrained by the routing to be issued is matched with the IRT in the correspondence, and will be described right
It is determined as described sending out with the PE equipment corresponding to the matched IRT of ERT entrained by the routing to be issued in should being related to
The routing equipment to be sent to of cloth.
In one implementation, routing distributing device 800 can also include:
Logging modle (not shown) is generated, for according to acquired IRT, generating and recording PE equipment and the mapping of IRT
Table, wherein each list item of the mapping table indicates the correspondence of the IRT and each PE equipment itself of each PE equipment.
Fig. 9 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.The routing distributing device can
To be applied to Router Reflector RR.It is sent as shown in figure 9, the routing distributing device 900 may include acquisition module 910, first
Module 930, receiving module 950 and forwarding module 970.
Acquisition module 910 is used to obtain the expansion of each PE equipment from each service provider network edge PE equipment being connected with RR
Group attribute RT information is opened up, the RT information includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT.
First sending module 930 is connect with acquisition module 910, for the PE equipment corresponding to the ERT send the target IRT and
The address of PE equipment corresponding to the target IRT.Receiving module 950 is used for the PE equipment corresponding to the ERT and receives institute
The routing to be issued is stated, the routing to be issued carries described address.Forwarding module 970 is connect with receiving module 950, is used for
The routing to be issued is forwarded according to described address.
Figure 10 is a kind of block diagram of routing distributing device shown according to an exemplary embodiment.The routing distributing device can
To be applied to source service provider network edge PE equipment.As shown in Figure 10, which may include connecing
Receive module 1010 and determining module 1030.Receiving module 1010 is used to receive the carrying target side of entering transmitted by Router Reflector RR
To the message of extended community attribute IRT.Determining module 1030 is connect with receiving module 1010, in routing to be issued, root
According to the ERT entrained by the target IRT and the routing, the routing to be issued in the routing is determined.
In one possible implementation, receiving module 1010 also receives the PE equipment corresponding to the target IRT
Address,
Correspondingly, routing distributing device 1000 can also include:
Sending module (not shown), for the routing to be issued described in being sent to RR, the routing to be issued carries institute
State the address of the PE equipment corresponding to target IRT.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of hardware block diagram for routeing distributing device 1100 shown according to an exemplary embodiment.
Referring to Fig.1 1, the machine readable storage medium 902 which may include processor 901, is stored with machine-executable instruction.
Processor 901 can be communicated with machine readable storage medium 902 via system bus 903.Also, processor 901 passes through reading machine
Machine-executable instruction corresponding with routing issue logic is issued with executing routing described above in device readable storage medium storing program for executing 902
Method.
Machine readable storage medium 902 referred to herein can be any electronics, magnetism, optics or other physical stores
Device can include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be:
RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven
Dynamic device (such as hard disk drive), solid state disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between
Matter or combination thereof.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or this technology is made to lead
Other those of ordinary skill in domain can understand each embodiment disclosed herein.
Claims (16)
1. a kind of route issuing method is applied to Router Reflector RR, which is characterized in that the method includes:
The extended community attribute RT information of each PE equipment, institute are obtained from each service provider network edge PE equipment being connected with RR
It includes into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT to state RT information;And
To corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that the PE corresponding to the ERT is set
For according to the routing to be issued of target IRT determinations.
2. route issuing method according to claim 1, which is characterized in that further include:
PE equipment corresponding to the ERT receive described in the routing to be issued, the routing to be issued carries the ERT;
According to the ERT entrained by the correspondence and the routing to be issued of the IRT of record and PE equipment, to be sent out described in determination
The routing equipment to be sent to of cloth;
To the routing to be issued described in the equipment transmission determined.
3. route issuing method according to claim 2, which is characterized in that corresponding with PE equipment according to the IRT of record
ERT entrained by relationship and the routing to be issued, determine described in the routing equipment to be sent to be issued, including:
ERT entrained by the routing to be issued is matched with the IRT in the correspondence, and the correspondence is closed
It is determined as described to be issued with the PE equipment corresponding to the matched IRT of ERT entrained by the routing to be issued in system
It route the equipment to be sent to.
4. route issuing method according to claim 2, which is characterized in that further include:
According to acquired IRT, PE equipment and the mapping table of IRT are generated and record, wherein each list item of the mapping table indicates
The correspondence of the IRT of each PE equipment and each PE equipment itself.
5. route issuing method according to claim 1, which is characterized in that
To corresponding to the ERT PE equipment send with the matched target IRT of the ERT, including:Corresponding to the ERT
PE equipment sends the address of the PE equipment corresponding to the target IRT and the target IRT,
The method further includes:
PE equipment corresponding to the ERT receive described in the routing to be issued, the routing to be issued carries described address;
The routing to be issued is forwarded according to described address.
6. route issuing method according to any one of claim 1 to 5, which is characterized in that further include:
Duplicate removal processing is carried out to the target IRT, wherein the duplicate removal processing is used to remove the target IRT repeated,
To corresponding to the ERT PE equipment send with the matched target IRT of the ERT, including:
The target IRT after carrying out the duplicate removal processing is sent to the PE equipment corresponding to the ERT.
7. a kind of route issuing method is applied to source service provider network edge PE equipment, which is characterized in that the method
Including:
It receives the target transmitted by Router Reflector RR and enters Directional Extension group attribute IRT;And
In routing to be issued, according to the ERT entrained by the target IRT and the routing, to send out in the routing is determined
The routing of cloth.
8. route issuing method according to claim 7, which is characterized in that
The address of the PE equipment corresponding to the target IRT transmitted by the RR is also received,
The method further includes:
To the routing to be issued described in RR transmissions, the routing to be issued carries the PE equipment corresponding to the target IRT
Address.
9. a kind of routing distributing device, it is applied to Router Reflector RR, which is characterized in that described device includes:
Acquisition module, the extended community for obtaining each PE equipment from each service provider network edge PE equipment being connected with RR
Attribute RT information, the RT information include into Directional Extension group attribute IRT and outgoing direction extended community attribute ERT;And
First sending module, for corresponding to the ERT PE equipment send with the matched target IRT of the ERT so that institute
The PE equipment corresponding to ERT is stated according to the routing to be issued of target IRT determinations.
10. routing distributing device according to claim 9, which is characterized in that further include:
Receiving module, for the PE equipment corresponding to the ERT receive described in the routing to be issued, the routing to be issued
Carry the ERT;
Determining module, for according to entrained by the correspondence of IRT and the PE equipment of record and the routing to be issued
ERT, determine described in the routing equipment to be sent to be issued;
Second sending module, for the routing to be issued described in being sent to the equipment determined.
11. routing distributing device according to claim 10, which is characterized in that the determining module is configured as:
ERT entrained by the routing to be issued is matched with the IRT in the correspondence, and the correspondence is closed
It is determined as described to be issued with the PE equipment corresponding to the matched IRT of ERT entrained by the routing to be issued in system
It route the equipment to be sent to.
12. routing distributing device according to claim 10, which is characterized in that further include:
Logging modle is generated, for according to acquired IRT, generating and recording PE equipment and the mapping table of IRT, wherein described reflect
Each list item of firing table indicates the correspondence of the IRT and each PE equipment itself of each PE equipment.
13. routing distributing device according to claim 9, which is characterized in that
First sending module is configured as:The target IRT and the target are sent to the PE equipment corresponding to the ERT
The address of PE equipment corresponding to IRT,
Described device further includes:
Receiving module, for the PE equipment corresponding to the ERT receive described in the routing to be issued, the routing to be issued
Carry described address;
Forwarding module, for being forwarded to the routing to be issued according to described address.
14. the routing distributing device according to any one of claim 9 to 13, which is characterized in that further include:
Duplicate removal processing module, for carrying out duplicate removal processing to the target IRT, wherein the duplicate removal processing is used to remove repetition
Target IRT,
First sending module is configured as:It is sent to the PE equipment corresponding to the ERT after carrying out the duplicate removal processing
Target IRT.
15. a kind of routing distributing device is applied to source service provider network edge PE equipment, which is characterized in that the dress
Set including:
Receiving module enters Directional Extension group attribute IRT for receiving the target transmitted by Router Reflector RR;And
Determining module, in routing to be issued, according to the ERT entrained by the target IRT and the routing, determine described in
The routing to be issued in routing.
16. routing distributing device according to claim 15, which is characterized in that
The receiving module also receives the address of the PE equipment corresponding to the target IRT,
Described device further includes:
Sending module, for the routing to be issued described in being sent to RR, it is right that the routing to be issued carries the target IRT institutes
The address for the PE equipment answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810673020.3A CN108521377B (en) | 2018-06-26 | 2018-06-26 | Route publishing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810673020.3A CN108521377B (en) | 2018-06-26 | 2018-06-26 | Route publishing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108521377A true CN108521377A (en) | 2018-09-11 |
CN108521377B CN108521377B (en) | 2020-11-03 |
Family
ID=63427770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810673020.3A Active CN108521377B (en) | 2018-06-26 | 2018-06-26 | Route publishing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108521377B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412951A (en) * | 2018-10-12 | 2019-03-01 | 华为技术有限公司 | A kind of method and apparatus sending routing iinformation |
CN110505152A (en) * | 2019-09-11 | 2019-11-26 | 迈普通信技术股份有限公司 | Route filtering method, device and electronic equipment |
CN110784401A (en) * | 2019-10-28 | 2020-02-11 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083598A (en) * | 2007-06-22 | 2007-12-05 | 杭州华三通信技术有限公司 | Routing access method, system and operator edge equipment for virtual private network |
US20080101385A1 (en) * | 2006-10-30 | 2008-05-01 | At&T Knowledge Ventures, L.P. | System and method for filtering routing updates |
CN101471841A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method and apparatus for maintaining routing table |
US9065661B2 (en) * | 2013-03-06 | 2015-06-23 | Cisco Technology, Inc. | Scalable multicast route distribution in a multitenant data center fabric in a network environment |
CN106453025A (en) * | 2016-11-04 | 2017-02-22 | 杭州华三通信技术有限公司 | Tunnel creating method and device |
CN106789523A (en) * | 2016-04-29 | 2017-05-31 | 新华三技术有限公司 | The creation method and device of a kind of logical tunnel |
-
2018
- 2018-06-26 CN CN201810673020.3A patent/CN108521377B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080101385A1 (en) * | 2006-10-30 | 2008-05-01 | At&T Knowledge Ventures, L.P. | System and method for filtering routing updates |
CN101083598A (en) * | 2007-06-22 | 2007-12-05 | 杭州华三通信技术有限公司 | Routing access method, system and operator edge equipment for virtual private network |
CN101471841A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method and apparatus for maintaining routing table |
US9065661B2 (en) * | 2013-03-06 | 2015-06-23 | Cisco Technology, Inc. | Scalable multicast route distribution in a multitenant data center fabric in a network environment |
CN106789523A (en) * | 2016-04-29 | 2017-05-31 | 新华三技术有限公司 | The creation method and device of a kind of logical tunnel |
CN106453025A (en) * | 2016-11-04 | 2017-02-22 | 杭州华三通信技术有限公司 | Tunnel creating method and device |
Non-Patent Citations (2)
Title |
---|
S.ZHUANG;Z.LI;L.YONG: "BGP Extensions for Enhanced VPN Auto Discovery", 《DRAFT-ZHUANG-BESS-ENHANCED-VPN-AUTO-DISCOVERY-00》 * |
刘曼: "MPLS VPN技术及其实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412951A (en) * | 2018-10-12 | 2019-03-01 | 华为技术有限公司 | A kind of method and apparatus sending routing iinformation |
CN109412951B (en) * | 2018-10-12 | 2021-06-22 | 华为技术有限公司 | Method and device for sending routing information |
US11374860B2 (en) | 2018-10-12 | 2022-06-28 | Huawei Technologies Co., Ltd. | Method and apparatus for sending routing information for network nodes |
US11863438B2 (en) | 2018-10-12 | 2024-01-02 | Huawei Technologies Co., Ltd. | Method and apparatus for sending routing information for network nodes |
CN110505152A (en) * | 2019-09-11 | 2019-11-26 | 迈普通信技术股份有限公司 | Route filtering method, device and electronic equipment |
CN110784401A (en) * | 2019-10-28 | 2020-02-11 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
CN110784401B (en) * | 2019-10-28 | 2021-10-26 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108521377B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11196580B2 (en) | Method and device for bearing multicast virtual private network | |
JP6491241B2 (en) | Cloud-based service exchange | |
CN104219147B (en) | The VPN of edge device realizes processing method and processing device | |
CN107222449A (en) | Communication means, equipment and system based on the regular agreement of stream | |
CN101277245B (en) | Method, system and apparatus for implementing L2VPN field across | |
CN103841022B (en) | For setting up the method and device in tunnel | |
WO2017016254A1 (en) | Ipv6 message encapsulation processing method and apparatus | |
CN111130980B (en) | Method and apparatus for implementing a combined virtual private network VPN | |
US9467423B2 (en) | Network label allocation method, device, and system | |
CN107547335A (en) | The method and the network equipment of signal notice IP address movement in EVPN | |
CN107026791A (en) | VPN vpn service optimization method and equipment | |
CN107135133A (en) | Horizontal segmentation packet forwarding in many family PBB EVPN networks | |
CN105591868B (en) | A kind of cut-in method and device of Virtual Private Network VPN | |
CN108521377A (en) | route issuing method and device | |
CN106921573B (en) | NVo3 method and device for issuing tenant route in network | |
WO2018028676A1 (en) | Interworking of ethernet virtual private network (evpn) and public network | |
CN110417655B (en) | Method and device for forwarding data message | |
CN110535744A (en) | Message processing method, device and Leaf equipment | |
CN103684959A (en) | VPN realization method and PE device | |
CN107018076B (en) | A kind of monitoring messages method and apparatus | |
CN106936714A (en) | The processing method and PE equipment and system of a kind of VPN | |
CN108199968A (en) | Route processing method and device | |
CN103259717B (en) | Routing method and routing device based on strategy customization | |
CN113726653B (en) | Message processing method and device | |
CN106656810B (en) | MAC address learning method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |