CN107995015A - The method and apparatus for obtaining the end-to-end detection paths of TWAMP - Google Patents

The method and apparatus for obtaining the end-to-end detection paths of TWAMP Download PDF

Info

Publication number
CN107995015A
CN107995015A CN201610950987.2A CN201610950987A CN107995015A CN 107995015 A CN107995015 A CN 107995015A CN 201610950987 A CN201610950987 A CN 201610950987A CN 107995015 A CN107995015 A CN 107995015A
Authority
CN
China
Prior art keywords
business
transmitting terminal
equipment
destination
source
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
Application number
CN201610950987.2A
Other languages
Chinese (zh)
Other versions
CN107995015B (en
Inventor
刘伟
李阿男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610950987.2A priority Critical patent/CN107995015B/en
Publication of CN107995015A publication Critical patent/CN107995015A/en
Application granted granted Critical
Publication of CN107995015B publication Critical patent/CN107995015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The invention discloses a kind of acquisition TWAMP it is end-to-end detection path method and apparatus, the described method includes:Obtain the configuration information of TWAMP detection examples;Configuration information includes:Source IP, destination IP and known end;Service inquiry is carried out according to known end, determines the IP of L 3 virtual mouth in the L2VPNL3VPN business of TWAMP detection examples, and two or three layers of bridge joint network element of inquiry, determines that source IP, destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network;According to L2VPNL3VPN business and source IP, the correspondence of destination IP and CE1, CE2, the actually detected path of TWAMP detection examples is searched out, and the position of transmitting terminal and reflection end is determined on the actually detected path.The TWAMP testing results of the invention that solve well are single, are unfavorable for quickly solving the problems, such as failure.

Description

The method and apparatus for obtaining the end-to-end detection paths of TWAMP
Technical field
The present invention relates to the communications field, more particularly to a kind of acquisition TWAMP (Two-way Active Measurement Protocol, two-way active measurement agreement) it is end-to-end detection path method and apparatus.
Background technology
4G LTE are network flattenings relative to traditional 2G/3G networks, bearing part maximum feature, and introduce S1 and X2 interface, networking mode is based on L2VPN (Layer 2 virtual private network)+L3VPN (Layer3 Virtual Private Network).Using S1 interfaces as Example, due to each base station establish it is a plurality of individually route belong to different gateway sGW can cause connect quantity drastically Increase, causes sky high cost, therefore IP route forwarding functions (L3VPN) are introduced in bearer network, is route by the IP in bearer network Forwarding capability completes the flexible forwarding of different base station difference sGW, forms core layer.Meanwhile in order to improve the manageability of network, Scalability and security, control L3VPN scales, and cut-in convergent layer still uses traditional L2VPN technologies.
Before BTS service is opened, after the relevant configuration for completing above-mentioned L2VPN+L3VPN, in order to whether detect business configuration Normally, current way is:After being accessed in base station, the ping to base station is initiated from the L3 virtual interfaces of L2L3 bridge contacts, detection with Connectedness between base station, then initiate the ping to sGW, the connectedness between detection and sGW from L2L3 bridge contacts.The above method Have the disadvantage that:It is 1. cumbersome using segmentation detection;2. do not accessed in base station, the connection of L2VPN networks can not be detected Property;3. sexual abnormality is connected between bridge node and base station, it can not judge it is base station fault, or L2VPN network failures.On in view of Shortcoming is stated, proposes UNI/NNI ping demands, end to end connectivity detection is realized based on ping functions.But ping can not be real Existing performance measurement, therefore, and propose according to the two-way active measurement agreements of RFC 5357 (TWAMP) realize it is connective end to end with And performance measurement scheme.Out of order, time delay, packet loss and handling capacity (similar TST) are measured based on IP.
At present, TWAMP is a kind of efficient detection of connectivity mode, but only one logical or obstructed as a result, into one Step analysis reason such as route situation, related alarm performance, and the efficiency such as segmentation ping is low, is unfavorable for quickly solving failure.
The content of the invention
The present invention provides a kind of acquisition TWAMP method and apparatus in end-to-end detection path, to solve in the prior art TWAMP testing results are single, are unfavorable for quickly solving the problems, such as failure.
According to one aspect of the present invention, there is provided a kind of method in the end-to-end detection paths of acquisition TWAMP, including:
Obtain the configuration information of TWAMP detection examples;The configuration information includes:Source IP, destination IP and known end, it is described Known end includes:Transmitting terminal and/or reflection end;
Service inquiry is carried out according to the known end, determines the L2VPNL3VPN business of the TWAMP detection examples;
Determine that the source IP, the destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network;
According to the L2VPNL3VPN business and source IP, the correspondence of the destination IP and CE1, CE2, search The actually detected path for the TWAMP detection examples that rope goes out, and determine transmitting terminal and reflection end on the actually detected path Position.
According to another aspect of the present invention, there is provided a kind of device in the end-to-end detection paths of acquisition TWAMP, including:
Configuration information acquisition module, for obtaining the configuration information of TWAMP detection examples;The configuration information includes:Source IP, destination IP and known end, the known end include:Transmitting terminal and/or reflection end;
First processing module, for carrying out service inquiry according to the known end, determines the TWAMP detection examples L2VPNL3VPN business;
Second processing module, for determining that the source IP, the destination IP and two layers of base station equipment CE1, three-layer network are closed and set The correspondence of standby CE2;
Search for routing module, for according to the L2VPNL3VPN business and source IP, the destination IP and CE1, The correspondence of CE2, searches out the actually detected path of TWAMP detection examples;
Position determination module, for determining the position of transmitting terminal and reflection end on the actually detected path.
The present invention has the beneficial effect that:
The method and apparatus in the end-to-end detection paths of acquisition TWAMP provided by the invention, it is only necessary to use existing TWAMP Detection attribute just can directly acquire actually detected path, maintain easily personnel and further examined in the case where TWAMP detections are obstructed Circuit network, greatly improves fault location efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole attached drawing, identical component is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method in the end-to-end detection paths of acquisition TWAMP that first embodiment of the invention provides;
Fig. 2 is a kind of flow chart of the method in the end-to-end detection paths of acquisition TWAMP that second embodiment of the invention provides;
Fig. 3 is L2VPN+L3VPN networking diagrams in second embodiment of the invention;
Fig. 4 is the TWAMP detections road that end-to-end scene, client mode are under three floor UNI in second embodiment of the invention By schematic diagram;
Fig. 5 is that only transmitting terminal scene, client mode are the TWAMP detections under three layers of UNI in second embodiment of the invention It route schematic diagram;
Fig. 6 is a kind of structural frames of the device in the end-to-end detection paths of acquisition TWAMP that third embodiment of the invention provides Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
The embodiment of the present invention aims to provide a kind of method and apparatus in the end-to-end detection paths of acquisition TWAMP, the method The actually detected path for the TWAMP detections that can be obtained with device, and it is automatically presented to user, it is convenient directly perceived, effectively Help network management personnel easily to control network, improve network management efficiency and level.
Specifically, a kind of acquisition TWAMP methods in end-to-end detection path are provided in the first embodiment of the present invention, should For in the system of two layers of L2 virtual private networks and three layers of L3VPN common networkings, as shown in Figure 1, the described method includes:
Step S101, obtains the configuration information of TWAMP detection examples;The configuration information includes:Source IP, destination IP and Know end, the known end includes:Transmitting terminal and/or reflection end;
In the present embodiment, detection scene can be determined according to known end.Specifically, when known end includes transmitting terminal and transmitting It is end-to-end scene during end;When known end only includes transmitting terminal, for only transmitting terminal scene;When known end only includes reflection end When, for only reflection end scene.
Wherein, when known end includes transmitting terminal, transmitting terminal client mode information is further included in configuration information.The visitor Family end pattern information includes:Three layers of UNI, two layers of UNI and two layers of UNI of bridge joint.
Step S102, carries out service inquiry according to the known end, determines the L2VPNL3VPN of the TWAMP detection examples Business;
In the embodiment of the present invention, service inquiry is carried out according to the known end, determines the TWAMP detection examples L2VPNL3VPN business, including:
According to known end, inquire about L2VPN business or L3VPN business, and according to the business inquired, determine one group or Multigroup L2VPNL3VPN business;
Wherein, when determining multigroup L2VPNL3VPN business, S103 is gone to step, treats that S103 determines source IP, destination IP After closing the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network, according to source IP, destination IP and two layers of base station equipment CE1, three-layer network close the correspondence of equipment CE2, determine one group of L2VPNL3VPN business.
Step S103, determines that source IP, destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network;
In an alternate embodiment of the present invention where, by inquiring about the IP of L 3 virtual mouth on two or three layers of bridge joint network element Location, determines that source IP, destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network.In the present embodiment, examine Consider L 3 virtual mouth and base station IP same network segments on L2L3 bridge joint network elements, so, three layers of void on two or three layers of bridge joint network element of inquiry After the IP for intending mouth, it may be determined that go out source IP, destination IP closes the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network.
Under the embodiment, specific correspondence determination mode is specific as follows:Inquire about three layers of void on two or three layers of bridge joint network element Intend the IP of mouth;The IP with the IP same network segments of the L 3 virtual mouth is searched in the source IP and destination IP;Determine to find IP it is corresponding with two layers of base station equipment CE1, it is corresponding that remaining IP and three-layer network close equipment CE2.
In a preferred embodiment of the present invention, inquiry two or three layers bridge joint network elements on L 3 virtual mouth IP address it Before, further include:Under scene end to end, if going out transmitting terminal according to service inquiry result judgement and reflection end belongs to L2VPN Business and L3VPN business, then CE equipment, the destination IP that directly definite source IP corresponds to the affiliated business side of transmitting terminal correspond to reflection end institute Belong to the CE equipment of business side;Otherwise, the operation of the IP address of L 3 virtual mouth on two or three layers of bridge joint network element of inquiry is carried out.
For example, under end-to-end scene, when client mode is three layers of UNI, if according to transmitting terminal and reflection end into industry Business inquiry, obtains transmitting terminal and belongs to L3 sides, and reflection end belongs to L2 sides, then directly determines that source IP is corresponding with CE2, destination IP and CE1 It is corresponding.
Step S104, according to the L2VPNL3VPN business and source IP, pair of the destination IP and CE1, CE2 Should be related to, search out the actually detected path of TWAMP detection examples, and determine on the actually detected path transmitting terminal and The position of reflection end.
Specifically, in the present embodiment, when it is end-to-end scene to determine detection scene, transmitting terminal can be directly determined With position of the reflection end on the actually detected path;
When it is only transmitting terminal scene to determine detection scene, it can directly determine transmitting terminal on the actually detected road Position on footpath, at this time, reflection end are virtual reflection end, can be corresponding according to destination IP for the position of virtual reflection end Equipment determines.Specifically, virtual reflection end is located at the border network element of the corresponding equipment of destination IP business side corresponding with the equipment Between;
When it is only reflection end scene to determine detection scene, it can directly determine reflection end on the actually detected road Position on footpath, at this time, transmitting terminal are virtual emission end, for the position at virtual emission end, can be set according to source IP is corresponding It is standby to determine.Specifically, virtual emission end is located between the border network element of the corresponding equipment of source IP business side corresponding with the equipment.
Further, in the embodiment of the present invention, behind the position that transmitting terminal and reflection end are determined on actually detected path, Further include:By the actually detected path output display.
In summary, the method for the embodiment of the present invention detects attribute with regard to that can directly acquire detection using existing TWAMP Route, maintains easily personnel's further diagnostic network in the case where TWAMP detections are obstructed, greatly improves fault location effect Rate.
A kind of end-to-end detection paths of acquisition TWAMP (i.e. " detection route ") are provided in the second embodiment of the present invention Method, the present embodiment carry out the implementation process of the present invention more to illustrate in detail by disclosing more ins and outs.Need to refer to Go out, a large amount of ins and outs disclosed in the present embodiment are used to explain the present invention, are not used to uniquely limit the present invention.
The method of the end-to-end detection routes of acquisition TWAMP provided in an embodiment of the present invention, as shown in Fig. 2, including following step Suddenly:
First, after user selectes TWAMP detection examples or TWAMP alarms, the configuration of TWAMP detection examples can be obtained Information, including:Transmitting terminal client mode, transmitting terminal, reflection end, source IP (i.e. transmitting terminal IP) and destination IP (i.e. reflection end IP)。
2nd, the configuration information of the TWAMP detection examples obtained in the first step is automatically analyzed, determines the bar that search route needs Part:1.L2L3 business;2.CE1IP;3.CE2IP.
Before the condition for determining search route needs is illustrated, basic condition explanation is carried out:1. transmitting terminal, reflection end may position Any equipment in L2VPN+L3VPN networkings;2.CE1IP is base station IP, belongs to L2 sides, and CE2IP is sGW IP, belongs to L3 Side;3. only transmitting terminal has client mode, and can determine transmitting end position;L 3 virtual mouth and base on 4.L2L3 bridge joint network elements Stand IP same network segments.
Specifically, following operate will be completed by determining the condition of search route needs:
1st, three kinds of scenes being determined according to transmitting terminal and reflection end, transmitting terminal and reflection end, which exist, belongs to end-to-end scene, Only transmitting terminal belongs to transmitting terminal scene, and only reflection end belongs to reflection end scene.
2nd, end-to-end scene:
2.1st, client mode is three layers of UNI:
2.1.1, transmitting terminal belongs to L3 sides, and L3 business is inquired about according to transmitting terminal.
2.1.2 associated L2L3 business, is determined according to L3 business.
2.1.3 L2 business, is inquired about according to reflection end, if it is present reflection end belongs to L2 sides, determines reflection end i.e. purpose IP is CE1IP, and transmitting terminal, that is, source IP is CE2IP.
2.1.4, if it does not, continuing to inquire about L3 business, exist, reflection end falls within L3 sides, inquires about the institute of L3 business There are PE network elements, filter out L 3 virtual mouth and its IP, according to basic condition 4, determine CE1IP and CE2IP.
2.2nd, client mode is two layers of UNI:Transmitting terminal belongs to L2 sides, L2 business is inquired about according to transmitting terminal, according to L2 industry Business determines associated L2L3 business, and it is CE1IP to determine transmitting terminal i.e. source IP, and reflection end, that is, destination IP is CE2IP.
2.3rd, client mode is two layers of UNI of bridge joint:
2.3.1 L2 business, is inquired about according to transmitting terminal, associated L2L3 business is determined according to L2 business.
2.3.2 L2 business, is inquired about according to reflection end, if it does, because transmitting terminal determines transmitting terminal positioned at bridge joint network element I.e. source IP is CE2IP, and reflection end, that is, destination IP is CE1IP.
2.3.3, if it does not, continuing to inquire about L3 business, existing, reflection end belongs to L3 sides, and transmitting terminal belongs to L2 sides, It is CE1IP to determine transmitting terminal i.e. source IP, and reflection end, that is, destination IP is CE2IP.
3rd, only transmitting terminal scene:
3.1st, client mode is three layers of UNI:
3.1.1, transmitting terminal belongs to L3 sides, and L3 business is inquired about according to transmitting terminal.
3.1.2 associated L2L3 business, is determined according to L3 business.
3.1.3, due to reflection end not in managing network network, it is necessary to virtual, inquire about all PE network elements of L3 business, mistake L 3 virtual mouth and its IP are filtered out, according to basic condition 4, determines CE1IP and CE2IP.
3.2nd, client mode is two layers of UNI:
3.2.1 L2 business, is inquired about according to transmitting terminal.
3.2.2 associated L2L3 business, is determined according to L2 business.
3.2.3, due to reflection end not in managing network network, it is necessary to virtual, according to L2L3 service inquiry L3 business, so Inquire about all PE network elements of L3 business afterwards, filter out L 3 virtual mouth and its IP, according to basic condition 4, determine CE1IP and CE2IP。
3.3rd, client mode is two layers of UNI of bridge joint:With 3.2.
4th, only reflection end scene:
4.1st, L2 business is inquired about according to reflection end, there is no continue to inquire about L3 business.
4.2nd, L2L3 associated services are determined according to L2 or L3 business.
4.3rd, all PE network elements of L3 business are inquired about, filter out L 3 virtual mouth and its IP, according to basic condition 4, are determined CE1IP and CE2IP.
3rd, transmitting terminal and reflection end present position are determined.End-to-end scene has had transmitting terminal and reflection end, directly really It is fixed;Only transmitting terminal scene, it is thus necessary to determine that virtually reflect end position, it is if it is determined that destination IP is corresponding with CE1 in second step, then empty Intend reflection end to be located between the border network element of CE1 and L2 sides, if it is determined that it is corresponding with CE2 to go out destination IP, then virtual reflection end position Between the border network element of CE2 and L3 sides;Only reflection end scene, it is thus necessary to determine that virtual emission end position, if really in second step It is corresponding with CE1 to make source IP, then virtual emission end is located between CE1 and L2 lateral boundaries network elements, if it is determined that goes out source IP and CE2 pairs Should, then virtual emission end is located between CE2 and L3 lateral boundaries network elements.
4th, according to the IP of L2L3 business, the IP of CE1 and CE2, the actual route of the TWAMP example detections searched out, and really Determine the position of transmitting terminal and reflection end in the actual route, obtain TWAMP detection routes, export final TWAMP detections road By result.
After completing above-mentioned a series of actions, system can detect route according to TWAMP and further be diagnosed, including but not It is limited to alert, performance, related service, ping etc..
Below in conjunction with the accompanying drawings, several concrete application examples of the present invention are provided, to the reality of the clearer explanation present invention Apply process.
As shown in figure 3, it is the typical L2VPN+L3VPN networkings that mobile 4G is used.Whole L2L3 business is by a plurality of L2 business Formed with a L3 business, Fig. 1 only lists a L2 business and a L3 business.Figure involved in embodiment below 4 and Fig. 5 is TWAMP detections route (including a L2 business and the L3 searched out according to L2L3 business and CE1IP, CE2IP The uplink and downlink route of business), it is directed to following role:
CE:Customer Edge, customer side edge device, the equipment being directly connected with service provider;Here CE1 is Base station, CE2 are gateway sGW.
PE:Provider Edge, network side edge device, the edge device on service provider network, is connected with CE;
Sender:Transmitting terminal;
Reflector:Reflection end;
Virtual Reflector:Virtual reflection end;
Show TWAMP detection route tools using intelligence, operating procedure is as follows:
First, user chooses TWAMP detection examples or TWAMP to alert, and obtains:Including transmitting terminal client mode, transmitting End, reflection end, source IP (transmitting terminal IP) and destination IP (reflection end IP), show TWAMP detection route tools subsequently into intelligence.
2nd, system automatically analyzes out L2L3 business, CE1IP and CE2IP, searches out the actual route of TWAMP example detections.
Scene 1:End-to-end scene as shown in Figure 4, transmitting terminal are located at PE4, and reflection end is located at PE1, and source IP is 100.0.0.1, destination IP is 100.0.0.2, and client mode is three layers of UNI.
1.1st, according to three layers of UNI of client mode, determine that transmitting terminal belongs to L3 sides.
1.2nd, L3 business, i.e. uplink PE2-PE4, downlink PE5-PE3 are inquired about according to transmitting terminal.
1.3rd, associated L2L3 business, i.e. uplink CE1-PE1-PE2-PE4-CE2, downlink CE2- are determined according to L3 business PE5-PE3-PE1-CE1。
1.4th, L2 business is inquired about according to reflection end, reflection end belongs to L2 sides, determines that the i.e. source IP 100.0.0.1 of transmitting terminal is CE2IP, reflection end, that is, destination IP 100.0.0.2 is CE1IP.That is uplink PE1-PE2, downlink PE3-PE1.
Scene 2:Only transmitting terminal scene, transmitting terminal as shown in Figure 5 is located at PE4, and source IP is 99.1.1.1, and destination IP is 100.0.0.2, bridging has L 3 virtual mouth IP on network element PE2 be 100.0.0.1, and client mode is three layers of UNI.
1.1st, according to three layers of UNI of client mode, transmitting terminal inquiry L3 business.
1.2nd, associated L2L3 business, i.e. uplink CE1-PE1-PE2-PE4-CE2, downlink CE2- are determined according to L3 business PE5-PE3-PE1-CE1。
1.3rd, due to only transmitting terminal, the position (in L2 business or L3 business) of virtual reflection end can not be determined, so According to basic condition 4, all PE network elements (including PE2, PE3, PE4, PE5) of L3 business are inquired about, wherein there are virtual three layers on PE2 Mouth IP is 100.0.0.1, and the IP and destination IP 100.0.0.2 same network segments, it is CE1IP to determine destination IP 100.0.0.2, i.e. L2 industry Business, uplink PE1-PE2, downlink PE3-PE1;Source IP 99.1.1.1 is CE2IP, i.e. L3 business, i.e. uplink PE2-PE4, downlink PE5-PE3。
Finally, by L2L3 business, CE1IP and CE2IP search out the actual route of TWAMP example detections.
3rd, transmitting terminal is automatically analyzed out, reflects end position.
1st, for end-to-end scene, transmitting terminal and reflection end in L2L3 networks, Direct Analysis out position, such as Fig. 2, transmitting End is located at PE4, and reflection end is located at PE1.
2nd, for only transmitting terminal scene, if destination IP corresponds to CE1, then virtual reflection end is located at CE1 and border net Between first PE1, such as Fig. 5, transmitting terminal is located at PE4, and virtual reflection end is located at Virtual between CE1 and border network element PE1 Reflector;If destination IP corresponds to CE2, then virtual reflection end is located between CE2 and border network element PE4 (PE5).
3rd, for only reflection end scene, principle is the same as only transmitting terminal scene.
4th, final diagnostic result report is drawn
According to TWAMP detection route analysis, whether the route is normal, if route is discontinuous, illustrates that route is abnormal, such as Fruit route is normal and then analyzes alarm, performance, the other information such as ping of related service and every section of route, so as to help user accurate True navigates to the reason for TWAMP detections are obstructed.
A kind of acquisition TWAMP devices in end-to-end detection path are provided in the third embodiment of the present invention, are applied to In the system of L2VPN and L3VPN common networkings, as shown in fig. 6, described device includes:
Configuration information acquisition module 610, for obtaining the configuration information of TWAMP detection examples;The configuration information includes: Source IP, destination IP and known end, the known end include:Transmitting terminal and/or reflection end;
First processing module 620, carries out service inquiry according to the known end, determines the TWAMP detection examples L2VPNL3VPN business;
Second processing module 630, for determining that the source IP, the destination IP and two layers of base station equipment CE1, three-layer network close The correspondence of equipment CE2;
Search for routing module 640, for according to the L2VPNL3VPN business and the source IP, the destination IP with The correspondence of CE1, CE2, search out the actually detected path of TWAMP detection examples;
Position determination module 650, for determining the position of transmitting terminal and reflection end on actually detected path.
Based on said structure frame and implementation principle, several specific and sides of being preferable to carry out under the above constitution are given below Formula, to refine and optimize the function of device of the present invention, so that the implementation of the present invention program is more convenient, accurately.Specifically relate to And following content:
In the present embodiment, Second processing module 630, if specifically for judging that the known end includes transmitting terminal and reflection End, and transmitting terminal is gone out according to service inquiry result judgement and reflection end belongs to L2VPN business and L3VPN business, then directly really Determine source IP and correspond to CE equipment, the destination IP of the affiliated business side of transmitting terminal to correspond to the CE equipment of the affiliated business side of reflection end;Otherwise, look into The IP of L 3 virtual mouth on two or three layers of bridge joint network element is ask, according to the IP of inquiry, determines the source IP, the destination IP and two layers of base Station equipment CE1, three-layer network close the correspondence of equipment CE2.
Further, in the present embodiment, Second processing module 630, inquires about L 3 virtual mouth on two or three layers of bridge joint network element IP, searches the IP with the IP same network segments of the L 3 virtual mouth in the source IP and destination IP, determine the IP that finds with Two layers of base station equipment CE1 are corresponded to, and remaining IP is corresponding with three-layer network pass equipment CE2.
Further, in the present embodiment, first processing module 620, according to the known end, inquire about L2VPN business or L3VPN business, and according to the business inquired, determine one or more groups of L2VPNL3VPN business;Wherein, it is multigroup when determining During L2VPNL3VPN business, the correspondence of equipment CE2 is closed with two layers of base station equipment CE1, three-layer network according to source IP, destination IP, Determine one group of L2VPNL3VPN business.
Further, in the present embodiment, position determination module 650, specifically for when the known end include transmitting terminal and During reflection end, the position of transmitting terminal and reflection end on the actually detected path is directly determined;When the known end is only wrapped When including transmitting terminal, position of the transmitting terminal on the actually detected path is directly determined, and determine virtual reflection end The destination IP corresponding equipment with the equipment corresponding business side of the position in the actually detected path border network element Between;When the known end only includes reflection end, position of the reflection end on the actually detected path is directly determined, with And determine the source IP corresponding equipment of the position of virtual transmitting terminal in the actually detected path and the equipment pair Between the border network element for answering business side.
Further, the present embodiment described device, further includes:
Display module 660 is exported, for determining transmitting terminal on the actually detected path in position determination module 650 Behind the position of transmitting terminal, the actually detected path is subjected to output and is shown.
In conclusion the device in the end-to-end detection paths of acquisition TWAMP provided by the invention, it is only necessary to using existing TWAMP, which detects attribute, just can directly acquire detection route, maintain easily personnel and further examined in the case where TWAMP detections are obstructed Circuit network, greatly improves fault location efficiency.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (12)

  1. A kind of 1. method for obtaining the end-to-end detection paths of two-way active measurement agreement TWAMP, applied to two layers of L2 virtual privates In the system for netting VPN and three layer of L3VPN common networking, it is characterised in that including:
    Obtain the configuration information of TWAMP detection examples;The configuration information includes:Source IP, destination IP and known end, it is described known End includes:Transmitting terminal and/or reflection end;
    Service inquiry is carried out according to the known end, determines the L2VPNL3VPN business of the TWAMP detection examples;
    Determine that the source IP, the destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network;
    According to the L2VPNL3VPN business and source IP, the correspondence of the destination IP and CE1, CE2, search out The actually detected path of TWAMP detection examples, and determine on the actually detected path position of transmitting terminal and reflection end.
  2. 2. the method as described in claim 1, it is characterised in that described to determine the source IP, the destination IP and two layers of base station Equipment CE1, three-layer network close the correspondence of equipment CE2, including:
    If the known end includes transmitting terminal and reflection end, and goes out transmitting terminal according to service inquiry result judgement and reflection end adheres to separately In L2VPN business and L3VPN business, then directly determine that source IP corresponds to the CE equipment of the affiliated business side of transmitting terminal, destination IP corresponds to The CE equipment of the affiliated business side of reflection end;Otherwise, the IP of L 3 virtual mouth on two or three layers of bridge joint network element is inquired about, according to inquiry IP, determines that the source IP, the destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network.
  3. 3. method as claimed in claim 2, it is characterised in that L 3 virtual mouth on described two or three layers of bridge joint network element of inquiry IP, determines that the source IP, the destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network, including:
    Inquire about the IP of L 3 virtual mouth on two or three layers of bridge joint network element;
    The IP with the IP same network segments of the L 3 virtual mouth is searched in the source IP and destination IP;
    Determine that the IP found is corresponding with two layers of base station equipment CE1, remaining IP is corresponding with three-layer network pass equipment CE2.
  4. 4. the method as described in claim 1, it is characterised in that service inquiry is carried out according to the known end, is determined described The L2VPNL3VPN business of TWAMP detection examples, including:
    According to the known end, inquire about L2VPN business or L3VPN business, and according to the business inquired, determine one group or Multigroup L2VPNL3VPN business;
    Wherein, when determining multigroup L2VPNL3VPN business, according to the source IP, the destination IP and two layers of base station equipment CE1, three-layer network close the correspondence of equipment CE2, determine one group of L2VPNL3VPN business.
  5. 5. the method as described in Claims 1-4 any one, it is characterised in that described true on the actually detected path The position of transmitting terminal and reflection end is made, including:
    When the known end includes transmitting terminal and reflection end, directly determine transmitting terminal and reflection end on the actually detected road Position on footpath;
    When the known end only includes transmitting terminal, position of the transmitting terminal on the actually detected path is directly determined, with And determine the destination IP corresponding equipment of the position of virtual reflection end in the actually detected path and the equipment Between the border network element of corresponding business side;
    When the known end only includes reflection end, position of the reflection end on the actually detected path is directly determined, with And determine the source IP corresponding equipment of the position of virtual transmitting terminal in the actually detected path and the equipment pair Between the border network element for answering business side.
  6. 6. the method as described in Claims 1-4 any one, it is characterised in that described true on the actually detected path Behind the position for making transmitting terminal and reflection end, further include:By the actually detected path output display.
  7. 7. a kind of device in the end-to-end detection path of acquisition TWAMP, applied in the system of L2VPN and L3VPN common networkings, its It is characterized in that, described device includes:
    Configuration information acquisition module, for obtaining the configuration information of TWAMP detection examples;The configuration information includes:Source IP, mesh IP and known end, the known end include:Transmitting terminal and/or reflection end;
    First processing module, for carrying out service inquiry according to the known end, determines the TWAMP detection examples L2VPNL3VPN business;
    Second processing module, for determining that the source IP, the destination IP and two layers of base station equipment CE1, three-layer network close equipment CE2 Correspondence,
    Routing module is searched for, for according to the L2VPNL3VPN business and source IP, the destination IP and CE1, CE2 Correspondence, search out the actually detected paths of TWAMP detection examples;
    Position determination module, for determining the position of transmitting terminal and reflection end on the actually detected path.
  8. 8. device as claimed in claim 7, it is characterised in that the Second processing module, if described specifically for judging Known end includes transmitting terminal and reflection end, and goes out transmitting terminal according to service inquiry result judgement and reflection end belongs to L2VPN industry Business and L3VPN business, then CE equipment, the destination IP that directly definite source IP corresponds to the affiliated business side of transmitting terminal are corresponded to belonging to reflection end The CE equipment of business side;Otherwise, the IP of L 3 virtual mouth on two or three layers of bridge joint network element is inquired about, according to the IP of inquiry, is determined described Source IP, the destination IP close the correspondence of equipment CE2 with two layers of base station equipment CE1, three-layer network.
  9. 9. device as claimed in claim 8, it is characterised in that the Second processing module, specifically for inquiring about two or three layers of bridge The IP of L 3 virtual mouth on network element is met, is searched in the source IP and destination IP and the IP same network segments of the L 3 virtual mouth IP, determines that the IP found is corresponding with two layers of base station equipment CE1, and remaining IP is corresponding with three-layer network pass equipment CE2.
  10. 10. device as claimed in claim 7, it is characterised in that the first processing module, specifically for according to described known End, inquires about L2VPN business or L3VPN business, and according to the business inquired, determines one or more groups of L2VPNL3VPN industry Business;Wherein, when determining multigroup L2VPNL3VPN business, according to the source IP, the destination IP and two layers of base station equipment CE1, three-layer network close the correspondence of equipment CE2, determine one group of L2VPNL3VPN business.
  11. 11. the device as described in claim 7 to 10 any one, it is characterised in that the position determination module, is specifically used for When the known end includes transmitting terminal and reflection end, directly determine transmitting terminal and reflection end on the actually detected path Position;When the known end only includes transmitting terminal, position of the transmitting terminal on the actually detected path is directly determined, And determine that the destination IP corresponding equipment of the position of virtual reflection end in the actually detected path is set with this Between the border network element of standby corresponding business side;When the known end only includes reflection end, directly determine reflection end described Position on actually detected path, and determine the source of the position of virtual transmitting terminal in the actually detected path Between the border network element of the corresponding equipment of IP business side corresponding with the equipment.
  12. 12. the device as described in claim 7 to 10 any one, it is characterised in that further include:
    Display module is exported, for determining transmitting terminal and transmitting on the actually detected path in the position determination module Behind the position at end, the actually detected path is subjected to output and is shown.
CN201610950987.2A 2016-10-27 2016-10-27 Method and device for acquiring TWAMP end-to-end detection path Active CN107995015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610950987.2A CN107995015B (en) 2016-10-27 2016-10-27 Method and device for acquiring TWAMP end-to-end detection path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610950987.2A CN107995015B (en) 2016-10-27 2016-10-27 Method and device for acquiring TWAMP end-to-end detection path

Publications (2)

Publication Number Publication Date
CN107995015A true CN107995015A (en) 2018-05-04
CN107995015B CN107995015B (en) 2021-11-12

Family

ID=62029245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610950987.2A Active CN107995015B (en) 2016-10-27 2016-10-27 Method and device for acquiring TWAMP end-to-end detection path

Country Status (1)

Country Link
CN (1) CN107995015B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784378A (en) * 2019-11-04 2020-02-11 盛科网络(苏州)有限公司 Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
WO2020135854A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 Configuration method and controller
WO2020215657A1 (en) * 2019-04-22 2020-10-29 清华大学 Two-dimensional routing protocol-based l3vpn implementation method and system
CN111988193A (en) * 2019-05-24 2020-11-24 中兴通讯股份有限公司 TWAMP-based detection method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221326A (en) * 2012-04-04 2014-12-17 瑞典爱立信有限公司 Method for scalable measuring of connectivity between two way active measurement protocol (TWAMP) entities.
CN104683187A (en) * 2015-03-12 2015-06-03 烽火通信科技股份有限公司 Method for realizing router layer-2 VPN service physical interface end-to-end measurement
US20160192233A1 (en) * 2013-06-13 2016-06-30 Telefonaktiebolaget L M Ericsson (Publ) Congestion control for a multimedia session
CN105791074A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Method and device for establishing PW (Pseudo Wire) links

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221326A (en) * 2012-04-04 2014-12-17 瑞典爱立信有限公司 Method for scalable measuring of connectivity between two way active measurement protocol (TWAMP) entities.
US20160192233A1 (en) * 2013-06-13 2016-06-30 Telefonaktiebolaget L M Ericsson (Publ) Congestion control for a multimedia session
CN105791074A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Method and device for establishing PW (Pseudo Wire) links
CN104683187A (en) * 2015-03-12 2015-06-03 烽火通信科技股份有限公司 Method for realizing router layer-2 VPN service physical interface end-to-end measurement

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135854A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 Configuration method and controller
CN111385822A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Configuration method and controller
CN111385822B (en) * 2018-12-29 2021-11-09 华为技术有限公司 Configuration method and controller
US11838846B2 (en) 2018-12-29 2023-12-05 Huawei Technologies Co., Ltd. Configuration method and controller
WO2020215657A1 (en) * 2019-04-22 2020-10-29 清华大学 Two-dimensional routing protocol-based l3vpn implementation method and system
CN111988193A (en) * 2019-05-24 2020-11-24 中兴通讯股份有限公司 TWAMP-based detection method and related equipment
WO2020238799A1 (en) * 2019-05-24 2020-12-03 中兴通讯股份有限公司 Twamp-based detection method and related device
CN110784378A (en) * 2019-11-04 2020-02-11 盛科网络(苏州)有限公司 Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
CN110784378B (en) * 2019-11-04 2021-05-04 盛科网络(苏州)有限公司 Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)

