CN101330410B - Far-end loopback test method, system and exchange - Google Patents
Far-end loopback test method, system and exchange Download PDFInfo
- Publication number
- CN101330410B CN101330410B CN2008101335562A CN200810133556A CN101330410B CN 101330410 B CN101330410 B CN 101330410B CN 2008101335562 A CN2008101335562 A CN 2008101335562A CN 200810133556 A CN200810133556 A CN 200810133556A CN 101330410 B CN101330410 B CN 101330410B
- Authority
- CN
- China
- Prior art keywords
- switch
- test
- test packet
- traffic engineering
- point
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The embodiment of the invention discloses a remote loop-back testing method, which comprises the following steps: setting the parsing state of a switch at the edge of a provider backbone network bridge technology tunnel supporting traffic engineering to FWD, and forwarding a testing message sent by a point-to-point link connected switch after receiving the message to the provider backbone network bridge technology tunnel supporting traffic engineering. The embodiment of the invention further discloses a corresponding remote loop-back testing method, a switch and a remote loop-back testing system. By using the method, 3AH can be used for loop-back testing of the link performance of a PBB-TE Tunnel and links.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of far-end loopback test method, system and switch.
Background technology
(the IEEE of IEEE, Institute of Electrical and ElectronicsEngineers) standard (Std, standard) 802.3ah is link layer Ethernet (Ethernet) operation maintenance management (OAM, operation maintenance management) function and realization agreement, can be called 3AH for short, 3AH is positioned at the link layer of protocol stack, realization is to the management of different 802.3 physical layers, major function comprises: the OAM ability discovery, the OAM link monitoring, the far-end signalling trouble, the OAM remote loopback, remote side administration information bank (MIB, management information base) obtaining, is a kind of OAM of point-to-point.
Remote loopback is meant that the notice remote equipment enters wrapped state, and with the loopback test link, an end of the pattern that has the initiative is initiated remote loopback, and the opposite end of an end of aggressive mode receives and carries out following action behind the loopback request message:
At first oneself multiplexing state machine (Mutiplexer) is changed to and abandons (DISCARD) state, promptly abandon any data message of local terminal from upper layer transfers to the OAM layer; With oneself parse state machine (Parser) be changed to loopback (LB, Loopback), i.e. the data message received of local terminal loopback;
Send the loopback request that infomational message responds this device opposite end.
This moment, far-end removed outside OAM Protocol Data Unit (PDU, the Protocol Data Unit) message, and other message all will be returned by opposite end OAM layer former state.
Receive that the Parser (parse state machine) that local terminal behind the response message of opposite end is provided with oneself is the DISCARD state, any message that issues from the MAC layer directly abandons after OAM layer statistics after by loopback, send MAC layer on no longer.
In research and practice process to prior art, the inventor finds that there is following problem in prior art:
Support the provider backbone bridging connection technology (PBB-TE of traffic engineering, Provider BackboneBridge-Traffic Engineering), obtained application more and more widely, along with the development of technology, the user needs to use the link performance of the compounded link that 3AH loopback test PBB-TE tunnel (Tunnel) and point-to-point link form sometimes; But 3AH is only applicable to the test of point-to-point link, can't satisfy user's demand.
Summary of the invention
The technical problem that the embodiment of the invention will solve provides a kind of far-end loopback test method, system and switch, is used to use the link performance of the compounded link that 3AH loopback test PBB-TE Tunnel and point-to-point link form.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of far-end loopback test method on the one hand, comprising:
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state, after receiving the test packet that described point-to-point link returns end switch, described test packet is transmitted in provider backbone bridging connection technology tunnel by described support traffic engineering, to finish loopback test.
On the other hand, provide a kind of far-end loopback test method, having comprised:
Send test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering;
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Described point-to-point link sends to the described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering to end switch with described test packet loopback;
The described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering is transmitted described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering after receiving the test packet that point-to-point link returns end switch;
The statistical correlation parameter is finished loopback test.
On the other hand, provide a kind of switch, having comprised:
Receiving element is used for the provider backbone bridging connection technology tunnel acceptance test message by described support traffic engineering;
Test cell, be used for when described receiving element is received test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Retransmission unit is used for after receiving the test packet that described point-to-point link returns end switch, transmits described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering.
On the other hand, provide a kind of remote loopback test macro, having comprised:
First switch is used for sending test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering; The statistical correlation parameter is to finish loopback test;
Second switch, be in and support the provider backbone bridging connection technology tunnel of traffic engineering to be in, be used for when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
The 3rd switch is positioned at the opposite end of second switch described in the point-to-point link, is used to receive described test packet, and described test packet loopback is sent to described second switch.
As can be seen from the above technical solutions, owing to be in the switch at PBB-TE Tunnel edge when receiving the test packet that loopback is returned, test packet can not abandoned, but continue to transmit, therefore can use the link performance of the compounded link of 3AH loopback test PBB-TE tunnel Tunnel and point-to-point link composition, satisfy user's demand.
Description of drawings
Fig. 1 is the structural representation of the compounded link of PBB-TE Tunnel and point-to-point link composition;
Far-end loopback test method embodiment two flow charts that Fig. 2 provides for the embodiment of the invention;
The system configuration schematic diagram of the far-end loopback test method embodiment three that Fig. 3 provides for the embodiment of the invention.
Embodiment
The invention provides a kind of far-end loopback test method, system and switch, be used to use 3AH to test the link performance of the compounded link of PBB-TE Tunnel and point-to-point link composition.
The structural representation of the compounded link that PBB-TE Tunnel and point-to-point link are formed is as shown in Figure 1:
In the prior art, when switch 101 is initiated test, send test packet by PBB-TE Tunnel105, switch 103 will be initiated loopback test to switch 104 after receiving test packet, Gigabit Ethernet 1/0/1 (GE1/0/1 at switch 103, Gigabit Ethernet1/0/1) port initiates that any test packet that sends from the GE1/0/1 port will be at the GE2/0/1 of switch 104 port by loopback behind the remote loopback, this moment, the parse state machine of switch 103 was the DISCARD state, the test packet that returns will be abandoned by switch 103, therefore can't finish test.
Among the far-end loopback test method embodiment provided by the invention, be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and 3AH parse state machine is changed to forwarding state (FWD), after described switch is received the test packet that point-to-point link returns end switch, described switch is transmitted described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to finish loopback test.
With Fig. 1 is example, the 3AH parse state machine that is about to be in the switch 103 at PBB-TE Tunnel edge is changed to FWD, after switch 103 is received the test packet of switch 104 transmissions that point-to-point link connects, can not abandon test packet as prior art can not abandoned data message by switch, but continue to transmit to PBB-TE Tunnel, like this, the test packet that distant-end switch 104 loopbacks are returned will be transmitted PBB-TE Tunnel105 by switch 103, finally get back to switch 101 by PBB-TE Tunnel105, to finish loopback test.
From the whole system angle, far-end loopback test method embodiment two flow processs that the embodiment of the invention provides as shown in Figure 2:
The switch of step 203, point-to-point link opposite end sends to the switch at the described PBB-TE of being in Tunnel edge with described test packet loopback, and the parse state machine is changed to the FWD state;
The switch at step 204, the described PBB-TE of being in Tunnel edge is being received the point-to-point link opposite end
Behind the test packet that switch sends, transmit described test packet by described PBB-TE Tunnel;
Wherein, relevant parameter comprises: one or several in the test packet packet loss of transmission, time delay, the shake data.
System configuration is as shown in Figure 3 among the far-end loopback test method embodiment three that the embodiment of the invention provides:
Switch 301, switch 302, switch 303 links to each other by PBB-TE Tunnel305, switch 304 and 303 direct point-to-point connections of switch, wherein switch 303 is positioned at PBB-TE Tunnel edge, when switch 301 is initiated test, send test packet by PBB-TE Tunnel305, dotted line is represented the transfer route of test packet among Fig. 3, the test packet that sends on the switch 301 arrives switch 303 by tunnel PBB-TE Tunnel 305, switch 303 is forwarded to switch 304 with described test packet after receiving test packet, initiate loopback test, and the 3AH parse state machine of switch 303 is changed to FWD, make test packet go out GE 2/0/1 port that arrives switch 304 behind the tunnel by the GE1/0/1 port by configuration service example mapping user on the switch 303, because disposed remote loopback on the switch 303, test packet will intactly be looped back to switch 303.And switch 303 3AH parse state machine at this moment is changed to the FWD state, the 3AH loopback can not be dropped, so being continued, transmits test packet, arrive switch 301 by PBB-TE Tunnel305, parameters such as the test packet packet loss that switch-301 statistics sends, time delay, thus realization is to the detection of the link performance of the compounded link of PBB-TE Tunnel and point-to-point link composition.
Because in the far-end loopback test method that the embodiment of the invention provides, the switch that is in PBB-TE Tunnel edge is being initiated loopback test, 3AH parse state machine can be changed to the FWD state, when receiving the test packet that loopback is returned, test packet can not abandoned, but continue to transmit, therefore can use the link performance of the compounded link of 3AH loopback test PBB-TE Tunnel and point-to-point link composition, satisfy user's demand.
Switch embodiment provided by the invention comprises:
Receiving element is used for the provider backbone bridging connection technology tunnel acceptance test message by described support traffic engineering;
Test cell, be used for when described receiving element is received test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Retransmission unit is used for after receiving the test packet that described point-to-point link returns end switch, transmits described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering.
Remote loopback test macro embodiment provided by the invention comprises:
First switch is used for sending test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering; The statistical correlation parameter is to finish loopback test;
Second switch, be in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, be used for when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
The 3rd switch is positioned at the opposite end of second switch described in the point-to-point link, is used to receive described test packet, and described test packet loopback is sent to described second switch.
Wherein, described second switch and be equivalent to above-described switch embodiment provided by the invention comprises:
Receiving element is used for the provider backbone bridging connection technology tunnel acceptance test message by described support traffic engineering;
Test cell, be used for when described receiving element is received test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Retransmission unit is used for after receiving the test packet that described point-to-point link returns end switch, transmits described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to finish loopback test.
Wherein, described parameter unit comprises:
The packet loss unit is used to add up the test packet packet loss of transmission;
And/or the time delay unit, be used to add up time delay;
And/or dither unit, be used for statistics shake data.
Wherein, described first switch is equivalent to the switch 301 among the far-end loopback test method embodiment three that the embodiment of the invention provides, comprising:
Transmitting element is used for sending test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering;
Statistic unit is used for the statistical correlation parameter.
The concrete occupation mode of switch embodiment provided by the invention, remote loopback test macro embodiment, can with reference to above to since the description of the far-end loopback test method that provides of the embodiment of the invention be not described in detail at this.
Among switch embodiment provided by the invention, the remote loopback test macro embodiment, second switch that is in the PBB-TETunnel edge is when receiving the test packet that loopback is returned, test packet can not abandoned, but continue to be forwarded to first switch by PBB-TE Tunnel, therefore can use the link performance of the compounded link of 3AH loopback test PBB-TE Tunnel and point-to-point link composition, satisfy user's demand.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out
A kind of far-end loopback test method comprises:
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state, after receiving the test packet that described point-to-point link returns end switch, described test packet is transmitted in provider backbone bridging connection technology tunnel by described support traffic engineering, to finish loopback test.
A kind of far-end loopback test method comprises:
Send test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering;
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Described point-to-point link sends to the described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering to end switch with described test packet loopback;
The described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering is transmitted described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering after receiving the test packet that point-to-point link returns end switch;
The statistical correlation parameter is finished loopback test.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than a kind of far-end loopback test method provided by the present invention, system and switch are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (7)
1. a far-end loopback test method is characterized in that, comprising:
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state, after receiving the test packet that described point-to-point link returns end switch, described test packet is transmitted in provider backbone bridging connection technology tunnel by described support traffic engineering, to finish loopback test.
2. a far-end loopback test method is characterized in that, comprising:
Send test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering;
Be in the switch at the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Described point-to-point link sends to the described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering to end switch with described test packet loopback;
The described switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering is transmitted described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering after receiving the test packet that point-to-point link returns end switch;
The statistical correlation parameter is finished loopback test.
3. far-end loopback test method as claimed in claim 2 is characterized in that, described relevant parameter comprises:
In the test packet packet loss that sends, time delay, the shake data one or several.
4. a switch that is in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering is characterized in that, comprising:
Receiving element is used for the provider backbone bridging connection technology tunnel acceptance test message by described support traffic engineering;
Test cell, be used for when described receiving element is received test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Retransmission unit is used for after receiving the test packet that described point-to-point link returns end switch, transmits described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering.
5. a remote loopback test macro is characterized in that, comprising:
First switch is used for sending test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering; The statistical correlation parameter is to finish loopback test;
Second switch, be in the edge, provider backbone bridging connection technology tunnel of supporting traffic engineering, be used for when receiving test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
The 3rd switch is positioned at the opposite end of second switch described in the point-to-point link, is used to receive described test packet, and described test packet loopback is sent to described second switch.
6. remote loopback test macro as claimed in claim 5 is characterized in that, described second switch comprises:
Receiving element is used for the provider backbone bridging connection technology tunnel acceptance test message by described support traffic engineering;
Test cell, be used for when described receiving element is received test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to point-to-point link end switch is sent described test packet, initiate loopback test, and the parse state machine is changed to forwarding state;
Retransmission unit is used for after receiving the test packet that described point-to-point link returns end switch, transmits described test packet by the provider backbone bridging connection technology tunnel of described support traffic engineering, to finish loopback test.
7. as claim 5 or 6 described remote loopback test macros, it is characterized in that described first switch comprises:
Transmitting element is used for sending test packet by the provider backbone bridging connection technology tunnel of supporting traffic engineering;
Statistic unit is used for the statistical correlation parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101335562A CN101330410B (en) | 2008-07-17 | 2008-07-17 | Far-end loopback test method, system and exchange |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101335562A CN101330410B (en) | 2008-07-17 | 2008-07-17 | Far-end loopback test method, system and exchange |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101330410A CN101330410A (en) | 2008-12-24 |
CN101330410B true CN101330410B (en) | 2011-06-08 |
Family
ID=40206018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101335562A Expired - Fee Related CN101330410B (en) | 2008-07-17 | 2008-07-17 | Far-end loopback test method, system and exchange |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101330410B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209003A (en) * | 2010-03-29 | 2011-10-05 | 华为技术有限公司 | Link detection method, system and loopback initiation equipment |
CN101848120A (en) * | 2010-06-04 | 2010-09-29 | 中兴通讯股份有限公司 | High-temperature testing method and device |
CN101989955B (en) * | 2010-11-17 | 2015-04-01 | 中兴通讯股份有限公司 | Realization method and system of remote loopback |
CN102025569B (en) * | 2010-12-15 | 2016-03-30 | 中兴通讯股份有限公司 | The far-end loopback test method of point-to-point and system and device |
CN102984022A (en) * | 2012-11-12 | 2013-03-20 | 盛科网络(苏州)有限公司 | Optimization method for Ethernet in the first mile (EFM) far-end loopback |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783837A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method for detecting route unit fault |
CN1859235A (en) * | 2006-01-17 | 2006-11-08 | 华为技术有限公司 | Communication device and its detecting method |
-
2008
- 2008-07-17 CN CN2008101335562A patent/CN101330410B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783837A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method for detecting route unit fault |
CN1859235A (en) * | 2006-01-17 | 2006-11-08 | 华为技术有限公司 | Communication device and its detecting method |
Also Published As
Publication number | Publication date |
---|---|
CN101330410A (en) | 2008-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101729303B (en) | Method and device for measuring network performance parameter | |
US9270524B2 (en) | Method and device for LACP link switching and data transmission | |
CN101132320B (en) | Method for detecting interface trouble and network node equipment | |
CN101355466B (en) | Method and apparatus for transmitting continuous check information message | |
CN101697626A (en) | Communication fault detection method and system based on two-way forwarding detection protocol | |
CN101212366A (en) | Failure detection method, system, and main node in Ethernet loop network | |
WO2008137614A1 (en) | Gpon oam using ieee 802.1ag methodology | |
CN101330410B (en) | Far-end loopback test method, system and exchange | |
CN101267363A (en) | Loop testing method, system and device | |
WO2007048299A1 (en) | A method and device for consistency verify of the time slot state in the traffic engineering link | |
WO2013189381A2 (en) | Link detection method and device for passive optical network | |
CN101340346A (en) | Ring control method and apparatus of Ethernet looped network system | |
WO2011095101A1 (en) | Linear 1: n protection method, device and system for packet transport network | |
WO2014114121A1 (en) | Method, apparatus and system for realizing security detection in heterogeneous network | |
CN101217445B (en) | A method of loop generation protection and Ethernet ring system | |
CN101834759A (en) | Detection method of binding link and distributed equipment | |
CN100563201C (en) | A kind of method for detecting route unit fault and device | |
CN101237392B (en) | A network failure testing method under asynchronous transmission mode | |
CN103621020B (en) | An intermediate network node in a telecommunications system | |
KR101538348B1 (en) | Method and system for setting detection frame timeout duration of ethernet node | |
CN104468386A (en) | Method and device for balancing flow in Ethernet virtual Internet | |
CN103780444A (en) | Loop automatic detection device and method in EoC network | |
CN102025569B (en) | The far-end loopback test method of point-to-point and system and device | |
RU2687040C1 (en) | Method and apparatus for monitoring a backbone network | |
CN101340320B (en) | Link detection method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110608 Termination date: 20120717 |