CN104219068B - The method and the network equipment of tunnel failure notice - Google Patents

The method and the network equipment of tunnel failure notice Download PDF

Info

Publication number
CN104219068B
CN104219068B CN201310206666.8A CN201310206666A CN104219068B CN 104219068 B CN104219068 B CN 104219068B CN 201310206666 A CN201310206666 A CN 201310206666A CN 104219068 B CN104219068 B CN 104219068B
Authority
CN
China
Prior art keywords
tunnel
message
fault
network equipment
node
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
Application number
CN201310206666.8A
Other languages
Chinese (zh)
Other versions
CN104219068A (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.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201310206666.8A priority Critical patent/CN104219068B/en
Publication of CN104219068A publication Critical patent/CN104219068A/en
Application granted granted Critical
Publication of CN104219068B publication Critical patent/CN104219068B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of method and the network equipment of tunnel failure notice, wherein, this method includes:Whether break down in the first tunnel where the network equipment detects the network equipment;When detecting that first tunnel breaks down, fault message is obtained;Fisrt fault notice message is sent to other network equipments on first tunnel, the Fisrt fault notice message carries the fault message;So that other network equipments in the first tunnel can get fault message directly and in real time, so as to improve the accuracy rate and promptness of the fault message for obtaining the first tunnel.

Description

The method and the network equipment of tunnel failure notice
Technical field
The present embodiments relate to the communication technology, more particularly to the method and the network equipment of a kind of tunnel failure notice.
Background technology
Along with mobile network from 2G to 3G again to Long Term Evolution(Long Term Evolution, referred to as LTE)Technology Development, mobile communications network is by along the direction evolution of broadband, packetizing, flattening, and RAN is equally towards IP RAN direction Transition.IP RAN mainly include:The access ring of one base station side is formed and by CX or other types by ATN or other types equipment Equipment composition convergence ring.Generally, the every equipment converged on ring can access 10~20 access rings.Each access ring has 10 or so ATN etc. is formed.Converge ring and typically place two high-end CX or other types equipment as gateway, connect with core net Connect.ATN or other equipment on access ring are referred to as cell site gateway(Cell Site Gateway, referred to as CSG)It is or more Service transmission gateway(Multi-Service Transport Gateway, referred to as MSTG).Converge the CX or other classes on ring The equipment of type is referred to as wireless controller site gateway(RNC Site Gateway, referred to as RSG)Or more service convergence gateways (Multi-Service Aggregation Gateway, referred to as MSAG)., can be in CSG and RSG according to the difference of business Between dispose pseudo-wire end to end(Pseudo Wire, referred to as PW)Or Layer3 Virtual Private Network(Lay3Virtual Private Network, referred to as L3VPN)To carry, L3VPN and PW are typically using based on multi protocol label switching protocol Technology of Traffic Engineering(Multi-Protocol Label Switching Traffic Engineering, referred to as MPLS TE)Tunnel passes through network, and the very high requirement that is located in IP RAN networks for network failure, it is desirable to be able in network In business when break down the reason for quick obtaining failure, make business recovery normal to carry out intervention as early as possible.
In the prior art, when transmission channel breaks down, with label switched path(Label Switch Path, referred to as LSP)Exemplified by, that is, link between the nodes break down in LSP or the node in LSP breaks down, can So that the node to break down or link are referred to as into trouble point, the upper node of trouble point is then in network management server The reason for report LSP breaks down, network management server records current failure cause.
But LSP of the prior art head node is occurred by the record indirect gain LSP in network management server The reason for failure, so as to cause the accuracy rate for obtaining failure cause relatively low.
The content of the invention
The embodiment of the present invention provides a kind of method and the network equipment of tunnel failure notice, and fault message is obtained for improving Accuracy rate and promptness.
In a first aspect, the embodiment of the present invention provides a kind of method of tunnel failure notice, methods described includes:
Whether break down in the first tunnel where the network equipment detects the network equipment;
When the network equipment detects that first tunnel breaks down, fault message is obtained;
The network equipment sends Fisrt fault notice message to other network equipments on first tunnel, and described the One failure notice message carries the fault message.
In the first possible implementation of the first aspect, first tunnel breaks down and specifically included:
Upstream node of the network equipment along first tunnel breaks down, or, the network equipment and institute The link for stating upstream node connection breaks down, or, downstream node of the network equipment along first tunnel occurs Failure, or, the link that the network equipment is connected with the downstream node breaks down.
According to the possible implementation of the first of the first aspect or the first aspect, described first is additionally provided Second of possible implementation of aspect, in second of possible implementation of the first aspect, the network is set Standby other network equipments on first tunnel, which send Fisrt fault notice message, to be included:
The network equipment sends the Fisrt fault notice message to the head node in first tunnel, in order to described The head node in the first tunnel obtains the fault message.
According to the possible implementation of the first of the first aspect or the first aspect, described first is additionally provided The third possible implementation of aspect, in the third possible implementation of the first aspect, the network is set Standby other network equipments on first tunnel, which send Fisrt fault notice message, to be included:
The network equipment sends the Fisrt fault notice message to the tail node in first tunnel, in order to described The tail node in the first tunnel obtains the fault message.
According to the possible implementation of the first of the first aspect or the first aspect or the first aspect The third possible implementation of second of possible implementation or the first aspect, additionally provides the first aspect The 4th kind of possible implementation, in the 4th kind of possible implementation of the first aspect, the Fisrt fault leads to It is that PATH TEAR message or reservation tear down RESV TEAR message are removed in path to accuse message, by extending the PATH TEAR Message or RESV TEAR message indicate ERROR_SPEC objects to transmit the fault message to carry mistake.
According to the possible implementation of the first of the first aspect or the first aspect or the first aspect The third possible implementation of second of possible implementation or the first aspect, additionally provides the first aspect The 5th kind of possible implementation, in the 5th kind of possible implementation of the first aspect, the Fisrt fault leads to It is that label reclaims Label Withdraw message or label withdraw Label Release message to accuse message, by described in extension Label Withdraw message or Label Release message are to carry type lengths values TLV to transmit the fault message.
According to the possible implementation of the first of the first aspect or the first aspect or the first aspect The third possible implementation of second of possible implementation or the first aspect, additionally provides the first aspect The 6th kind of possible implementation, in the 6th kind of possible implementation of the first aspect, the fault notification disappears Cease and update BGP Update message for Border Gateway Protocol, the MP_UNREACH_NLRI BGP_ is carried by extending The BGP extended community attributes of Update message transmit the fault message.
According to the possible implementation of the first of the first aspect or the first aspect or the first aspect The 4th of the third possible implementation or the first aspect of second of possible implementation or the first aspect The 6th kind of the 5th kind of possible implementation or the first aspect of the possible implementation of kind or the first aspect can The implementation of energy, the 7th kind of possible implementation of the first aspect is additionally provided, the 7th of the first aspect the In the possible implementation of kind, methods described also includes:
After the head node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and described the The second associated tunnel of one tunnel, then the head node in first tunnel send second to the head node on second tunnel Failure notice message, the fault message is obtained in order to the head node in second tunnel;
After the tail node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and described the Associated second tunnel in one tunnel, then the tail node in first tunnel send the second failure to second tunnel and lead to Message is accused, the fault message is obtained in order to the tail node in first tunnel;
Wherein, second failure notice message carries the fault message.
According to the 7th of the first aspect the kind of possible implementation, additionally provide the first aspect the 8th kind can The implementation of energy, in the 8th kind of possible implementation of the first aspect, second failure notice message is Label Withdraw message or Label Release message, by extend the Label Withdraw message or Label Release message is to carry type lengths values TLV to transmit the fault message.
According to the 7th of the first aspect the kind of possible implementation, additionally provide the first aspect the 9th kind can The implementation of energy, in the 9th kind of possible implementation of the first aspect, second failure notice message is mark Sign distribution protocol notice LDP Notification message.
According to the 7th of the first aspect the kind of possible implementation, additionally provide the first aspect the tenth kind can The implementation of energy, in the tenth kind of possible implementation of the first aspect, second failure notice message is BGP Update message, by extend carry MP_UNREACH_NLRI the BGP_Update message BGP extended community attributes come Transmit the fault message.
Second aspect, the embodiment of the present invention provide a kind of network equipment, and the network equipment includes:
Detection unit, whether broken down for the first tunnel where detecting the network equipment;
Acquiring unit, for when the detection unit detects that first tunnel breaks down, obtaining fault message;
Transmitting element, it is described for sending Fisrt fault notice message to other network equipments on first tunnel Fisrt fault notice message carries the fault message.
In the first possible implementation of the second aspect, the detection unit detects first tunnel Failure includes:
Detect that upstream node of the network equipment along first tunnel breaks down, or, detect described The link that the network equipment is connected with the upstream node breaks down, or, detect the network equipment along described first The downstream node in tunnel breaks down, or, detect that event occurs in the link that the network equipment is connected with the downstream node Barrier.
According to the possible implementation of the first of the second aspect or the second aspect, described second is additionally provided Second of possible implementation of aspect, it is described to send list in second of possible implementation of the second aspect Member sends the Fisrt fault notice message to other network equipments on first tunnel to be included:
The Fisrt fault notice message is sent to the head node in first tunnel, in order to the head in first tunnel Node obtains the fault message.
According to the possible implementation of the first of the second aspect or the second aspect, described second is additionally provided Second of possible implementation of aspect, it is described to send list in the third possible implementation of the second aspect Member sends the Fisrt fault notice message to other network equipments on first tunnel to be included:
The Fisrt fault notice message is sent to the tail node in first tunnel, in order to the tail in first tunnel Node obtains the fault message.
The method and the network equipment of tunnel failure notice provided in an embodiment of the present invention, first is detected by the network equipment When tunnel breaks down, fault message is obtained, then sending Fisrt fault notice to other network equipments on the first tunnel disappears Breath, Fisrt fault notice message carry fault message, so that other network equipments in the first tunnel can directly and in real time Fault message is got, so as to improve the accuracy rate and promptness of the fault message for obtaining the first tunnel.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the embodiment of the method one of tunnel failure of the present invention notice;
Fig. 2 is the flow chart of the embodiment of the method two of tunnel failure of the present invention notice;
Fig. 3 is the flow chart of the embodiment of the method three of tunnel failure of the present invention notice;
Fig. 4 is the flow chart of the embodiment of the method four of tunnel failure of the present invention notice;
Fig. 5 is the flow chart of the embodiment of the method five of tunnel failure of the present invention notice;
Fig. 6 is the structural representation of inventive network apparatus embodiments one;
Fig. 7 is the structural representation of inventive network apparatus embodiments two.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the embodiment of the method one of tunnel failure of the present invention notice, as shown in figure 1, the side of the present embodiment Method can include:
101st, whether break down in the first tunnel where the network equipment detects the network equipment.
In the present embodiment, whether the first tunnel where the network equipment can detect the network equipment breaks down, wherein, First tunnel is the passage that the network equipment transmits information to other network equipments, therefore, in order to ensure that information can be normal Transmit to other network equipments, whether the first tunnel where the network equipment can detect breaks down, such as:The network equipment The fault detection approach of prior art can be used to be detected to whether first tunnel at place breaks down, the present invention is implemented Example will not be repeated here.Or the network equipment can receive other network equipments and be sent to the fault notification of the network equipment and disappear Breath, so as to the network equipment can with according to whether receive failure notice message come the first tunnel fails where detecting, If receiving, the first tunnel fails can be determined, if not receiving, can determine that the first tunnel does not break down.
102nd, when the network equipment detects that the first tunnel breaks down, fault message is obtained.
In the present embodiment, when the network equipment detects the first tunnel fails according to 101, the network equipment can obtain Fault message, wherein, the fault message can include the address information and/or fault reason information to break down a little.
103rd, the network equipment sends Fisrt fault notice message to other network equipments on the first tunnel, and Fisrt fault leads to Accuse message and carry fault message.
In the present embodiment, after the network equipment gets fault message, the network equipment carries fault message the In one failure notice message, then Fisrt fault notice message, example are sent to other network equipments on first tunnel at place Such as:The network equipment can directly transmit Fisrt fault notice message to other network equipments on the first tunnel, or, network is set It is standby to send Fisrt fault notice message to the network equipment closed on the network equipment on the first tunnel, with the network The network equipment that equipment is closed on receives the Fisrt fault notice message and propagated one by one, i.e., is forwarded to first one by one Other network equipments on tunnel, until head node or tail node on the first tunnel, so that other networks on the first tunnel Equipment can get fault message directly and in real time so that the fault message accurate positioning in the first tunnel and and When.
The method for the tunnel failure notice that the embodiment of the present invention one provides, detect that the first tunnel occurs by the network equipment During failure, fault message is obtained, then sends Fisrt fault notice message, the first event to other network equipments on the first tunnel Hinder notice message and carry fault message, so that other network equipments in the first tunnel can get failure directly and in real time Information, so as to improve the accuracy rate and promptness of the fault message for obtaining the first tunnel.
Specific embodiment is used below, and the technical scheme of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 2 is the flow chart of the embodiment of the method two of tunnel failure of the present invention notice, as shown in Fig. 2 the side of the present embodiment Method can include:
201st, whether break down in the first tunnel where the network equipment detects the network equipment.
In the present embodiment, 201 specific implementation process and in the embodiment of the method for the notice of tunnel failure shown in Fig. 1 101 Specific implementation process is similar, and detailed process is referred to the record in 101, and the embodiment of the present invention will not be repeated here.
202nd, the network equipment detects that downstream node of the network equipment along the first tunnel breaks down, or, network The link that equipment is connected with downstream node breaks down, and obtains fault message.
In the present embodiment, when the downstream node in the first tunnel breaks down, i.e. it is located at the network equipment in the first tunnel Downstream network device break down, then the network equipment can detect that downstream joint of the network equipment along the first tunnel is pointed out Existing failure, such as:When the downstream node in the first tunnel of failure sets for a downstream network adjacent with the network equipment When standby, then the network equipment can directly detect the downstream node failure in first tunnel, and obtain life after fault message Into Fisrt fault notice message, then the Fisrt fault notice message is sent to a upstream net adjacent with the network equipment Network equipment;Or when the downstream node in the first tunnel of failure is not a downstream network adjacent with the network equipment During equipment, then the network equipment can receive the Fisrt fault notice message sent with the downstream node of the network equipment, from first Fault message is obtained in failure notice message, Fisrt fault notice message is then sent to one adjacent with the network equipment Upstream network device.It should be noted that failure information package includes address information and/or the event of the downstream node of failure herein Hinder cause information.
When the link failure that the network equipment is connected with downstream node, i.e., it is located at the net in the network equipment and the first tunnel The link of the downstream network device connection of network equipment breaks down, then the network equipment can detect the network equipment and downstream net The link of network equipment breaks down, such as:The link of failure is under the network equipment and one adjacent with the network equipment The link between the network equipment is swum, then the network equipment can detect that the link breaks down, and be generated after obtaining fault message Fisrt fault notice message, then the Fisrt fault notice message is sent to a upstream network adjacent with the network equipment Equipment;Or when the link of failure is the link that is connected with another downstream node of downstream node of the network equipment, then network Equipment can receive the Fisrt fault notice message sent with the downstream node of the network equipment, from Fisrt fault notice message Fault message is obtained, then Fisrt fault notice message is sent to a upstream network device adjacent with the network equipment. It should be noted that failure information package includes the address information and/or fault reason information of the link of failure herein.
203rd, the network equipment sends Fisrt fault notice message to the head node in the first tunnel, in order to the head in the first tunnel Node obtains fault message, and Fisrt fault notice message carries fault message.
In the present embodiment, the network equipment can directly detect acquisition fault message, or can be by receiving and the network Fisrt fault notice message that the adjacent downstream node of equipment is sent obtains fault message, and the failure is got in the network equipment After information, Fisrt fault notice message is sent to the upstream node adjacent with the network equipment by the network equipment;Set with the network Standby adjacent upstream node obtains fault message after receiving the Fisrt fault notice message, then by Fisrt fault notice message The upstream node adjacent with it is sent to, by that analogy, Fisrt fault notice message propagate one by one sent, until by the One failure notice message is sent to the head node in the first tunnel, and then the head node in the first tunnel is according to Fisrt fault notification message Fault message is obtained, so that the upstream node at the place of breaking down can get fault message directly and in real time, so that The first tunnel fault message accurate positioning and in time.
The concrete application scene of the embodiment of the present invention is illustrated below:
In the first feasible implementation, when the first tunnel is that MPLS TE use the money based on Traffic Engineering extensions Source reservation protocol(Resource ReSerVation Protocol-Traffic Engineering, referred to as RSVP-TE)Letter When making the lsp tunnel established, the network equipment detect the downstream node of the lsp tunnel where the network equipment break down or The link that the network equipment is connected with downstream node breaks down, then the network equipment obtains fault message, and removes the network The status block of equipment, then send reservation tear down to the upstream node of the network equipment(RESV TEAR)Message, the RESV TEAR message carries fault message, and fault message includes:The downstream node of failure or the address information of link, and failure The coding of reason;After the upstream node receives the RESV TEAR message, the status block of the upstream node is removed, and obtains event Hinder information, then RESV TEAR message is sent to the adjacent upstream node of the upstream node, by that analogy, by RESV TEAR Message propagate one by one and sent, and removes the state of corresponding upstream node one by one, until RESV TEAR message is sent to The head node in the first tunnel, then the head node in the first tunnel obtains fault message according to RESV TEAR message, so as to which event occurs Upstream node at barrier can get fault message directly and in real time, so that the fault message positioning in the first tunnel Accurate and timely, the head node in last first tunnel can be by the fault information reporting to management server.
It should be noted that the RESV TEAR message in the present embodiment is the RESV TEAR message after extension, specifically, Mistake instruction can be carried by extending RESV TEAR message(ERROR_SPEC)Object carrys out transmission fault information, i.e., in RSVP- Fault message can be illustrated using ERROR_SPEC objects in TE, the RESV TEAR message of the present embodiment can include should ERROR_SPEC objects;Or can illustrate fault message using default new object in RSVP-TE, the present embodiment RESV TEAR message can include the default new object.
In second of feasible implementation, when the first tunnel is that MPLS uses tag distribution protocol(Label Distribution Protocol, referred to as LDP)During the lsp tunnel that signaling is established, the network equipment detects the network equipment The link that the downstream node of the lsp tunnel at place is broken down or the network equipment is connected with downstream node breaks down, then The network equipment obtains fault message, and removes the status block of the network equipment, is then sent out to the upstream node of the network equipment Label is sent to reclaim(Label Withdraw)Message, the Label Withdraw message carry fault message, failure information package Include:The downstream node of failure or the address information of link, and the coding of failure cause;The upstream node receives this After Label Withdraw message, remove the status block of the upstream node, and obtain fault message, then to the upstream node Adjacent upstream node sends Label Withdraw message, and by that analogy, Label Withdraw message is passed one by one Broadcast and send, and remove the state of corresponding upstream node one by one, until Label Withdraw message is sent into the first tunnel Head node, then the head node in the first tunnel according to Label Withdraw message obtain fault message, so as to break down The upstream node at place can get fault message directly and in real time, so that the fault message positioning in the first tunnel is accurate Really and in time, the head node in last first tunnel can be by the fault information reporting to management server.
It should be noted that the Label Withdraw message in the present embodiment disappears for the Label Withdraw after extension Breath, specifically, can carry type lengths values by extending Label Withdraw message(Type-Length-Value, letter Referred to as TLV)Carry out transmission fault information, you can to illustrate fault message, the Label of the present embodiment using the TLV newly defined Withdraw message can directly include the TLV.
In the third feasible implementation, when the first tunnel is using MP-BGP(Multi Protocol Border Gateway Protocol, referred to as MP-BGP)When the multistage PW or hierarchical vp N of foundation, network Equipment detect the downstream node of multistage PW or hierarchical vp N where the network equipment break down or the network equipment with The link of downstream node connection breaks down, then the network equipment obtains fault message, is sent out to the upstream node of the network equipment Bgp update message is sent, the bgp update message carries fault message, and fault message includes:The downstream node or chain of failure The address information on road, and the coding of failure cause;After the upstream node receives the bgp update message, fault message is obtained, so Bgp update message is sent to the adjacent upstream node of the upstream node afterwards, by that analogy, bgp update message is carried out one by one Propagate and send, until bgp update message to be sent to the head node in the first tunnel, then the head node in the first tunnel is according to BGP New information obtains fault message, so that the upstream node at the place of breaking down can get failure letter directly and in real time Breath so that the fault message accurate positioning in the first tunnel and in time.
It should be noted that the bgp update message in the present embodiment is the bgp update message after extension, and the BGP is more New information is the bgp update message for including MP_UNREACH_NLRI, specifically, can be by extending BGP extended community attribute Carry out transmission fault information.
The method for the tunnel failure notice that the embodiment of the present invention two provides, the network equipment edge is detected by the network equipment The downstream node for the first tunnel breaks down, or, the link that the network equipment is connected with downstream node breaks down, and obtains event Hinder information, then send Fisrt fault notice message to the head node in the first tunnel, obtained in order to the head node in the first tunnel Fault message, Fisrt fault notice message carry fault message;So that the upstream node at the place that broken down in the first tunnel Directly and to get fault message in real time, so as to improve the accuracy rate for the fault message for obtaining the first tunnel and timely Property.
Fig. 3 is the flow chart of the embodiment of the method three of tunnel failure of the present invention notice, as shown in figure 3, the side of the present embodiment Method can include:
301st, whether break down in the first tunnel where the network equipment detects the network equipment.
In the present embodiment, 301 specific implementation process and in the embodiment of the method for the notice of tunnel failure shown in Fig. 1 101 Specific implementation process is similar, and detailed process is referred to the record in 101, and the embodiment of the present invention will not be repeated here.
302nd, the network equipment detects that upstream node of the network equipment along the first tunnel breaks down, or, network The link that equipment is connected with upstream node breaks down.
In the present embodiment, when the upstream node in the first tunnel breaks down, i.e. it is located at the network equipment in the first tunnel Upstream network device break down, then the network equipment can detect that upstream node of the network equipment along the first tunnel goes out Existing failure, such as:When the upstream node in the first tunnel of failure sets for a upstream network adjacent with the network equipment When standby, then the network equipment can directly detect the upstream node failure in first tunnel, and obtain life after fault message Into Fisrt fault notice message, then the Fisrt fault notice message is sent to a downstream net adjacent with the network equipment Network equipment;Or when the upstream node in the first tunnel of failure is not a upstream network adjacent with the network equipment During equipment, then the network equipment can receive the Fisrt fault notice message sent with the upstream node of the network equipment, from first Fault message is obtained in failure notice message, Fisrt fault notice message is then sent to one adjacent with the network equipment Downstream network device.It should be noted that failure information package includes address information and/or the event of the upstream node of failure herein Hinder cause information.
When the link failure that the network equipment is connected with upstream node, i.e., it is located at the net in the network equipment and the first tunnel The link of the upstream network device connection of network equipment breaks down, then the network equipment can detect the network equipment and upstream net The link of network equipment breaks down, such as:The link of failure is on the network equipment and one adjacent with the network equipment The link between the network equipment is swum, then the network equipment can detect that the link breaks down, and be generated after obtaining fault message Fisrt fault notice message, then the Fisrt fault notice message is sent to a downstream network adjacent with the network equipment Equipment;Or when the link of failure is the link that is connected with another upstream node of upstream node of the network equipment, then network Equipment can receive the Fisrt fault notice message sent with the upstream node of the network equipment, from Fisrt fault notice message Fault message is obtained, then Fisrt fault notice message is sent to a downstream network device adjacent with the network equipment. It should be noted that failure information package includes the address information and/or fault reason information of the link of failure herein.
303rd, the network equipment sends Fisrt fault notice message to the tail node in the first tunnel, in order to the tail in the first tunnel Node obtains the fault message, and Fisrt fault notice message carries fault message.
In the present embodiment, the network equipment can directly detect acquisition fault message, or can be by receiving and the network Fisrt fault notice message that the adjacent upstream node of equipment is sent obtains fault message, and the failure is got in the network equipment After information, Fisrt fault notice message is sent to the downstream node adjacent with the network equipment by the network equipment;Set with the network Standby adjacent downstream node obtains fault message after receiving the Fisrt fault notice message, then by Fisrt fault notice message The downstream node adjacent with it is sent to, by that analogy, Fisrt fault notice message propagate one by one sent, until by the One failure notice message is sent to the tail node in the first tunnel, and then the tail node in the first tunnel is according to Fisrt fault notification message Fault message is obtained, so that the downstream node at the place of breaking down can get fault message directly and in real time, so that The first tunnel fault message accurate positioning and in time.
The concrete application scene of the embodiment of the present invention is illustrated below:
In the first feasible implementation, when the first tunnel is the LSP that MPLS TE are established using RSVP-TE signalings During tunnel, the network equipment detects that the upstream node of the lsp tunnel where the network equipment breaks down or the network equipment The link being connected with upstream node breaks down, then the network equipment obtains fault message, and removes the state of the network equipment Block, then removed to the downstream node transmitting path of the network equipment(PATH TEAR)Message, the PATH TEAR message carry Faulty information, fault message include:The upstream node of failure or the address information of link, and the coding of failure cause; After the downstream node receives the PATH TEAR message, the status block of the downstream node is removed, and obtains fault message, then Send PATH TEAR message to the adjacent downstream node of the downstream node, by that analogy, by PATH TEAR message carry out by One propagates transmission, and removes the state of corresponding downstream node one by one, until PATH TEAR message is sent into the first tunnel Tail node, then the tail node in the first tunnel is according to PATH TEAR message acquisition fault message, so that the downstream at the place that breaks down Node can get fault message directly and in real time so that the fault message accurate positioning in the first tunnel and and When, the tail node in last first tunnel can be by the fault information reporting to management server.It should be noted that the present embodiment In PATH TEAR message for extension after PATH TEAR message, specifically, can by extend PATH TEAR message carry ERROR_SPEC objects carry out transmission fault information, i.e., can illustrate that failure is believed using ERROR_SPEC objects in RSVP-TE Breath, the PATH TEAR message of the present embodiment can include the ERROR_SPEC objects;Or it can be used in RSVP-TE pre- If new object illustrate fault message, the PATH TEAR message of the present embodiment can include the default new object.
In second of feasible implementation, when the first tunnel is the lsp tunnel that MPLS is established using LDP signalings, The network equipment detects that the upstream node of the lsp tunnel where the network equipment breaks down or the network equipment saves with upstream The link of point connection breaks down, then the network equipment obtains fault message, and removes the status block of the network equipment, Ran Houxiang The downstream node of the network equipment sends label withdraw(Label Release)Message, the Label Release message carry Fault message, fault message include:The upstream node of failure or the address information of link, and the coding of failure cause;Should After downstream node receives the Label Withdraw message, the status block of the downstream node is removed, and obtains fault message, so Label Release message is sent to the adjacent downstream node of the downstream node afterwards, by that analogy, by Label Release Message propagate one by one and sent, and removes the state of corresponding downstream node one by one, until Label Release message is sent out The tail node in the first tunnel is given, then the tail node in the first tunnel obtains fault message according to Label Release message, with Make the downstream node at the place of breaking down can get fault message directly and in real time, so that the failure in the first tunnel Information locating is accurately and timely, and the tail node in last first tunnel can be by the fault information reporting to management server.
It should be noted that the Label Release message in the present embodiment disappears for the Label Release after extension Breath, specifically, can carry TLV come transmission fault information by extending Label Release message, you can with using new fixed The TLV of justice illustrates fault message, and the Label Release message of the present embodiment can directly include the TLV.
In the third feasible implementation, when the first tunnel is using the MP-BGP multistage PW established or stratification During VPN, the network equipment detects that the upstream node of multistage PW or hierarchical vp N where the network equipment break down or should The link that the network equipment is connected with upstream node breaks down, then the network equipment obtains fault message, to the network equipment Downstream node sends bgp update message, and the bgp update message carries fault message, and fault message includes:What is broken down is upper Swim the address information of node or link, and the coding of failure cause;After the downstream node receives the bgp update message, obtain Fault message, bgp update message then is sent to the adjacent downstream node of the downstream node, by that analogy, bgp update is disappeared Breath propagate one by one and sent, until bgp update message to be sent to the periproct of the tail node, then the first tunnel in the first tunnel Point obtains fault message according to bgp update message, so that the downstream node at the place of breaking down can obtain directly and in real time To fault message, so that the fault message accurate positioning in the first tunnel and in time.
It should be noted that the bgp update message in the present embodiment is the bgp update message after extension, and the BGP is more New information is the bgp update message for including MP_UNREACH_NLRI, specifically, can be by extending BGP extended community attribute Carry out transmission fault information.
The method for the tunnel failure notice that the embodiment of the present invention three provides, the network equipment edge is detected by the network equipment The upstream node for the first tunnel breaks down, or, the link that the network equipment is connected with upstream node breaks down, Ran Houxiang The tail node in the first tunnel sends Fisrt fault notice message, and the fault message is obtained in order to the tail node in the first tunnel, Fisrt fault notice message carries fault message;So that the downstream node at the place that broken down in the first tunnel can be directly and real When get fault message, so as to improve obtain the first tunnel fault message accuracy rate and promptness.
It should be noted that the method for the embodiment of the present invention two and the tunnel failure notice shown in the embodiment of the present invention three can Performed with combining, unlike, the network equipment in the embodiment of the present invention two is the upstream node at the first tunnel fails, And the network equipment in the embodiment of the present invention three is the downstream node at the first tunnel fails, the first tunnel thereby may be ensured that The node of all normal works can obtain fault message directly and in real time on road, improve the failure for obtaining the first tunnel The accuracy rate and promptness of information.
Fig. 4 is the flow chart of the embodiment of the method four of tunnel failure of the present invention notice, as shown in figure 4, further, this reality Example is applied on the basis of the embodiment of the method that tunnel failure shown in Fig. 1 or Fig. 2 notifies, can also be included:
401st, the head node in the first tunnel receives Fisrt fault notice message.
In the present embodiment, when the network equipment detects that downstream node of the network equipment along the first tunnel breaks down, Or after the link that is connected with downstream node of the network equipment breaks down, fault message is obtained, sent out to the head node in the first tunnel Fisrt fault notice message is sent, correspondingly, the head node in the first tunnel receives the first tunnel notice message.
402nd, the head node in the first tunnel determines whether there is second tunnel associated with the first tunnel, if it is not, then holding Row 404;If so, then perform 403.
403rd, the head node in the first tunnel sends the second failure notice message to the head node on the second tunnel, in order to the The head node in two tunnels obtains fault message, and the second failure notice message carries fault message.
In the present embodiment, due to the first tunnel fails, then the head node in the first tunnel obtains the event in the first tunnel It can determine which the second tunnel the fault message can also influence after barrier information, second tunnel is in addition to the first tunnel Tunnel, therefore, the head node in the first tunnel may determine whether there is second tunnel related to the first tunnel, if with The second associated tunnel of first tunnel, then illustrate that the failure in the first tunnel equally influences whether the second tunnel, so as to cause the Two tunnel fails, so further, it is also necessary to which the fault message in the first tunnel is advertised to each node in the second tunnel.
In the present embodiment, when the head node in the first tunnel determines to have second tunnel associated with the first tunnel, the Fault message in the head node Fisrt fault notice message in one tunnel is mapped in the fault message sent by the second tunnel, The second failure notice message is formed, second failure notice message carries the fault message, then the head node in the first tunnel Second failure notice message is sent to the head node in the second tunnel, such as:The head node in the first tunnel is by the second fault notification Message is sent to the head node in first tunnel along the adjacent upstream node in the second tunnel, the head node phase with the first tunnel The upstream node in the second tunnel faced obtains fault message after receiving second failure notice message, then leads to the second failure Accuse message and be sent to the upstream node adjacent with it, by that analogy, the second failure notice message is carried out to propagate transmission one by one, directly Second failure notice message is extremely sent to the head node in the second tunnel, then the head node in the second tunnel leads to according to the second failure Know that message obtains fault message, so that each node in the second tunnel that the first tunnel to break down is associated can directly simultaneously Fault message is got in real time, so that the second tunnel can position fault message accurately and in time, is realized simultaneously Fault location end to end.
404th, flow terminates.
If without second tunnel associated with the first tunnel, illustrate the first tunnel failure do not interfere with it is other Tunnel, then flow terminate.
The concrete application scene of the embodiment of the present invention is illustrated below:
In the first feasible implementation, when the second tunnel is the multistage PW established using LDP signalings, when first After the head node in tunnel receives Fisrt fault notice message, however, it is determined that there is second tunnel associated with the first tunnel, then The head node in the first tunnel obtains the fault message in Fisrt fault notice message, and the fault message is mapped in into LDP Notification message or Label Withdraw message, then to second tunnel adjacent with the head node in the first tunnel Upstream node send the LDP Notification message or Label Withdraw message;The upstream section in second tunnel Point receive the LDP Notification message or Label Withdraw message after, obtain fault message, then to The upstream node that the upstream node in second tunnel is adjacent sends LDP Notification message or Label Withdraw Message, by that analogy, LDP Notification message or Label Withdraw message are carried out propagating transmission one by one, directly To LDP Notification message or Label Withdraw message to be sent to the head node in the second tunnel, then second The head node in tunnel obtains fault message according to LDP Notification message or Label Withdraw message, to realize Fault location end to end.
In second of feasible implementation, when the second tunnel is the multistage PW or level using the foundation of MP-BGP signalings When changing VPN, after the head node in the first tunnel receives Fisrt fault notice message, however, it is determined that have associated with the first tunnel The second tunnel, then the head node in the first tunnel obtain the fault message in Fisrt fault notice message, and by the fault message Bgp update message is mapped in, then the upstream node to second tunnel adjacent with the head node in the first tunnel sends the BGP more New information;After the upstream node in second tunnel receives the bgp update message, obtain fault message, then to this second The upstream node that the upstream node in tunnel is adjacent sends bgp update message, and by that analogy, bgp update message is passed one by one Broadcast and send, until bgp update message to be sent to the head node in the second tunnel, then the head node in the second tunnel according to BGP more New information obtains fault message, to realize fault location end to end.It should be noted that the bgp update in the present embodiment disappears Bgp update message after ceasing for extension, can be by extending BGP extended community attributes come transmission fault information.
The method for the tunnel failure notice that the embodiment of the present invention four provides, further, passes through the head node in the first tunnel After receiving Fisrt fault notice message, however, it is determined that there is the head in second tunnel, then first tunnel associated with the first tunnel Node sends the second failure notice message to the head node on the second tunnel, in order to which the head node in the second tunnel obtains failure letter Breath;So that each node in the second tunnel that the first tunnel to break down is associated can get failure directly and in real time Information, so that the second tunnel can position fault message accurately and in time, while realize fault location end to end.
Fig. 5 is the flow chart of the embodiment of the method five of tunnel failure of the present invention notice, as shown in figure 5, further, this reality Example is applied on the basis of the embodiment of the method that tunnel failure shown in Fig. 1 or Fig. 3 notifies, can also be included:
501st, the tail node in the first tunnel receives Fisrt fault notice message.
In the present embodiment, when the network equipment detects that event occurs in upstream node of the network equipment along first tunnel Barrier, or, after the link that the network equipment is connected with upstream node breaks down, fault message is obtained, to the periproct in the first tunnel Point sends Fisrt fault notice message, and correspondingly, the tail node in the first tunnel receives the first tunnel notice message.
502nd, the tail node in the first tunnel determines whether there is second tunnel associated with the first tunnel, if it is not, then holding Row 504;If so, then perform 503.
503rd, the tail node in the first tunnel sends the second failure notice message to the tail node on the second tunnel, in order to the The tail node in two tunnels obtains fault message, and the second failure notice message carries fault message.
In the present embodiment, due to the first tunnel fails, then the tail node in the first tunnel obtains the event in the first tunnel It can determine which the second tunnel the fault message can also influence after barrier information, second tunnel is in addition to the first tunnel Tunnel, therefore, the tail node in the first tunnel may determine whether there is second tunnel related to the first tunnel, if with The second associated tunnel of first tunnel, then illustrate that the failure in the first tunnel equally influences whether the second tunnel, so as to cause the Two tunnel fails, so further, it is also necessary to which the fault message in the first tunnel is advertised to each node in the second tunnel.
In the present embodiment, when the tail node in the first tunnel determines to have second tunnel associated with the first tunnel, the Fault message in the tail node Fisrt fault notice message in one tunnel is mapped in the fault message sent by the second tunnel, The second failure notice message is formed, second failure notice message carries the fault message, then the tail node in the first tunnel Second failure notice message is sent to the tail node in the second tunnel, such as:The tail node in the first tunnel is by the second fault notification Message is sent to the tail node in first tunnel along the adjacent downstream node in the second tunnel, the tail node phase with the first tunnel The downstream node in the second tunnel faced obtains fault message after receiving second failure notice message, then leads to the second failure Accuse message and be sent to the downstream node adjacent with it, by that analogy, the second failure notice message is carried out to propagate transmission one by one, directly Second failure notice message is extremely sent to the tail node in the second tunnel, then the tail node in the second tunnel is led to according to the second failure Know that message obtains fault message, so that each node in the second tunnel that the first tunnel to break down is associated can directly simultaneously Fault message is got in real time, so that the second tunnel can position fault message accurately and in time, is realized simultaneously Fault location end to end.
504th, flow terminates.
If without second tunnel associated with the first tunnel, illustrate the first tunnel failure do not interfere with it is other Tunnel, then flow terminate.
The concrete application scene of the embodiment of the present invention is illustrated below:
In the first feasible implementation, when the second tunnel is the multistage PW established using LDP signalings, when first After the tail node in tunnel receives Fisrt fault notice message, however, it is determined that there is second tunnel associated with the first tunnel, then The tail node in the first tunnel obtains the fault message in Fisrt fault notice message, and the fault message is mapped in into LDP Notification message or Label Release message, then to second tunnel adjacent with the tail node in the first tunnel Downstream node send the LDP Notification message or Label Release message;The downstream joint in second tunnel Point receive the LDP Notification message or Label Release message after, obtain fault message, then to this The adjacent downstream node of the downstream node in the second tunnel sends LDP Notification message or Label Release disappear Breath, by that analogy, LDP Notification message or Label Release message are carried out propagating transmission one by one, until LDP Notification message or Label Release message are sent to the tail node in the second tunnel, then the second tunnel The tail node in road obtains fault message according to LDP Notification message or Label Release message, to realize end To the fault location at end.
In second of feasible implementation, when the second tunnel is the multistage PW or level using the foundation of MP-BGP signalings When changing VPN, after the tail node in the first tunnel receives Fisrt fault notice message, however, it is determined that have associated with the first tunnel The second tunnel, then the tail node in the first tunnel obtain the fault message in Fisrt fault notice message, and by the fault message Bgp update message is mapped in, then the downstream node to second tunnel adjacent with the tail node in the first tunnel sends the BGP more New information;After the downstream node in second tunnel receives the bgp update message, obtain fault message, then to this second The downstream node that the downstream node in tunnel is adjacent sends bgp update message, and by that analogy, bgp update message is passed one by one Broadcast and send, until bgp update message to be sent to the tail node in the second tunnel, then the tail node in the second tunnel according to BGP more New information obtains fault message, to realize fault location end to end.It should be noted that the bgp update in the present embodiment disappears Bgp update message after ceasing for extension, can be by extending BGP extended community attributes come transmission fault information.
The method for the tunnel failure notice that the embodiment of the present invention five provides, further, passes through the tail node in the first tunnel After receiving Fisrt fault notice message, however, it is determined that there is the tail in second tunnel, then first tunnel associated with the first tunnel Node sends the second failure notice message to the tail node on the second tunnel, in order to which the tail node in the second tunnel obtains failure letter Breath;So that each node in the second tunnel that the first tunnel to break down is associated can get failure directly and in real time Information, so that the second tunnel can position fault message accurately and in time, while realize fault location end to end.
It should be noted that the method for the embodiment of the present invention four and the tunnel failure notice shown in the embodiment of the present invention five can Performed with combining, so that each node in all second tunnels that the first tunnel to break down is associated can be straight Connect and get fault message in real time, so that the second tunnel can position fault message accurately and in time, and meanwhile it is real Fault location is end to end showed.
Fig. 6 is the structural representation of inventive network apparatus embodiments one, as shown in fig. 6, the embodiments of the invention provide A kind of network equipment 10, the network equipment 10 can be the network equipment of preceding method embodiment part, the net of the present embodiment Network equipment 10 can include:Detection unit 11, acquiring unit 12 and transmitting element 13, wherein, detection unit 11 is used to detect net Whether break down in the first tunnel where network equipment 10;Acquiring unit 12 is used to detect first tunnel in detection unit 11 When road breaks down, fault message is obtained;Transmitting element 13 is used to send the to other network equipments on first tunnel One failure notice message, the Fisrt fault notice message carry the fault message.
Further, detection unit 11 detects that first tunnel breaks down and included:Detect the edge of the network equipment 10 The upstream node for first tunnel breaks down, or, detect the chain that the network equipment 10 is connected with the upstream node Road is broken down, or, detect that downstream node of the network equipment 10 along first tunnel breaks down, or, detection The link being connected to the network equipment 10 with the downstream node breaks down.
Further, in the first feasible implementation, transmitting element 13 is to other on first tunnel The network equipment, which sends the Fisrt fault notice message, to be included:The Fisrt fault is sent to the head node in first tunnel to lead to Message is accused, the fault message is obtained in order to the head node in first tunnel.
In second of feasible implementation, transmitting element 13 is sent to other network equipments on first tunnel The Fisrt fault notice message includes:The Fisrt fault notice message is sent to the tail node in first tunnel, so as to Tail node in first tunnel obtains the fault message.
Alternatively, in the first feasible implementation, the Fisrt fault notice message is that PATH is removed in path TEAR message or reservation tear down RESV TEAR message, by extending the PATH TEAR message or RESV TEAR message To carry ERROR_SPEC objects to transmit the fault message.
In second of feasible implementation, the Fisrt fault notice message is that label reclaims Label Withdraw Message or label withdraw Label Release message, by extending the Label Withdraw message or Label Release message is to carry type lengths values TLV to transmit the fault message.
In the third feasible implementation, the failure notice message is that Border Gateway Protocol updates BGP Update Message, by extending the BGP extended community attributes for the BGP_Update message for carrying MP_UNREACH_NLRI to transmit State fault message.
The network equipment 10 of the present embodiment, it can be used for performing in method above-described embodiment that tunnel failure of the present invention notifies Shown technical scheme, its implementing principle and technical effect is similar, may refer to the related record in above-described embodiment in detail, this Place repeats no more.
Fig. 7 is the structural representation of inventive network apparatus embodiments two, as shown in fig. 7, the embodiment of the present invention also provides A kind of network equipment 20, the first network equipment 20 can be the network equipment of preceding method embodiment part, this implementation The network equipment 20 of example can include:Memory 21 and transmitter 22, and be connected respectively with memory 21 and transmitter 22 Processor 23, and memory 21 is used to store batch processing code, the program that processor 23 is used to call memory 21 to store is held The following operation of row:
Whether break down in the first tunnel where the detection network equipment 20;
When detecting that first tunnel breaks down, fault message is obtained;
Transmitter 22 is controlled to send Fisrt fault notice message to other network equipments on first tunnel, described the One failure notice message carries the fault message.
Further, detecting the first tunnel and break down includes:
Upstream node of the network equipment 20 along first tunnel is detected to break down, or, detect the network equipment 20 The link being connected with the upstream node breaks down, or, downstream joint of the detection network equipment 20 along first tunnel Point breaks down, or, the link that the detection network equipment 20 is connected with the downstream node breaks down.
Further, in the first feasible implementation, control transmitter 22 is to its on first tunnel His network equipment, which sends Fisrt fault notice message, to be included:
Transmitter 22 is controlled to send the Fisrt fault notice message to the head node in first tunnel, in order to described The head node in the first tunnel obtains the fault message.
In second of feasible implementation, control transmitter 22 is sent out to other network equipments on first tunnel Fisrt fault notice message is sent to include:
Transmitter 22 is controlled to send the Fisrt fault notice message to the tail node in first tunnel, in order to described The tail node in the first tunnel obtains the fault message.
Alternatively, in the first feasible implementation, the Fisrt fault notice message is that PATH is removed in path TEAR message or reservation tear down RESV TEAR message, by extending the PATH TEAR message or RESV TEAR message To carry ERROR_SPEC objects to transmit the fault message.
In second of feasible implementation, the Fisrt fault notice message is that label reclaims Label Withdraw Message or label withdraw Label Release message, by extending the Label Withdraw message or Label Release message is to carry type lengths values TLV to transmit the fault message.
In the third feasible implementation, the failure notice message is that Border Gateway Protocol updates BGP Update Message, by extending the BGP extended community attributes for the BGP_Update message for carrying MP_UNREACH_NLRI to transmit State fault message.
The network equipment 20 of the present embodiment, it can be used for performing in method above-described embodiment that tunnel failure of the present invention notifies Shown technical scheme, its implementing principle and technical effect is similar, may refer to the related record in above-described embodiment in detail, this Place repeats no more.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (14)

  1. A kind of 1. method of tunnel failure notice, it is characterised in that methods described includes:
    Whether break down in the first tunnel where the network equipment detects the network equipment;
    When the network equipment detects that first tunnel breaks down, fault message is obtained;
    The network equipment sends Fisrt fault notice message, first event to other network equipments on first tunnel Hinder notice message and carry the fault message;
    After the head node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and first tunnel The second associated tunnel of road, then the head node in first tunnel send the second failure to the head node on second tunnel Notice message, the fault message is obtained in order to the head node in second tunnel;
    After the tail node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and first tunnel Associated second tunnel in road, then the tail node in first tunnel send the second fault notification to second tunnel and disappear Breath, the fault message is obtained in order to the tail node in first tunnel;
    Wherein, second failure notice message carries the fault message.
  2. 2. according to the method for claim 1, it is characterised in that break down and specifically include in first tunnel:
    Upstream node of the network equipment along first tunnel breaks down, or, the network equipment with it is described on The link for swimming node connection breaks down, or, downstream node of the network equipment along first tunnel breaks down, Or the link that the network equipment is connected with the downstream node breaks down.
  3. 3. method according to claim 1 or 2, it is characterised in that the network equipment is to its on first tunnel His network equipment, which sends Fisrt fault notice message, to be included:
    The network equipment sends the Fisrt fault notice message to the head node in first tunnel, in order to described first The head node in tunnel obtains the fault message.
  4. 4. method according to claim 1 or 2, it is characterised in that the network equipment is to its on first tunnel His network equipment, which sends Fisrt fault notice message, to be included:
    The network equipment sends the Fisrt fault notice message to the tail node in first tunnel, in order to described first The tail node in tunnel obtains the fault message.
  5. 5. method according to claim 1 or 2, it is characterised in that the Fisrt fault notice message is removed for path PATH TEAR message or reservation tear down RESV TEAR message, by extending the PATH TEAR message or RESV TEAR Message indicates ERROR_SPEC objects to transmit the fault message to carry mistake.
  6. 6. method according to claim 1 or 2, it is characterised in that the Fisrt fault notice message reclaims for label Label Withdraw message or label withdraw Label Release message, are disappeared by extending the Label Withdraw Breath or Label Release message are to carry type lengths values TLV to transmit the fault message.
  7. 7. method according to claim 1 or 2, it is characterised in that the Fisrt fault notice message is assisted for borde gateway View renewal BGP Update message, is extended by the BGP for extending the BGP_Update message for carrying MP_UNREACH_NLRI Group attribute transmits the fault message.
  8. 8. according to the method for claim 1, it is characterised in that second failure notice message is Label Withdraw Message or Label Release message, by extending the Label Withdraw message or Label Release message To carry type lengths values TLV to transmit the fault message.
  9. 9. according to the method for claim 1, it is characterised in that second failure notice message is led to for tag distribution protocol Know LDP Notification message.
  10. 10. according to the method for claim 1, it is characterised in that second failure notice message is that BGP Update disappear Breath, transmitted by extending the BGP extended community attributes for the BGP_Update message for carrying MP_UNREACH_NLRI described Fault message.
  11. 11. a kind of network equipment, it is characterised in that the network equipment includes:
    Detection unit, whether broken down for the first tunnel where detecting the network equipment;
    Acquiring unit, for when the detection unit detects that first tunnel breaks down, obtaining fault message;
    Transmitting element, on first tunnel other network equipments send Fisrt fault notice message, described first Failure notice message carries the fault message;
    After the head node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and first tunnel The second associated tunnel of road, then the head node in first tunnel send the second failure to the head node on second tunnel Notice message, the fault message is obtained in order to the head node in second tunnel;
    After the tail node in first tunnel receives the Fisrt fault notice message, however, it is determined that have and first tunnel Associated second tunnel in road, then the tail node in first tunnel send the second fault notification to second tunnel and disappear Breath, the fault message is obtained in order to the tail node in first tunnel;
    Wherein, second failure notice message carries the fault message.
  12. 12. equipment according to claim 11, it is characterised in that the detection unit detects that first tunnel occurs Failure includes:
    Detect that upstream node of the network equipment along first tunnel breaks down, or, detect the network The link that equipment is connected with the upstream node breaks down, or, detect the network equipment along first tunnel Downstream node break down, or, detect the link failure that the network equipment is connected with the downstream node.
  13. 13. the equipment according to claim 11 or 12, it is characterised in that the transmitting element is on first tunnel Other network equipments, which send the Fisrt fault notice message, to be included:
    The Fisrt fault notice message is sent to the head node in first tunnel, in order to the head node in first tunnel Obtain the fault message.
  14. 14. the equipment according to claim 11 or 12, it is characterised in that the transmitting element is on first tunnel Other network equipments, which send the Fisrt fault notice message, to be included:
    The Fisrt fault notice message is sent to the tail node in first tunnel, in order to the tail node in first tunnel Obtain the fault message.
CN201310206666.8A 2013-05-29 2013-05-29 The method and the network equipment of tunnel failure notice Expired - Fee Related CN104219068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310206666.8A CN104219068B (en) 2013-05-29 2013-05-29 The method and the network equipment of tunnel failure notice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310206666.8A CN104219068B (en) 2013-05-29 2013-05-29 The method and the network equipment of tunnel failure notice

Publications (2)

Publication Number Publication Date
CN104219068A CN104219068A (en) 2014-12-17
CN104219068B true CN104219068B (en) 2017-12-22

Family

ID=52100230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310206666.8A Expired - Fee Related CN104219068B (en) 2013-05-29 2013-05-29 The method and the network equipment of tunnel failure notice

Country Status (1)

Country Link
CN (1) CN104219068B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547241B (en) * 2017-05-18 2021-07-23 新华三技术有限公司 TE tunnel fault detection method and device
CN112804141B (en) * 2018-09-06 2023-09-26 华为技术有限公司 Method for transmitting message, network equipment and computer storage medium
CN110881006B (en) * 2018-09-06 2021-02-23 华为技术有限公司 Method for sending message, network equipment and computer storage medium
CN117176546A (en) * 2022-05-26 2023-12-05 华为技术有限公司 Fault processing method, related equipment and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039222A (en) * 2007-04-25 2007-09-19 华为技术有限公司 Warning information transmission method, apparatus and network equipment
CN101453385A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Method and equipment for failure notification
CN101682552A (en) * 2007-04-18 2010-03-24 北方电讯网络有限公司 Failure notification in a network having serially connected nodes
CN101997747A (en) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 Method and device for announcing fault LSP information
CN102136965A (en) * 2010-12-24 2011-07-27 华为技术有限公司 Method for detecting tunnel faults and traffic engineering (TE) node
CN102833109A (en) * 2012-08-30 2012-12-19 华为技术有限公司 Positional information processing method and equipment of fault point
CN102833108A (en) * 2012-08-30 2012-12-19 华为技术有限公司 Processing method and equipment of location information of fault point

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101682552A (en) * 2007-04-18 2010-03-24 北方电讯网络有限公司 Failure notification in a network having serially connected nodes
CN101039222A (en) * 2007-04-25 2007-09-19 华为技术有限公司 Warning information transmission method, apparatus and network equipment
CN101453385A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Method and equipment for failure notification
CN101997747A (en) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 Method and device for announcing fault LSP information
CN102136965A (en) * 2010-12-24 2011-07-27 华为技术有限公司 Method for detecting tunnel faults and traffic engineering (TE) node
CN102833109A (en) * 2012-08-30 2012-12-19 华为技术有限公司 Positional information processing method and equipment of fault point
CN102833108A (en) * 2012-08-30 2012-12-19 华为技术有限公司 Processing method and equipment of location information of fault point

Also Published As

Publication number Publication date
CN104219068A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN101427501B (en) Method and apparatus for consistency between MPLS traffic engineering forwarding and control planes
CN105245452B (en) Multi-protocol label switching traffic engineering tunnel establishing method and equipment
CN101945049B (en) The method for building up of multiprotocol label switching system, node device and bidirectional tunnel
CN103841017B (en) The method and apparatus that label is distributed automatically in looped network protection
CN102281199B (en) Route equipment, route reflector and route information processing method and system
CN102571601B (en) A kind of method and label switched path equipment for ensureing two-way converting detection reliability
KR101468763B1 (en) Rsvp-te enhancement for mpls-frr bandwidth optimization
CN101001170A (en) Service failure recovery method
CN104219068B (en) The method and the network equipment of tunnel failure notice
CN101789879B (en) Dynamic maintenance method and device for related link circuits
CN102868569B (en) The method for testing performance of Layer3 Virtual Private Network, node and system
CN102857418B (en) A kind of Quickly regroup changing method based on VPN and equipment
CN110417564B (en) Full-mesh link protection method, device, equipment and storage medium
CN109218107A (en) Link switch-over method, device, the network equipment and network system
WO2022012646A1 (en) In-situ flow detection method and related device
CN105281931A (en) Error code detection method, device and system of POTN
CN102308526B (en) Method, convergence device and system for realizing connected detection
JP2006033124A (en) Tunnel fault notification device and method
CN110224886A (en) Tunnel method for detecting connectivity, device and network edge device
CN106375212B (en) A kind of RSVP message treatment method and device
CN106161232A (en) A kind of method and apparatus of protecting tunnel switching
WO2017190675A1 (en) Link information processing method, apparatus and system
WO2019165803A1 (en) Message processing method and apparatus, and message encapsulating method, apparatus and system
WO2012000329A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network
CN102790713A (en) Quick heavy-route protection method and system of bidirectional path

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171222

Termination date: 20200529