CN100403705C - Loopback detecting method for PPP package interface - Google Patents
Loopback detecting method for PPP package interface Download PDFInfo
- Publication number
- CN100403705C CN100403705C CNB2006100348176A CN200610034817A CN100403705C CN 100403705 C CN100403705 C CN 100403705C CN B2006100348176 A CNB2006100348176 A CN B2006100348176A CN 200610034817 A CN200610034817 A CN 200610034817A CN 100403705 C CN100403705 C CN 100403705C
- Authority
- CN
- China
- Prior art keywords
- interface
- ppp
- lcp
- loopback
- loop back
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a loop back detection method of a PPP package interface, which comprises the following steps that (1) a ping message can be sent from a support PPP package interface, a loop back detection command can be increased under the interface, and UP can be realized when the interface is automatically looped; (2) when a ping loop back detection test is completed, the loop back detection command can be sent out, and thereby, the existing configuration and the service of the interface can not be influenced. The present invention has the technical scheme that when the existing network user POS interface adopts a PPP package, the loop back detection of ping can be directly adopted, and the configuration does not need any modification. The present invention can be used for the link loop back detection of a POS interface of the PPP package, an MP binding interface of MLPPP, and a PPPOA package of an ATM. The present invention can also support the loop back detection of the interface which adopts the PPP package, such as CE1/CPOS, MP binding, etc. The detection method not only can detect communication character, but 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:
1) from supporting the PPP package interface to send the ping message, under described interface, increase by one and enable the loopback detection order, when described loopback detection order enables, in LCP LCP, password authentication protocol PAP, challenge-handshake authentication protocol CHAP, the loopback detection enable switch is set, and judge in LCP, PAP, CHAP negotiations process whether described switch enables, if enable, described interface is in the UP state when ring detects;
2) after finishing loopback detection, send out and enable the loopback detection order, be closed in the loopback detection enable switch that is provided with in LCP, PAP, the CHAP agreement.
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 (4)
1. the loop detection method of a 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 described interface, increase by one and enable the loopback detection order, when described loopback detection order enables, in LCP LCP, password authentication protocol PAP, challenge-handshake authentication protocol CHAP, the loopback detection enable switch is set, and judge in LCP, PAP, CHAP negotiations process whether described switch enables, if enable, described interface is in the UP state when ring detects;
2) after finishing loopback detection, send out and enable the loopback detection order, be closed in the loopback detection enable switch that is provided with in LCP, PAP, the CHAP agreement.
2. 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.
3. 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.
4. 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 CN1859236A (en) | 2006-11-08 |
CN100403705C true 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) |
Families Citing this family (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 |
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 |
CN106789430B (en) * | 2016-12-26 | 2019-11-05 | 深圳市风云实业有限公司 | A kind of point-to-point link fault detection method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267442A (en) * | 1997-06-20 | 2000-09-20 | 艾利森电话股份有限公司 | Next hop loopback |
CN1269955A (en) * | 1997-07-04 | 2000-10-11 | 艾利森电话股份有限公司 | Loop detection |
CN1531229A (en) * | 2003-03-13 | 2004-09-22 | 华为技术有限公司 | Method for detecting chain circuit cross misconnection |
US20050243732A1 (en) * | 2004-05-03 | 2005-11-03 | Bitar Nabil N | Organization and maintenance loopback cell processing in ATM networks |
-
2006
- 2006-03-30 CN CNB2006100348176A patent/CN100403705C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267442A (en) * | 1997-06-20 | 2000-09-20 | 艾利森电话股份有限公司 | Next hop loopback |
CN1269955A (en) * | 1997-07-04 | 2000-10-11 | 艾利森电话股份有限公司 | Loop detection |
CN1531229A (en) * | 2003-03-13 | 2004-09-22 | 华为技术有限公司 | Method for detecting chain circuit cross misconnection |
US20050243732A1 (en) * | 2004-05-03 | 2005-11-03 | Bitar Nabil N | Organization and maintenance loopback cell processing in ATM networks |
Also Published As
Publication number | Publication date |
---|---|
CN1859236A (en) | 2006-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7164694B1 (en) | Virtual loop carrier system with gateway protocol mediation | |
US6982993B1 (en) | Virtual loop carrier system with network clock recovery | |
US6785285B1 (en) | Method and system for providing broadcast channels over an emulated subnetwork | |
JP5356404B2 (en) | Resilient PPP / ML-PPP service with multi-chassis APS protection router | |
US20070291764A1 (en) | Access Device and Service Transmission Method | |
KR19990007463A (en) | Call Redirection System | |
EP1791298A1 (en) | A system and method for processing the link fault of the broad band access device | |
CN100403705C (en) | Loopback detecting method for PPP package interface | |
FR2728123A1 (en) | DATA TRANSMISSION METHOD | |
US20110022683A1 (en) | Communication links | |
US6891851B1 (en) | Method and apparatus for communicating maintenance messages and/or test messages of digital subscriber line services | |
US20040167978A1 (en) | Communication apparatus | |
JP2001230878A (en) | Central station for all digital loop | |
US6993010B1 (en) | Spoofing to preserve a communication link | |
Cisco | Basic Configuration | |
JP2010130284A (en) | Method of controlling communication and transmission device | |
Cisco | T | |
Cisco | S | |
Cisco | Configuring Serial Interfaces | |
Cisco | Interface Commands | |
CN110121156B (en) | LTE and TETRA communication method based on E1 | |
JP2010124456A (en) | Communication system, communication apparatus and terminal accommodation apparatus | |
WO2002058352A1 (en) | Simultaneous, transparent use of a telephone line for voice and data communications | |
EP1113696A2 (en) | ATM over DSL service | |
JP4799441B2 (en) | Communication system, gateway device and adapter device |
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 |