RU2014147780A - Method and device for detecting Ethernet port loopback - Google Patents

Method and device for detecting Ethernet port loopback Download PDF

Info

Publication number
RU2014147780A
RU2014147780A RU2014147780A RU2014147780A RU2014147780A RU 2014147780 A RU2014147780 A RU 2014147780A RU 2014147780 A RU2014147780 A RU 2014147780A RU 2014147780 A RU2014147780 A RU 2014147780A RU 2014147780 A RU2014147780 A RU 2014147780A
Authority
RU
Russia
Prior art keywords
port
message
network device
discovery message
connection
Prior art date
Application number
RU2014147780A
Other languages
Russian (ru)
Other versions
RU2605494C2 (en
Inventor
Хунянь ГУО
Лиухуэй ЧЖУ
Хайянь ЦЗИНЬ
Original Assignee
ЗетТиИ Корпорейшн
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 ЗетТиИ Корпорейшн filed Critical ЗетТиИ Корпорейшн
Publication of RU2014147780A publication Critical patent/RU2014147780A/en
Application granted granted Critical
Publication of RU2605494C2 publication Critical patent/RU2605494C2/en

Links

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)

Abstract

1. Способ обнаружения закольцовывания портов Ethernet, отличающийся тем, что он включает:периодическую передачу сетевым устройством сообщения обнаружения из каждого порта сетевого устройства;определение, является ли принятое сообщение обнаружения сообщением, переданным локально, и если принятое сообщение обнаружения является сообщением, переданным локально, извлечение из принятого сообщения обнаружения номера порта, из которого передано принятое сообщение обнаружения, и отключение соединения с этим портом; в противном случае, пересылку принятого сообщения обнаружения в следующее сетевое устройство.2. Способ по п. 1, отличающийся тем, что он также включает: установку типа протокола для сообщения обнаружения для сетевого устройства заранее иформирование сетевым устройством сообщения обнаружения в соответствии с указанной установкой.3. Способ по п. 2, отличающийся тем, что после установки типа протокола для сообщения обнаружения указанный способ также включает:установку режима виртуальной локальной сети (VLAN) сообщения обнаружения для сетевого устройства.4. Способ по п. 1, отличающийся тем, что сообщение обнаружения включает поле типа Ethernet, поле МАС-адреса источника, поле номера порта и поле ключевой информации.5. Способ по п. 4, отличающийся тем, что сетевое устройство также формирует и выводит сигнал предупреждения о закольцовывании при отключении соединения с портом.6. Способ по п. 1, отличающийся тем, что после того как сетевое устройство отключает соединение с портом, указанный способ также включает:запуск таймера соединения порта иопределение, истекло ли время таймера соединения порта, и если время таймера соединения порта истекло, то включен1. A method for detecting loopback of Ethernet ports, characterized in that it includes: periodically transmitting by the network device a detection message from each port of the network device; determining whether the received discovery message is a message transmitted locally and if the received discovery message is a message transmitted locally, extracting from the received discovery message a port number from which the received discovery message is transmitted, and disconnecting the connection to that port; otherwise, forwarding the received discovery message to the next network device. 2. The method according to claim 1, characterized in that it also includes: setting the type of protocol for the discovery message for the network device in advance, and generating the detection message by the network device in accordance with said installation. The method according to claim 2, characterized in that after setting the protocol type for the discovery message, the method also includes: setting a virtual local area network (VLAN) mode of the discovery message for the network device. The method according to claim 1, characterized in that the detection message includes an Ethernet type field, a source MAC address field, a port number field and a key information field. The method according to claim 4, characterized in that the network device also generates and outputs a ringing warning signal when the connection to the port is disconnected. The method according to claim 1, characterized in that after the network device disconnects the port connection, the method also includes: starting the port connection timer and determining if the port connection timer has expired, and if the port connection timer has expired, it is turned on

Claims (13)