Also Published As

Publication number Publication date
CN107995015B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN104660508B (en) A kind of message forwarding method and device
US8989188B2 (en) Preventing leaks among private virtual local area network ports due to configuration changes in a headless mode
CN107995015A (en) The method and apparatus for obtaining the end-to-end detection paths of TWAMP
WO2016188124A1 (en) Message forwarding method, apparatus and system
EP2549688A1 (en) Access method and apparatus for multi-protocol label switching layer 2 virtual private network
CN102484604A (en) Techniques for routing data between network areas
CN104767680B (en) It route the method and apparatus being switched fast
CN103139075B (en) A kind of message transmitting method and equipment
CN104113443A (en) Network equipment detection method, device and cloud detection system
CN107872368A (en) Detection method, device and the terminal of gateway accessibility in a kind of network node cluster
CN106452862A (en) Method and device for determining loop network
CN107566236A (en) For obtaining the methods, devices and systems in client's special line teleservice path
US20130042020A1 (en) Quick Network Path Discovery
CN103209125B (en) A kind of transmission method of label information and equipment
CN103200107B (en) Message transmitting method and message transmitting equipment
CN102916883B (en) LINK detection method and routing forwarding equipment
CN104618189A (en) Link failure detection method and device
CN105338127B (en) MAC address table updating method, interchanger and system
CN111418189A (en) Management of connections of residential gateways to other residential gateways implementing link aggregation
CN102904771B (en) Network testing device and method thereof
CN107948000A (en) A kind of switching method of primary channel, apparatus and system
CN104168132B (en) Method for diagnosing faults, equipment and system
CN106982153A (en) A kind of multi-segment pseudo-wires network connectivty detection method
CN109347790B (en) Security attack test system and test method for electric power MPLS VPN network
CN104717140B (en) The fault handling method and device of edge route bridge device in TRILL network

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