CN101222370A - Method and device for failure location using failure location packet - Google Patents

Method and device for failure location using failure location packet Download PDF

Info

Publication number
CN101222370A
CN101222370A CNA2008100070691A CN200810007069A CN101222370A CN 101222370 A CN101222370 A CN 101222370A CN A2008100070691 A CNA2008100070691 A CN A2008100070691A CN 200810007069 A CN200810007069 A CN 200810007069A CN 101222370 A CN101222370 A CN 101222370A
Authority
CN
China
Prior art keywords
fault location
message
response message
intermediate node
interface information
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
Application number
CNA2008100070691A
Other languages
Chinese (zh)
Other versions
CN101222370B (en
Inventor
王志雄
余韦
任江兴
许奠华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100070691A priority Critical patent/CN101222370B/en
Publication of CN101222370A publication Critical patent/CN101222370A/en
Application granted granted Critical
Publication of CN101222370B publication Critical patent/CN101222370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for fault location by using a fault location message, belonging to the communication field. The method comprises that a static forwarding table is configured to intermediate nodes. The method includes that: a multicast address of a fault location message is changed into a unicast address and sent; a fault location response message corresponding to the fault location message returned from the intermediate nodes is received; a fault location is executed according to the fault location response message. The embodiment of the invention also provides a device for fault location by using the fault location message and an intermediate node device. The method and the device have the advantages of simplifying the configuration of the intermediate nodes and reducing the cost.

Description

Operational failure location message carries out the method and the device of fault location
Technical field
The present invention relates to network communication field, relate in particular to method and device that a kind of operational failure location message carries out fault location.
Background technology
Ethernet technology now developed into most popular communication network, and ethernet technology is simple and easy to usefulness by years of development, and cheap and bandwidth can improve constantly, and the advantage of cost performance is also impelled the expansion gradually of the Ethernet scope of application.It is more weak that but ability can be safeguarded, can be runed to traditional ethernet, therefore the client is also more and more higher to the demand of OAM (the OAM Operation Administration andMaintenance) function of Ethernet, and OAM(Operation Administration Maintenance) is divided into fault management and performance management two large divisions, and wherein fault location is even more important in fault management.
In order in Ethernet, to carry out fault location, prior art provides a kind of use link tracing (LTLink trace) message to carry out the method for fault location, this method is carried out fault location by using Linktrace Message (LTM linktrace message) message and link tracing response (LTR link trace reply) message, can be referring to the definition of 802.1ag agreement about the form of LTM and LTR.
In realizing process of the present invention, the inventor finds because the method for above-mentioned fault location is based on the 802.1ag agreement, so must carry out the configuration of the intermediate node (MIP Maintenanceassociation Internal Point) of Maintenance Association to intermediate node, make intermediate node can support the 802.1ag agreement, and it is very complicated that intermediate node is carried out the MIP configuration, and cost is higher.
Summary of the invention
In view of above-mentioned existing in prior technology problem, embodiment of the present invention provides a kind of operational failure location message to carry out the method and the device of fault location, and described method and apparatus does not need intermediate node is carried out the MIP configuration, thereby reduces cost.
The specific embodiment of the present invention provides a kind of operational failure location message to carry out the method for fault location, and the intermediate node configuring static is transmitted, and described method comprises:
A kind of operational failure location message carries out the method for fault location, and this method comprises:
The multicast address of fault location message is changed over unicast address and transmission;
The fault location response message of the corresponding described fault location message that the reception intermediate node returns;
Carry out fault location according to described fault location response message.
The specific embodiment of the invention also provides a kind of operational failure location message to carry out the device of fault location, and described device comprises:
Transmitting element is used for the multicast address of fault location message is changed over unicast address and transmission;
Receiving element is used to receive the fault location response message of the corresponding described fault location message that intermediate node returns;
Failure location unit is used for carrying out fault location according to described fault location response message.
The specific embodiment of the invention also provides a kind of intermediate node device, and described device comprises:
Memory cell is used to store the static forwarding table;
Receiving element is used to receive the fault location message that has unicast address;
Transmitting element is used for knowing next stop outgoing interface information according to described fault location message and described static forwarding table, and described next stop outgoing interface information is carried in the fault location response message sends.
By the above-mentioned technical scheme that provides as can be seen, the technical scheme of the embodiment of the invention is by to the setting of intermediate contact and to the change of fault location message, make intermediate contact when returning the fault location response message, need not to carry out the configuration of MIP, thereby simplified the setting of intermediate node, reduced cost.
Description of drawings
Fig. 1 carries out the flow chart of the method for fault location for the described operational failure of specific embodiment of the invention location message.
Fig. 2 carries out the flow chart of the method for fault location for the operational failure location message of the embodiment of the invention 1.
Fig. 3 carries out the structure chart of fault locator for the described operational failure of specific embodiment of the invention location message.
Fig. 4 is the structure chart of the described intermediate node device of the specific embodiment of the invention.
Embodiment
Embodiment of the present invention provides a kind of operational failure location message to carry out the method for fault location, the concrete mode that this method realizes is, source node or management node send to intermediate node with the fault location message, intermediate node is after receiving the fault location message, reply the fault location response message, regulation according to the 802.1ag agreement, the fault location message can be the LTM message, the fault location response message can be the LTR message, according to of the definition of 802.1ag agreement to the LTR message, intermediate node is when replying the LTR message, the outbound port information that needs to go up a station equipment is filled up in the Last Egress Identifier field in the LTR message, the outgoing interface information of the next stop need be filled up in the Next Egress Identifier field in the LTR message, and these information are sent to source node, because each intermediate node has all sent to source node with its outbound port information of a last station equipment and the outgoing interface information of the next stop, the outbound port information of source node a last station equipment that all intermediate nodes are sent and the outgoing interface information of the next stop just combine and the path of LTM message process can be printed like this, as node in the path of LTM process fault is arranged, then the Next Egress Identifier field in the LTR message that this node is replied is then without any information, it is malfunctioning node that source node can detect this node according to the LTR message that this node is replied, thereby carries out fault location.
Fault location message in the specific embodiment of the invention is an example with the LTM message in the 802.1ag agreement, the fault location response message is an example with the LTR message, but the specific embodiment of the invention concrete form of fault restriction location message and fault location response message not.
Embodiment of the present invention provides another operational failure location message to carry out the method for fault location, described method is by being provided with the static forwarding table to intermediate node, and the heading of the LTM message in the 802.1ag agreement made amendment, the multicast address of the heading of LTM message is modified as unicast address, intermediate node is known next stop outgoing interface information according to the LTM message and the static forwarding table that receive, and this next stop outgoing interface information is carried in the LTR message that returns, draw the transfer path of LTM by the LTR message that receives, thereby carry out fault location.This method is owing to be provided with the static forwarding table to intermediate node, so intermediate node does not need to confirm next stop outgoing interface information by MI P, thereby do not need intermediate node is carried out the setting of MIP function, thereby simplified the setting of intermediate node, reduced cost.When the agreement of describing in the specific embodiment of the invention does not offer some clarification on, expression 802.1ag agreement.
The step of this method comprises as shown in Figure 1:
Step 11, send after the multicast address of LTM message changed over unicast address;
Realize this step method can for, multicast address in the heading in the LTM message is modified as unicast address, the concrete grammar of its realization can preferentially be selected, multicast address in the LTM message is revised as the media interviews control (MAC of destination node, Media Access Control) virtual mac address of the destination node that can discern of address or intermediate node, be that example illustrates the concrete grammar that multicast address is modified as unicast address with multicast address in the heading in the concrete LTM message below, suppose that multicast address is: 01-80-C2-xx-xx-xy aThe direct virtual mac address that makes above-mentioned multicast address the physical address of destination node into or directly be modified as destination node, the virtual mac address of this destination node such as 1-1-1, the virtual mac address here must be corresponding unique relation with destination node, and intermediate node can be discerned this virtual mac address.The specific embodiment of the invention is not limited to the embodiment that the multicast address in the heading in the LTM message is modified as unicast address.
The LTR message of the corresponding described LTM message that step 12, reception intermediate node return;
The LTR message of the corresponding described LTM message that the intermediate node in this step returns can be realized by following method, intermediate node is after receiving amended LTM message, confirm next stop outgoing interface information according to LTM message and static forwarding table, and return after this next stop outgoing interface information filled in Next Egress Identifier field in the LTR message.
Step 13, carry out fault location according to described LTR message.
The implementation method of this step can for, transfer path according to the corresponding LTM message of next stop outgoing interface information acquisition of the Next Egress Identifier field in the LTR message that returns, as the Next Egress Identifier field in the LTR message that returns do not have next stop outgoing interface information and can know that then this node that returns this LTR message breaks down, thereby carries out fault location.
Above-mentioned steps can be finished by source node or management node.
For better describing the described method of embodiment of the present invention, existing 2 pairs of the specific embodiment of the present invention in conjunction with the accompanying drawings describe:
Embodiment 1: a kind of operational failure location message that the specific embodiment of the present invention provides carries out the method for fault location, the technology scene of present embodiment is, the LT message is to transmit in static MAC-IN-MAC tunnel, and intermediate node is carried out the setting of static forwarding table, here the relay path of supposing the LTM message is, source node, intermediate node 1, intermediate node 2, intermediate node 3, destination node, wherein intermediate node 1 is provided with enable switch, certainly this enable switch also can be arranged on intermediate node 2 and the intermediate node 3, this enable switch can be controlled intermediate node 1 and whether reply the LTR message after receiving amended LTM message, here suppose that the enable switch of intermediate node 1 closes, be after intermediate node 1 is received amended LTM message, only the LTM message is transmitted to intermediate node 2, do not reply the LTR message to source node, the method that the multicast address of LTM message is changed over unicast address is that the MAC Address that the multicast address with the LTM message changes over destination node realizes, present embodiment comprises following operation as shown in Figure 2:
Step 21, source node send after the multicast address of LTM message being changed over the MAC Address of destination node;
The LTR message of the corresponding described LTM message that step 22, source node reception intermediate node 2 and intermediate node 3 return;
The concrete operations of this step are, intermediate node 2 is behind the LTM message of the MAC Address that has destination node that receives intermediate node 1 forwarding, MAC Address and static forwarding table according to the destination node of LTM message are confirmed next stop outgoing interface information, be the information of intermediate node 3, and the Next Egress Identifier field that this next stop outgoing interface information is filled in the LTR bag literary composition returns to source node, intermediate node 2 is transmitted to intermediate node 3 with the LTM message, after intermediate node 3 receives the LTM message, carry out and intermediate node 2 identical operations, different only is that the next stop outgoing interface information of determining is the information of destination node, and the LTM message is transmitted to destination node.Intermediate node 1 so only transmit the LTM message, is not replied the LTR message because enable switch is closed, and this enable switch is closed on the relay path that is equivalent to this message and do not shown this node.
Step 23, source node carry out fault location according to the next stop outgoing interface information in the LTR message.
The implementation method of this step illustrates above-mentioned, is not just giving unnecessary details here.
The method that embodiment of the present invention provides makes intermediate contact need not to carry out the configuration of MIP when returning the LTR message, thereby has simplified the setting of intermediate node by to the setting of intermediate contact and to the change of LTM message, reduced cost.
Embodiments of the present invention also provide a kind of operational failure location message to carry out the device of fault location, this device is realized in following scene, the scene of its realization is, intermediate node is provided with the static forwarding table, this device as shown in Figure 3, this device comprises, transmitting element 31 is used for the multicast address of fault location message is changed over unicast address and transmission; Receiving element 32 is used to receive the fault location response message of the corresponding described fault location message that intermediate node returns; Failure location unit 33 is used for carrying out fault location according to described fault location response message.
Unicast address in the described device comprises: the MAC Address of destination node or virtual mac address; Carrying out fault location according to described fault location response message and comprise in the described device carried out fault location according to the next stop outgoing interface information of described fault location response message.The device that above-mentioned operational failure location message carries out fault location can be source node, also can be management node.
The described device of the specific embodiment of the invention, by to the setting of intermediate contact and to the change of fault location message, make intermediate contact when returning the fault location response message, need not to carry out the configuration of MIP, thereby simplified the setting of intermediate node, reduced cost.
The specific embodiment of the invention also provides a kind of intermediate node device, and described device comprises as shown in Figure 4: memory cell 41 is used to store the static forwarding table; Receiving element 42 is used to receive the fault location message that has unicast address; Transmitting element 43 is used for knowing next stop outgoing interface information according to described fault location message and described static forwarding table, and described next stop outgoing interface information is carried in the fault location response message sends.
Whether described device can also comprise enable switch 44, be used to control transmitting element 43 and the fault location response message sent.This enable switch can be passed through software setting, also an enable switch can be set directly, under the situation of opening this enable switch, just sends the fault location response message.
The described device of invention embodiment, by intermediate contact is provided with the static forwarding table, make intermediate node can confirm next stop outgoing interface information, thereby support the described method of the specific embodiment of the invention to carry out fault location according to fault location message and static forwarding table.
In sum, the technical scheme that the specific embodiment of the invention provides, by to the setting of intermediate contact and to the change of fault location message, make intermediate contact when returning the fault location response message, need not to carry out the configuration of MIP, thereby simplified the setting of intermediate node, the advantage that reduces cost.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (9)

1. an operational failure is located the method that message carries out fault location, it is characterized in that the intermediate node configuring static is transmitted, and described method comprises:
The multicast address of fault location message is changed over unicast address and transmission;
The fault location response message of the corresponding described fault location message that the reception intermediate node returns;
Carry out fault location according to described fault location response message.
2. method according to claim 1 is characterized in that, described unicast address comprises:
The media interviews control MAC Address or the virtual mac address of destination node.
3. method according to claim 1 is characterized in that, the fault location response message of the corresponding described fault location message that described intermediate node returns comprises:
Intermediate node is known next stop outgoing interface information according to described fault location message and described static forwarding table, and described next stop outgoing interface information is carried in the fault location response message sends.
4. method according to claim 3 is characterized in that, describedly carries out fault location according to described fault location response message and comprises,
Next stop outgoing interface information according to described fault location response message is carried out fault location.
5. an operational failure is located the device that message carries out fault location, it is characterized in that described device comprises:
Transmitting element is used for the multicast address of fault location message is changed over unicast address and transmission;
Receiving element is used to receive the fault location response message of the corresponding described fault location message that intermediate node returns;
Failure location unit is used for carrying out fault location according to described fault location response message.
6. device according to claim 5 is characterized in that, described unicast address comprises:
The MAC Address of destination node or virtual mac address.
7. device according to claim 5 is characterized in that, describedly carries out fault location according to described fault location response message and comprises,
Next stop outgoing interface information according to described fault location response message is carried out fault location.
8. an intermediate node device is characterized in that, described device comprises:
Memory cell is used to store the static forwarding table;
Receiving element is used to receive the fault location message that has unicast address;
Transmitting element is used for knowing next stop outgoing interface information according to described fault location message and described static forwarding table, and described next stop outgoing interface information is carried in the fault location response message sends.
9. device according to claim 8 is characterized in that, described device also comprises:
Whether enable switch is used to control transmitting element and the fault location response message is sent.
CN2008100070691A 2008-02-01 2008-02-01 Method and device for failure location using failure location packet Active CN101222370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100070691A CN101222370B (en) 2008-02-01 2008-02-01 Method and device for failure location using failure location packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100070691A CN101222370B (en) 2008-02-01 2008-02-01 Method and device for failure location using failure location packet

Publications (2)

Publication Number Publication Date
CN101222370A true CN101222370A (en) 2008-07-16
CN101222370B CN101222370B (en) 2010-09-22

Family

ID=39631961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100070691A Active CN101222370B (en) 2008-02-01 2008-02-01 Method and device for failure location using failure location packet

Country Status (1)

Country Link
CN (1) CN101222370B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958810A (en) * 2010-10-27 2011-01-26 华为数字技术有限公司 Method and system used for realizing fault positioning of intermediate node autonomously
CN103188716A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Location method and device for failures of reliable user datagram protocol (RUDP) link
WO2015143795A1 (en) * 2014-03-24 2015-10-01 中兴通讯股份有限公司 Mbms error processing method, communications node, communications system, and storage medium
CN106452963A (en) * 2016-10-18 2017-02-22 北京东土科技股份有限公司 Network path sensing method and system
CN108932201A (en) * 2018-07-16 2018-12-04 北京中科网威信息技术有限公司 The method and device of Shen prestige firewall message trajectory track
CN113709043A (en) * 2021-10-28 2021-11-26 阿里云计算有限公司 Path tracking method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421393C (en) * 2005-06-03 2008-09-24 华为技术有限公司 Method for recognizing failure node in network
CN100450101C (en) * 2006-08-30 2009-01-07 华为数字技术有限公司 Conversion control method and system of OAM message
CN100550785C (en) * 2006-08-30 2009-10-14 华为技术有限公司 A kind of method of ethernet device link failure detection and system thereof
CN100563180C (en) * 2007-05-30 2009-11-25 杭州华三通信技术有限公司 Link failure detection method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958810A (en) * 2010-10-27 2011-01-26 华为数字技术有限公司 Method and system used for realizing fault positioning of intermediate node autonomously
CN101958810B (en) * 2010-10-27 2013-01-23 华为数字技术有限公司 Method and system used for realizing fault positioning of intermediate node autonomously
US9059904B2 (en) 2010-10-27 2015-06-16 Huawei Technologies Co., Ltd. Method and system for intermediate node to locate a fault independently
CN103188716A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Location method and device for failures of reliable user datagram protocol (RUDP) link
CN103188716B (en) * 2011-12-29 2018-08-03 中兴通讯股份有限公司 RUDP periodic line fault location methods and device
WO2015143795A1 (en) * 2014-03-24 2015-10-01 中兴通讯股份有限公司 Mbms error processing method, communications node, communications system, and storage medium
US10129042B2 (en) 2014-03-24 2018-11-13 Xi'an Zhongxing New Software Co. Ltd. MBMS error processing method, communication node, communication system, and storage medium
CN106452963A (en) * 2016-10-18 2017-02-22 北京东土科技股份有限公司 Network path sensing method and system
CN108932201A (en) * 2018-07-16 2018-12-04 北京中科网威信息技术有限公司 The method and device of Shen prestige firewall message trajectory track
CN113709043A (en) * 2021-10-28 2021-11-26 阿里云计算有限公司 Path tracking method and device
CN113709043B (en) * 2021-10-28 2022-04-15 阿里云计算有限公司 Path tracking method and device

Also Published As

Publication number Publication date
CN101222370B (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN102594711B (en) Message forwarding method and edge device therefor
CN100596094C (en) Implementation method and switching device of multi-point to multi-point service
CN102143068B (en) Method, device and system for learning MAC (Media Access Control) address
CN101272291B (en) Network appliance testing method and system
CN101719877B (en) Message forwarding device, network equipment and method
CN101222370B (en) Method and device for failure location using failure location packet
CN100417141C (en) Group broadcasting business realizing method
CN103636167A (en) Station opening configuration method in base station, base station, and server
CN104683210A (en) Automatic tunnel establishing method and device
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN102185766A (en) Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
CN104022936A (en) Method and device for establishing tunnel
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN102694752A (en) Gateway equipment
CN107547665A (en) A kind of method, equipment and the system of dhcp address distribution
CN101383772A (en) Method and device for automatically discovering and establishing MAC route information table
CN101808107A (en) Storage device and user communication method, device and system
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN105052106A (en) Methods and systems for receiving and transmitting internet protocol (ip) data packets
CN103685007A (en) Method for MAC address learning during packet forwarding of edge devices and edge device
CN101924698B (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route
CN102387221B (en) Data forwarding method and system
CN103812775A (en) Method, device and system for forwarding messages
CN101547137A (en) Method and device for sending data and communication equipment
CN101796769B (en) Ipv6 over ipv4 transition method and apparatus for improving performance of control server

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211221

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.