1. Способ обнаружения закольцовывания портов Ethernet, отличающийся тем, что он включает:1. A method for detecting loopback of Ethernet ports, characterized in that it includes: периодическую передачу сетевым устройством сообщения обнаружения из каждого порта сетевого устройства;Periodic transmission by the network device of a discovery message from each port of the network device; определение, является ли принятое сообщение обнаружения сообщением, переданным локально, и если принятое сообщение обнаружения является сообщением, переданным локально, извлечение из принятого сообщения обнаружения номера порта, из которого передано принятое сообщение обнаружения, и отключение соединения с этим портом; в противном случае, пересылку принятого сообщения обнаружения в следующее сетевое устройство.determining whether the received discovery message is a message transmitted locally, and if the received discovery message is a message transmitted locally, extracting from the received discovery message the port number from which the received discovery message is transmitted, and disconnecting the connection to this port; otherwise, forwarding the received discovery message to the next network device. 2. Способ по п. 1, отличающийся тем, что он также включает: установку типа протокола для сообщения обнаружения для сетевого устройства заранее и2. The method according to p. 1, characterized in that it also includes: setting the type of protocol for the discovery message for the network device in advance and формирование сетевым устройством сообщения обнаружения в соответствии с указанной установкой.formation by the network device of a detection message in accordance with the specified setting. 3. Способ по п. 2, отличающийся тем, что после установки типа протокола для сообщения обнаружения указанный способ также включает:3. The method according to p. 2, characterized in that after setting the type of protocol for the detection message, the method also includes: установку режима виртуальной локальной сети (VLAN) сообщения обнаружения для сетевого устройства.setting the virtual local area network (VLAN) mode of the discovery message for the network device. 4. Способ по п. 1, отличающийся тем, что сообщение обнаружения включает поле типа Ethernet, поле МАС-адреса источника, поле номера порта и поле ключевой информации.4. The method according to claim 1, characterized in that the detection message includes an Ethernet type field, a source MAC address field, a port number field and a key information field. 5. Способ по п. 4, отличающийся тем, что сетевое устройство также формирует и выводит сигнал предупреждения о закольцовывании при отключении соединения с портом.5. The method according to p. 4, characterized in that the network device also generates and outputs a warning signal about the loopback when disconnecting the connection to the port. 6. Способ по п. 1, отличающийся тем, что после того как сетевое устройство отключает соединение с портом, указанный способ также включает:6. The method according to p. 1, characterized in that after the network device disconnects the port, the method also includes: запуск таймера соединения порта иstart the port connection timer and определение, истекло ли время таймера соединения порта, и если время таймера соединения порта истекло, то включение соединения с этим портом и, одновременно с этим, формирование и вывод сигнала предупреждения о восстановлении закольцовывания.determining whether the port connection timer expired, and if the port connection timer expired, then enabling the connection to this port and, at the same time, generating and outputting the loopback recovery warning signal. 7. Способ по п. 1 или 6, отличающийся тем, что он также включает: отключение соединения с портом путем отключения функции распознавания МАС-адреса для этого порта и включение соединения с портом путем включения функции распознавания МАС-адреса для этого порта.7. The method according to p. 1 or 6, characterized in that it also includes: disabling the port connection by disabling the MAC address recognition function for this port and enabling the port connection by enabling the MAC address recognition function for this port. 8. Способ по п. 5 или 6, отличающийся тем, что сигнал предупреждения о закольцовывании и сигнал предупреждения о восстановлении закольцовывания содержат номер сетевого устройства и номер порта.8. The method according to p. 5 or 6, characterized in that the warning signal about the loopback and the warning signal about the restoration of looping contain the network device number and port number. 9. Способ по п. 1, отличающийся тем, что сообщение обнаружения представляет собой широковещательный пакет.9. The method according to p. 1, characterized in that the detection message is a broadcast packet. 10. Способ по п. 4, отличающийся тем, что сетевое устройство определяет, является ли принятое сообщение обнаружения сообщением, переданным локально, в соответствии с полем МАС-адреса источника в принятом сообщении обнаружения.10. The method according to p. 4, characterized in that the network device determines whether the received discovery message is a message transmitted locally in accordance with the source MAC address field in the received discovery message. 11. Устройство для обнаружения закольцовывания портов Ethernet, отличающееся тем, что оно содержит модуль передачи сообщения обнаружения и модуль приема сообщения обнаружения,11. Device for detecting loopback of Ethernet ports, characterized in that it comprises a module for transmitting a detection message and a module for receiving a detection message, при этом модуль передачи сообщения обнаружения сконфигурирован для периодического формирования сообщения обнаружения и передачи этого сообщения обнаружения из каждого порта сетевого устройства,wherein the detection message transmission module is configured to periodically generate the detection message and transmit this detection message from each port of the network device, а модуль приема сообщения обнаружения сконфигурирован для определения, является ли сообщение обнаружения, принятое сетевым устройством, сообщением, переданным локально, и, если принятое сообщение обнаружения является сообщением, переданным локально, извлечения из принятого сообщения обнаружения номера порта, из которого передано принятое сообщение обнаружения, и отключения соединения с этим портом; а если принятое сообщение обнаружения не является сообщением, переданным локально, пересылки принятого сообщения обнаружения в следующее сетевое устройство.and the detection message receiving unit is configured to determine whether the detection message received by the network device is a message transmitted locally, and if the received detection message is a message transmitted locally, retrieving from the received discovery message a port number from which the received detection message is transmitted, and disconnecting the connection to this port; and if the received discovery message is not a message transmitted locally, forwarding the received discovery message to the next network device. 12. Устройство по п. 11, отличающееся тем, что оно также включает таймер соединения порта и модуль настройки,12. The device according to p. 11, characterized in that it also includes a port connection timer and a configuration module, при этом таймер соединения порта сконфигурирован для отсчета периода времени, в течение которого соединение с портом находится в отключенном состоянии,wherein the port connection timer is configured to count down the period of time during which the connection to the port is in the off state, а модуль настройки сконфигурирован для предоставления пользователю интерфейса для установки типа протокола, режима виртуальной локальной сети (VLAN), периода передачи сообщения обнаружения и времени таймера соединения порта, а также для сохранения пользовательских установок.and the configuration module is configured to provide the user with an interface for setting the protocol type, virtual local area network (VLAN) mode, the transmission period of the discovery message and the port connection timer, and also for saving user settings. 13. Устройство по п. 12, отличающееся тем, что модуль приема сообщения обнаружения сконфигурирован для формирования и вывода сигнала предупреждения о закольцовывании; для запуска таймера соединения порта после отключения соединения с портом и для включения соединения с портом после истечения времени таймера соединения порта, и, одновременно с этим, формирования и вывода сигнала предупреждения о восстановлении закольцовывания. 13. The device according to p. 12, characterized in that the detection message receiving module is configured to generate and output a ringing warning signal; to start the port connection timer after disconnecting the port, and to turn on the port after the port connection timer expires, and at the same time, generating and outputting a loop recovery warning signal.
RU2014147780/08A 2012-04-27 2012-06-29 METHOD AND DEVICE FOR DETECTING Ethernet PORTS LOOPING RU2605494C2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201210129106.2 2012-04-27
CN2012101291062A CN103378998A (en) 2012-04-27 2012-04-27 Method and device for Ethernet port loopback detection
PCT/CN2012/077839 WO2013159450A1 (en) 2012-04-27 2012-06-29 Ethernet port loopback detection method and apparatus

