WO2007107066A1 - Procédé et dispositif de communication permettant d'effectuer une détection de bouclage fondée sur l'ethernet - Google Patents
Procédé et dispositif de communication permettant d'effectuer une détection de bouclage fondée sur l'ethernet Download PDFInfo
- Publication number
- WO2007107066A1 WO2007107066A1 PCT/CN2006/003795 CN2006003795W WO2007107066A1 WO 2007107066 A1 WO2007107066 A1 WO 2007107066A1 CN 2006003795 W CN2006003795 W CN 2006003795W WO 2007107066 A1 WO2007107066 A1 WO 2007107066A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- loopback
- timer
- message
- port
- sending
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Definitions
- the present invention relates to the field of communications technologies, and in particular to a loopback detection method based on an Ethernet link and a communication device employing the same. Background technique
- PPP Point-to-point links
- HDLC Advanced Data Link Control Protocol
- Gigabit Ethernet Gigabit Ethernet
- the PPP protocol is a data link layer protocol that provides for the delivery and encapsulation of network layer packets over a point-to-point link.
- PPP is mainly composed of two types of protocols: Link Control Protocols (LCP) and Network Control Protocols (NCP).
- LCP Link Control Protocol
- NCP Network Control Protocols
- the link control protocol is mainly used to establish, tear down and monitor PPP data links; the network layer control protocol family is mainly used to negotiate the format and type of data packets transmitted on the data link.
- PPP needs to negotiate through the session: LCP negotiation, authentication, network layer negotiation.
- Ethernet technology has obvious advantages in addressing the bandwidth and capacity requirements of the network.
- the connection of the backbone network is developing in the direction of ultra-high speed and super capacity.
- Ethernet technology has always been the most popular method, with a huge network foundation and long-term insurance knowledge.
- Ethernet has the advantages of simple implementation, cost performance, scalability and high reliability.
- High-speed links use a large number of Gigabit Ethernet interfaces for fiber-optic interfaces for point-to-point transmission.
- Loopback testing is commonly used to check and analyze port or line problems. In fact, due to some accidents in various aspects such as design and construction, the link cannot be transmitted normally. There are some ways to confirm which part of the link is out of order.
- the loopback detection method of the cartridge can often quickly locate complex practical problems.
- FIG. 1 is a schematic diagram of a prior art PPP for loopback detection.
- the PPP protocol message can have a Magic Number, and the almost randomly generated magic word is added to the protocol message.
- the sender and the receiver of one interface a need to be connected to the receiver and the sender of the other interface b, so that the packet with the magic word sent by the PPP is sent. Go out and go back to the receiving port.
- PPP finds that the magic word in the received message is equal to the magic word it sent last time, it will perceive that the loopback is being performed at this time, and the interface will automatically enter the loopback state.
- loopback detection is based on the PPP negotiation mechanism. Loopback detection cannot be implemented for other links (such as Ethernet). PPP needs to establish a session and continuously maintain the session to continuously compare the transmitted and received magic words. The implementation is relatively complicated; the configuration of the PPP on the magic word is embedded in the protocol message, and the number of configurable items is small, and the use is inflexible. Summary of the invention
- Embodiments of the present invention provide a method and a communication device based on loopback detection of an Ethernet link, which are used to increase link maintenance and fault diagnosis.
- An embodiment of the present invention provides a method for loopback detection based on an Ethernet link, including the steps of: establishing an Ethernet link of a loopback connection between a sending port and a receiving port of the communication device; sending a test packet from the sending port, and Receiving the 4 texts from the receiving port;
- the Ethernet link and the device status are determined according to the situation in which the receiving port receives the message.
- the embodiment of the invention provides a communication device, which has an Ethernet port as a sending port and a receiving port, and the communication device includes:
- a sending unit that sends a test message from the sending port
- the determining unit determines whether the received message is the test message, and when the judgment result is yes, determines that the link enters a loopback state.
- FIG. 1 is a schematic diagram of a prior art PPP for loopback detection
- FIG. 2 is a schematic structural diagram of an Ethernet link loopback detection system according to an embodiment of the present invention
- FIG. 3 is a flow chart of sending periodic loopback detection according to an embodiment of the present invention
- FIG. 5 is a flowchart of receiving periodic loopback detection according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of an interface state machine in an embodiment of the present invention. detailed description
- Ethernet technology has significant advantages in addressing the bandwidth and capacity requirements of the network.
- the connection of the backbone network is developing in the direction of ultra-high speed and large capacity.
- Ethernet technology has the advantages of simple implementation, cost performance, scalability, and high reliability.
- Gigabit Ethernet with a large number of fiber interfaces is used to achieve point-to-point high-speed transmission.
- a point-to-point link using Ethernet technology refers to a communication link established between communication devices through an Ethernet Digital Subscriber Line, which is an Ethernet link, called an Ethernet link.
- FIG. 2 is a schematic structural diagram of Ethernet link loopback detection between communication devices according to an embodiment of the present invention. As shown in Figure 2, an Ethernet link is used between the Ethernet optical ports of communication devices A and B.
- a specific test message is issued;
- the device enters the loopback state and notifies the NMS. It also displays the command line. If the loopback status is no longer successful, the loopback status is cancelled. The loopback status is cancelled. The NMS is notified and displayed on the command line.
- the configurable items can include a boot mode and a timer interval.
- A1 Periodic loopback detection. A specific test packet is periodically issued according to the timer setting to detect the loopback status.
- Receive timer ⁇ 2 The allowed interval between the periodic loopback detection packets and the received packets. The default is 1 millisecond.
- the default is 3 seconds.
- the frame header structure is defined as follows (taking Ethernet I I as an example):
- the destination MAC address of the packet sent by the loopback detection is the MAC address of the interface.
- the type of load message is discriminated based on the type field.
- the type number used for loopback detection packets is, for example, 8999.
- Loopback word A 4-byte random number greater than 0. After receiving the loopback detection packet, the interface compares the received loopback word with the loopback word sent last time.
- the interface When the interface receives the loopback detection packet, it compares the received loopback word with the loopback word sent last time. If they are the same, the interface is considered to be in loopback state. The network management software is notified. The interface status is loopbacked on the command line. If no loopback detection packet is received, or the loopback word of the received detection packet is different from the one sent last time, the interface remains in its original state.
- the interface After the interface enters the loopback state, if the packet with the same loopback word is not received within the timer T2 after the loopback detection packet is sent, the loopback state is revoked, the original state is entered, and the network management software is notified. Displayed under the command line.
- the entire flow of loopback detection in the embodiment of the present invention includes three parts as shown in Figs. 3, 4 and 5.
- FIG. 3 is a flow chart of sending periodic loopback detection, and the specific steps are as follows: In step 310, the sending timer T1 is started, and the timer ⁇ 2 is received.
- step 320 it is judged whether T1 is up. If no, the decision is continued. If yes, go to step 330.
- Step 330 constructing a loopback word, recording.
- Step 340 Send a loopback detection packet.
- Step 350 clearing the timer T1, and returning to the beginning of the process.
- FIG. 4 shows the transmission process of manual loopback detection. The specific steps are as follows:
- Step 410 Manually input a loopback detection command.
- a loopback word is constructed, recorded.
- a loopback detection message is sent.
- FIG. 5 is a flow chart of receiving periodic loopback detection. The specific steps are as follows:
- Step 510 The interface receives an Ethernet packet.
- Step 570 The timer starts counting from the sending loop report, and determines whether the receiving timer T2 times out? If it times out, the process goes to step 580, the timer T2 is cleared, and then in step 590, the original state is entered.
- step 600 If it has not timed out, the process proceeds to step 600, and the timer T2 is cleared.
- step 610 the interface enters a loopback state.
- Step 620 Determine whether to manually loopback detection? If no, go to step 630 and the interface will maintain the loopback status.
- step 640 determines if the deactivation timer ⁇ 3 has expired. Otherwise continue the decision step.
- step 650 If yes, proceed to step 650 to clear the timer ⁇ 3. Then, the process proceeds to step 660, where the original state is entered and the network management is reported.
- Figure 6 is a schematic diagram of an interface state machine. If the detection packet receives timeout, it is judged as non- Loopback status. If the detection packet reception does not time out, it is determined to be in the loopback state.
- the method provided by the present invention can perform loopback detection based on the Ethernet link without adding additional complicated mechanisms, thereby greatly improving the efficiency and flexibility of network maintenance and troubleshooting.
- the present invention is applicable to Ethernet link loopback detection of optical communication equipment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention concerne un procédé et un dispositif de communication permettant d'effectuer une détection de bouclage fondée sur l'Ethernet. Ce procédé consiste à: établir une liaison Ethernet de connexion de bouclage entre le port d'émission et le port de réception du dispositif de communication; envoyer un message test depuis le port d'émission et recevoir le message reçu par le port de réception; évaluer la liaison Ethernet et l'état du dispositif, selon le cas indiqué par le message reçu par le port de réception. La détection de bouclage fondée sur l'Ethernet permet d'accroître considérablement l'efficacité et la flexibilité de la maintenance du réseau et l'élimination des défaillances, sans qu'il soit nécessaire d'ajouter des mécanismes compliqués au dispositif.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610034601.X | 2006-03-18 | ||
CNA200610034601XA CN1859411A (zh) | 2006-03-18 | 2006-03-18 | 通信设备链路环回检测方法和通信设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007107066A1 true WO2007107066A1 (fr) | 2007-09-27 |
Family
ID=37298273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/003795 WO2007107066A1 (fr) | 2006-03-18 | 2006-12-31 | Procédé et dispositif de communication permettant d'effectuer une détection de bouclage fondée sur l'ethernet |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1859411A (fr) |
WO (1) | WO2007107066A1 (fr) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8995253B2 (en) | 2007-01-23 | 2015-03-31 | Huawei Technologies Co., Ltd. | Method, apparatus and system for ring protection |
CN113364641A (zh) * | 2020-03-06 | 2021-09-07 | 烽火通信科技股份有限公司 | 一种eos业务的环回检测方法及系统 |
CN114389965A (zh) * | 2022-01-26 | 2022-04-22 | 芯河半导体科技(无锡)有限公司 | 一种二层网络环路检测定位方法 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232428B (zh) * | 2007-01-23 | 2012-05-23 | 华为技术有限公司 | 一种以太网环保护方法及装置 |
CN101056224B (zh) * | 2007-05-31 | 2010-09-22 | 杭州华三通信技术有限公司 | 一种网络设备的环回检测方法及设备 |
CN101141212B (zh) * | 2007-08-03 | 2011-03-02 | 中兴通讯股份有限公司 | 虚级联/链路容量自动调整机制的保护方法 |
CN102420710A (zh) * | 2011-12-31 | 2012-04-18 | 曙光信息产业股份有限公司 | 服务器集群系统故障定位方法 |
CN108696398B (zh) * | 2017-04-05 | 2019-06-28 | 视联动力信息技术股份有限公司 | 一种通讯网络中的通讯环回故障检测方法和装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1305287A (zh) * | 1999-11-30 | 2001-07-25 | Lg电子株式会社 | 测试综合业务数字网用户部分中继呼叫接通的方法 |
WO2003073704A1 (fr) * | 2002-02-22 | 2003-09-04 | Siemens Aktiengesellschaft | Reseau local, en particulier reseau ethernet presentant des proprietes de redondance et gestionnaire de redondance destine a un reseau de ce type |
CN1691609A (zh) * | 2004-04-20 | 2005-11-02 | 北京润光泰力科技发展有限公司 | 一种以太网转换器线路侧环回检测的方法和装置 |
-
2006
- 2006-03-18 CN CNA200610034601XA patent/CN1859411A/zh active Pending
- 2006-12-31 WO PCT/CN2006/003795 patent/WO2007107066A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1305287A (zh) * | 1999-11-30 | 2001-07-25 | Lg电子株式会社 | 测试综合业务数字网用户部分中继呼叫接通的方法 |
WO2003073704A1 (fr) * | 2002-02-22 | 2003-09-04 | Siemens Aktiengesellschaft | Reseau local, en particulier reseau ethernet presentant des proprietes de redondance et gestionnaire de redondance destine a un reseau de ce type |
CN1691609A (zh) * | 2004-04-20 | 2005-11-02 | 北京润光泰力科技发展有限公司 | 一种以太网转换器线路侧环回检测的方法和装置 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8995253B2 (en) | 2007-01-23 | 2015-03-31 | Huawei Technologies Co., Ltd. | Method, apparatus and system for ring protection |
CN113364641A (zh) * | 2020-03-06 | 2021-09-07 | 烽火通信科技股份有限公司 | 一种eos业务的环回检测方法及系统 |
CN113364641B (zh) * | 2020-03-06 | 2022-03-01 | 烽火通信科技股份有限公司 | 一种eos业务的环回检测方法及系统 |
CN114389965A (zh) * | 2022-01-26 | 2022-04-22 | 芯河半导体科技(无锡)有限公司 | 一种二层网络环路检测定位方法 |
CN114389965B (zh) * | 2022-01-26 | 2024-03-29 | 芯河半导体科技(无锡)有限公司 | 一种二层网络环路检测定位方法 |
Also Published As
Publication number | Publication date |
---|---|
CN1859411A (zh) | 2006-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007107066A1 (fr) | Procédé et dispositif de communication permettant d'effectuer une détection de bouclage fondée sur l'ethernet | |
US7177325B2 (en) | Operations, administration and maintenance (OAM) systems and methods for packet switched data networks | |
KR101419283B1 (ko) | 통신 네트워크들에 대한 듀얼 송신 | |
US8264951B2 (en) | Resilient PPP/ML-PPP services over multi-chassis APS protected routers | |
US20080259786A1 (en) | System and method for supporting sdh/sonet aps on ethernet | |
US20090232152A1 (en) | Method and apparatus for aggregating ports | |
WO2012088843A1 (fr) | Procédé et système de détection de transmission bidirectionnelle | |
JP3620010B2 (ja) | 無線通信システムで用いられる装置とプログラム記録媒体 | |
WO2008116399A1 (fr) | Procédé et dispositif d'ajustement dynamique d'état de liaison et d'état de liaison groupée | |
US20030061390A1 (en) | Method of synchronizing parallel optical links between communications components | |
JP4351289B1 (ja) | 加入者宅側通信装置 | |
US20040167978A1 (en) | Communication apparatus | |
US20090100193A1 (en) | Synchronization of state information to reduce APS switchover time | |
US7746949B2 (en) | Communications apparatus, system and method of creating a sub-channel | |
US8179785B1 (en) | Deterministic switching protection over aggregated links | |
JP5388189B2 (ja) | ネットワーク装置 | |
WO2014044190A1 (fr) | Procédé et dispositif d'ajustement de débit de transmission de données ethernet | |
KR100932907B1 (ko) | Epon 시스템에서 oam 모듈의 구성 정보 변경 요구진단 장치 및 방법 | |
WO2007124640A1 (fr) | Procédé et appareil permettant d'éviter une fausse initiation d'émetteur récepteur xdsl | |
KR100772191B1 (ko) | 링크 관리 프로토콜을 확장한 상위 계층 연결성 검증시스템 및 방법 | |
WO2011050665A1 (fr) | Procédé et dispositif de mise en oeuvre de réacheminement rapide de ports | |
JP3970859B2 (ja) | データ通信の優先制御方法及び装置 | |
JPWO2004064341A1 (ja) | Ipネットワークにおける回線故障時の無瞬断転送方法 | |
JP3845392B2 (ja) | 帯域制御装置および帯域制御システム | |
JP3684528B2 (ja) | 監視制御システム及び情報伝送方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 06840825 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 06840825 Country of ref document: EP Kind code of ref document: A1 |