CN1859236A - Loopback detecting method for PPP package interface - Google Patents
Loopback detecting method for PPP package interface Download PDFInfo
- Publication number
- CN1859236A CN1859236A CN 200610034817 CN200610034817A CN1859236A CN 1859236 A CN1859236 A CN 1859236A CN 200610034817 CN200610034817 CN 200610034817 CN 200610034817 A CN200610034817 A CN 200610034817A CN 1859236 A CN1859236 A CN 1859236A
- Authority
- CN
- China
- Prior art keywords
- interface
- ppp
- loop back
- back detection
- ping
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A PPP package interface loop back detection method includes 1, PPP supporting package interface transmitting ping message, increasing enabled loop back detection command in interface, to make interface self loop UP; 2, after completing ping loop back detection, sending enabled loop back detection command, thereby unaffecting interface original configuration and service. The present invented technical proposal can directly adopts ping to make loop back detection when current network user POS interface adopts PPP package, without any modifying to configuration. It can be used in PPP packaged POS interface and MLPPP MP binding interface link loop back detection, and ATM PPPOA packaged link loop back detection, also supporting CE 1/CPOS, MP binding etc adopting PPP packaged interface loop back detection. Said detection method also can detect link time delay.
Description
Technical field
The present invention relates to a kind of loop detection method of PPP package interface.
Background technology
SONET (Synchronous Optical Network, synchronous optical network) is the synchronous transmission system of American National Standards Institute (ANSI) (ANSI) definition, it is a kind of standard transmission protocol of globalization, adopt optical transmission, transmission rate is formed a sequence, comprise STM-1 (155Mbit/s), STM-4c (622Mbit/s) and STM-16c/STM-16 (2.5Gbit/s), each stage speed all is 4 times of low one-level.Owing to be synchronizing signal, therefore can realize the multiplexing of multiple signals easily.
Synchronous digital hierarchy (Synchronous Digital Hierarchy is called for short SDH) is to use a subclass of sonet rate.It is international Telephone and Telegraph Consultative Committee (International Telephone and Telegraph ConsultativeCommittee), promptly present International Telecommunications Union (International Telecommunications Union) definition.
Grouping on the SONET/SDH (Packet Over SONET/SDH is called for short POS) is a kind of technology that is applied in metropolitan area network and the wide area network, and it has the support grouped data, as the advantage of Internet protocol (Internet Protocol is called for short IP) grouping.
POS uses SONET as physical layer protocol, at High-Level Data Link Control (High-level Data Link Control, abbreviation HDLC) encapsulating packets business in the frame, use point-to-point protocol (Point-to-Point Protocol, be called for short PPP) as the controlling links of data link layer, the IP Packet Service then operates in network layer.The data link layer of pos interface can be used PPP, HDLC agreement, is called for short PPP encapsulation and HDLC encapsulation.
Pos interface is supported the IP network agreement, therefore needs configuration of IP address.Usually adopt loopback to carry out the test of IP address configuration.The loopback of pos interface (loopback) Test Networking as shown in Figure 1, can among the figure 1., 2., 3., 4. test point carries out loopback test.SDH1, SDH2 refer to transmission equipment among the figure, the transmitting terminal of TX finger mouth, the receiving terminal of RX finger mouth.Initiate to judge router one to specifying the ping of pos interface by the response result of ping message on router one, whether transmission link and node have fault between the router two.
When router links to each other by the SDH transmission network, can detect link or node failure by specifying the ping of POS outgoing interface, realize the fault location of rapid end-to-end.
Prior art one
Observe the connectivity state of link by LCP (LCP) state of checking PPP, thereby judge whether transmission link or node exist fault.This method is neither directly perceived, can not reflect chain-circuit time delay.
Prior art two
Support specified interface ping, can only support the HDLC encapsulation.
If the existing network equipment interface adopts the PPP encapsulation, then can't directly adopt ping to carry out loopback detection.Generally include following steps in the practical application:
1) user is made the PPP encapsulation into the HDLC encapsulation, deletes the relevant configuration of original PPP;
2) by specified interface ping loopback detection is carried out in this HDLC encapsulation;
3) recover the PPP encapsulation.After this HDLC encapsulation loopback detection finishes,, the configuration of deletion is reconfigured one time this HDLC encapsulation switching the back PPP encapsulation.
Said method operates and bothers very much.If SDH bearing asynchronous transmission mode (Asynchronous TransferMode in addition, ATM) carry out PPPOA (PPP over ATM) encapsulation, then can't carry out loopback detection with the HDLC encapsulation, if but can support the ping loopback detection of PPP encapsulation, then loopback once the ATM mouth also can carry out loopback detection.For MLPPP (MultilinkPPP, Multi-Link Point-to-Point Protocol) interface, must adopt ppp protocol, therefore carry out loopback detection with specified interface ping, can only adopt the PPP encapsulation.
Summary of the invention
The object of the present invention is to provide a kind of loop detection method of PPP package interface.Existing network equipment pos interface, E1/CE1 interface, CPOS interface adopt the PPP encapsulation, can directly adopt ping to carry out loopback detection, need not make any modification to configuration.This method can be used for the link loopback detection of the MP bundle interface of the pos interface of PPP encapsulation and MLPPP, and the link loopback detection of the PPPOA of ATM encapsulation.This detection method can also detect chain-circuit time delay except detecting the connectedness.
For reaching above-mentioned purpose, the present invention adopts following technical scheme:
A kind of loop detection method of PPP package interface may further comprise the steps:
1) from supporting the PPP package interface to send the ping message, under interface, increases by one and enable the loopback detection order, make the interface can UP when encircling;
2) after finishing the test of ping loopback detection, send out and enable the loopback detection order, thereby do not influence interface original configuration and business.
Wherein, when the loopback detection order enables, in LCP (LCP), password authentication protocol (PAP), challenge-handshake authentication protocol (CHAP), a loopback detection enable switch is set.Source IP, the purpose IP of described ping message is the IP address of this interface.The interface of described PPP encapsulation comprises the PPP package interface that pos interface, E1, CE1, CPOS, MP binding are adopted.
Further, when LCP consulted, request (request) message carried magic number (Magic number) and is used for detecting from ring, judges with Magic number and judges from the ring place whether this switch enables.When PAP/CHAP authenticates, judged before entering identifying procedure whether this switch enables.
Technical solution of the present invention when existing network user pos interface adopts the PPP encapsulation, can directly adopt ping to carry out loopback detection, and not need any modification is made in configuration.It can be used for the link loopback detection of the MP bundle interface of the pos interface of PPP encapsulation and MLPPP, and the link loopback detection of the PPPOA of ATM encapsulation, can also support CE1/CPOS, MP binding etc. to adopt the loopback detection of the interface of PPP encapsulation.This detection method can also detect chain-circuit time delay except detecting the connectivity.This invention is used for adopting ping to carry out fault location when the router POS interface links to each other by the SDH transmission network, be about to carry out ping from router behind one section one section looper of SDH equipment, can judge which section transmission link or node breaks down by replying of ping, very simple, convenient for fault location end to end, effectively.
Description of drawings
Fig. 1 is the loopback test networking schematic diagram of pos interface.
Embodiment
A kind of loop detection method of PPP package interface may further comprise the steps:
1) ping specifies the POS outgoing interface, and this pos interface is supported the PPP encapsulation.Send from this pos interface for the ping message.Source IP, the purpose IP of message is the IP address of this interface.
Allow the mechanism of pos interface UP when 2) increasing loopback detection.The PPP of pos interface encapsulation under the normal condition need allow a series of processes of ppp protocol cover, comprises LCP, PAP/CHAP authentication, IPCP, all consults to pass through, and interface ability UP could send the ping message from this pos interface after having only interface UP.Generally speaking, pos interface is when encircling, because LCP is when consulting, the request message can carry magic number and be used for detecting from ring, so LCP can consult failure, thereby this pos interface can't UP.In the present embodiment, under pos interface, increase by one and enable the loopback detection order, make it still can UP when encircling at pos interface.The specific implementation method is as follows:
Under pos interface, increase by one and enable/go to enable the loopback detection order.When the loopback detection order enables, a loopback detection enable switch is set in LCP, PAP, CHAP agreement.When LCP consulted and echo shakes hands, the request message can carry Magicnumber and be used for detecting from ring, judged from the place of ring at original Magic number and judged that this sign enables, and then skip and do not carry out detecting from ring, LCP just can arrive the open state like this.When PAP/CHAP authenticates, judged that before entering identifying procedure originally this sign enables, then directly return authentication success, so just the energy skip authentication triggers ipcp negotiation, last ipcp negotiation relief IPCP open, thus allow pos interface be in the UP state.
3) after finishing ping loopback test, go to enable the loopback detection order, be closed in the loopback detection enable switch that is provided with in LCP, PAP, the CHAP agreement, whether the negotiations process for original pos interface PPP will or not the normal use of interface without any influence like this.
Claims (6)
1, a kind of loop detection method of PPP package interface is characterized in that may further comprise the steps:
1) from supporting the PPP package interface to send the ping message, under interface, increases by one and enable the loopback detection order, make interface when encircling, be in the UP state;
2) after finishing the test of ping loopback detection, send out and enable the loopback detection order.
2, the loop detection method of PPP package interface according to claim 1 is characterized in that: when the loopback detection order enables, a loopback detection enable switch is set in LCP, password authentication protocol, challenge-handshake authentication protocol.
3, the loop detection method of PPP package interface according to claim 2 is characterized in that: when LCP consulted, the request message carried Magic number and is used for detecting from ring, judges from the ring place whether this switch enables in judgement with Magic number.
4, the loop detection method of PPP package interface according to claim 2 is characterized in that: when PAP/CHAP authenticates, judged before entering identifying procedure whether this switch enables.
5, the loop detection method of PPP package interface according to claim 2 is characterized in that: source IP, the purpose IP of described ping message are the IP addresses of this interface.
6, the loop detection method of PPP package interface according to claim 1 is characterized in that: the interface of described PPP encapsulation comprises the PPP package interface that pos interface, E1, CE1, CPOS, MP binding are adopted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100348176A CN100403705C (en) | 2006-03-30 | 2006-03-30 | Loopback detecting method for PPP package interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100348176A CN100403705C (en) | 2006-03-30 | 2006-03-30 | Loopback detecting method for PPP package interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1859236A true CN1859236A (en) | 2006-11-08 |
CN100403705C CN100403705C (en) | 2008-07-16 |
Family
ID=37298101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100348176A Expired - Fee Related CN100403705C (en) | 2006-03-30 | 2006-03-30 | Loopback detecting method for PPP package interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100403705C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252470B (en) * | 2008-03-28 | 2010-09-01 | 中兴通讯股份有限公司 | Method for link self-loop test on IMA interface |
CN102209003A (en) * | 2010-03-29 | 2011-10-05 | 华为技术有限公司 | Link detection method, system and loopback initiation equipment |
CN101552769B (en) * | 2008-03-31 | 2012-07-04 | 华为技术有限公司 | Method and system for automatically and successfully consulting after canceling loopback of bundle link |
TWI469568B (en) * | 2010-04-22 | 2015-01-11 | Hon Hai Prec Ind Co Ltd | Switching device and loopback detecting method thereof |
CN106789430A (en) * | 2016-12-26 | 2017-05-31 | 深圳市风云实业有限公司 | A kind of point-to-point link fault detection method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6154448A (en) * | 1997-06-20 | 2000-11-28 | Telefonaktiebolaget Lm Ericsson (Publ) | Next hop loopback |
SE512055C2 (en) * | 1997-07-04 | 2000-01-17 | Ericsson Telefon Ab L M | Detection of loop |
CN100512062C (en) * | 2003-03-13 | 2009-07-08 | 华为技术有限公司 | Method for detecting chain circuit cross misconnection |
US7362710B2 (en) * | 2004-05-03 | 2008-04-22 | Lucent Technologies Inc. | Organization and maintenance loopback cell processing in ATM networks |
-
2006
- 2006-03-30 CN CNB2006100348176A patent/CN100403705C/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252470B (en) * | 2008-03-28 | 2010-09-01 | 中兴通讯股份有限公司 | Method for link self-loop test on IMA interface |
CN101552769B (en) * | 2008-03-31 | 2012-07-04 | 华为技术有限公司 | Method and system for automatically and successfully consulting after canceling loopback of bundle link |
CN102209003A (en) * | 2010-03-29 | 2011-10-05 | 华为技术有限公司 | Link detection method, system and loopback initiation equipment |
TWI469568B (en) * | 2010-04-22 | 2015-01-11 | Hon Hai Prec Ind Co Ltd | Switching device and loopback detecting method thereof |
CN106789430A (en) * | 2016-12-26 | 2017-05-31 | 深圳市风云实业有限公司 | A kind of point-to-point link fault detection method |
CN106789430B (en) * | 2016-12-26 | 2019-11-05 | 深圳市风云实业有限公司 | A kind of point-to-point link fault detection method |
Also Published As
Publication number | Publication date |
---|---|
CN100403705C (en) | 2008-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6982993B1 (en) | Virtual loop carrier system with network clock recovery | |
US7164694B1 (en) | Virtual loop carrier system with gateway protocol mediation | |
US6377571B1 (en) | Virtual modem for dialout clients in virtual private network | |
JP5356404B2 (en) | Resilient PPP / ML-PPP service with multi-chassis APS protection router | |
EP1791298B1 (en) | A system and method for processing the link fault of the broad band access device | |
MXPA03006292A (en) | Telecommunication data compression apparatus and method. | |
EP1126649A2 (en) | Method and apparatus for providing a more efficient use of the total bandwidth capacity in a synchronous optical network | |
CN101159591A (en) | Method and system of implementing different type port image | |
CN100403705C (en) | Loopback detecting method for PPP package interface | |
US7761508B2 (en) | Access device-based fragmentation and interleaving support for tunneled communication sessions | |
US20050068984A1 (en) | Low-cost network system between a base station controller and a base transceiver station, and method for transmitting data between them | |
US20040167978A1 (en) | Communication apparatus | |
JP2000312239A (en) | Digital subscriber line(dsl) communication method | |
JP2001230878A (en) | Central station for all digital loop | |
JP2000232664A (en) | Digital subscriber's line(dsl) communication method, and method for exchanging communication among plural dsl communication channels | |
Cisco | Basic Configuration | |
Cisco | T | |
Cisco | Introducing the MGX 8850 Switch | |
Cisco | Modem Relay Support on VoIP Platforms | |
US7492761B1 (en) | Broadband loop carrier system | |
WO2002058352A9 (en) | Simultaneous, transparent use of a telephone line for voice and data communications | |
WO2019101606A1 (en) | Access network with remote access servers | |
JP2001016256A (en) | Internet telephony system | |
EP1113696A2 (en) | ATM over DSL service | |
CN1298241A (en) | Supporting asynchronous transfer mode independent data telephone network, gateway and its method |
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: 20080716 Termination date: 20120330 |