Publications (2)

Publication Number Publication Date
RU2014147780A true RU2014147780A (en) 2016-06-20
RU2605494C2 RU2605494C2 (en) 2016-12-20

Family

ID=49463579

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2014147780/08A RU2605494C2 (en) 2012-04-27 2012-06-29 METHOD AND DEVICE FOR DETECTING Ethernet PORTS LOOPING

Country Status (3)

Country Link
CN (1) CN103378998A (en)
RU (1) RU2605494C2 (en)
WO (1) WO2013159450A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514821B (en) * 2014-02-26 2015-12-21 Accton Technology Corp Network devices and loopback detection methods
US9660896B2 (en) 2014-09-04 2017-05-23 Accedian Networks Inc. System and method for loopback and network loop detection and analysis
CN104852826B (en) * 2015-04-13 2018-09-11 北京华为数字技术有限公司 A kind of loop detecting method and device
CN107800581B (en) * 2016-09-01 2022-03-18 中兴通讯股份有限公司 Two-layer network and loopback detection method thereof
CN107888443A (en) * 2016-09-30 2018-04-06 中国移动通信集团广东有限公司 A kind of method, transmitter and the trunking of network servicequality monitoring
CN106789626A (en) * 2017-01-12 2017-05-31 深圳市万网博通科技有限公司 Loop self-inspection self-healing method and device
US10523506B2 (en) 2017-08-02 2019-12-31 Nanning Fugui Precision Industrial Co., Ltd. Network configuration method and network device
CN107872370A (en) * 2017-12-27 2018-04-03 广州芯德通信科技股份有限公司 A kind of Ethernet interface loop quick determination method
CN108989155B (en) * 2018-09-25 2022-03-04 苏州盛科通信股份有限公司 Loop detection method and system based on tolerance mechanism
CN110601919A (en) * 2019-09-12 2019-12-20 烽火通信科技股份有限公司 Loopback detection method and system
CN113364641B (en) * 2020-03-06 2022-03-01 烽火通信科技股份有限公司 Loopback detection method and system for EOS (Ethernet over coax) service
CN112134775B (en) * 2020-09-25 2022-08-09 苏州浪潮智能科技有限公司 Switch loop detection method and device
CN114567572B (en) * 2022-04-29 2023-01-31 南京金阵微电子技术有限公司 Network loop monitoring method, system, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002516042A (en) * 1996-01-31 2002-05-28 イプシロン ネットワークス インコーポレイテッド Method and apparatus for dynamically shifting between packet routing and switching in a transmission network
US7525974B2 (en) * 2003-11-10 2009-04-28 Nortel Networks Limited Method and apparatus for capability based addressing in a communications network
CN100499518C (en) * 2005-08-29 2009-06-10 中兴通讯股份有限公司 Method for detecting user side loop in digital user line switch-in multiplexer system
US7881207B2 (en) * 2005-11-10 2011-02-01 Futurewei Technologies, Inc. Method and system for loop-back and continue in packet-based network
US7701862B2 (en) * 2005-11-25 2010-04-20 Cisco Technology, Inc. Method and system for PHY loop detection
JP4931059B2 (en) * 2007-02-16 2012-05-16 Kddi株式会社 Loop topology detection avoidance method, communication device, management device, and program
CN101316197B (en) * 2007-05-28 2012-05-30 中国电信股份有限公司 Detection method and apparatus for Ethernet port loop of MSTP equipment
CN101582809A (en) * 2008-05-14 2009-11-18 襄樊博创伟业电子有限公司 Loop-back detecting and inhibiting method of Ethernet exchanger chip port
CN101820363B (en) * 2009-02-27 2014-12-03 中国电信股份有限公司 Ethernet port loopback detection method and multi-service transport platform
CN101710856B (en) * 2009-11-13 2012-10-03 中兴通讯股份有限公司 Method and equipment for detection processing of loopback of aggregation link
CN102223238B (en) * 2010-04-16 2013-11-06 鸿富锦精密工业(深圳)有限公司 Switching equipment and loopback detecting method thereof

Also Published As

Publication number Publication date
RU2605494C2 (en) 2016-12-20
WO2013159450A1 (en) 2013-10-31
CN103378998A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
RU2014147780A (en) Method and device for detecting Ethernet port loopback
JP4936204B2 (en) Communication system and communication method
RU2014128626A (en) SYSTEMS AND METHODS FOR TRANSMITTING AND RECEIVING MESSAGES OF DETECTION AND PERSONAL CALLING
KR20140030338A (en) Power save proxy in communication networks
JP2018509783A5 (en)
RU2016124770A (en) METHOD AND DEVICE FOR DETECTING A Malicious ATTACK
JP2017521946A5 (en)
RU2012154923A (en) DATA TRANSMISSION DEVICE AND METHOD OF DATA TRANSFER, AND ALSO DATA TRANSFER SYSTEM
JP2017536748A5 (en)
US10284357B2 (en) Intercom system and communication method thereof
WO2023065886A1 (en) Wake-up method and apparatus, and electronic device
JP2013544047A5 (en)
RU2015107042A (en) SYSTEMS AND METHODS FOR BLOCKING OVER SIGNAL TRANSMISSION IN TRANSMITTER MESSAGES
RU2013113726A (en) METHOD AND DEVICE FOR CHANNEL AGGREGATION
US20140050099A1 (en) Network Device and Method for Loop Detection
WO2012006852A1 (en) Method, system and clock board for transmitting synchronization status message
CN104639385A (en) Method and equipment for detecting connectivity of L2VPN (layer 2 virtual private network) user node interface
US9794077B2 (en) Control method, device and optical transceiver
CN101834759A (en) Detection method of binding link and distributed equipment
US9716561B2 (en) Communication system, and communication device
US9236909B2 (en) Zero standby power for powerline communication devices
CN105407442B (en) A kind of the plug detection method and its device of ear speaker device
JP5300099B2 (en) Network control device, communication speed changing method and program
JP2011217026A (en) Wireless lan system and power saving control method thereof
WO2016145635A1 (en) Group service data receiving method and device