CN106301821A - A kind of tunnel method for detecting packet loss, device and network communication equipment - Google Patents
A kind of tunnel method for detecting packet loss, device and network communication equipment Download PDFInfo
- Publication number
- CN106301821A CN106301821A CN201510249492.2A CN201510249492A CN106301821A CN 106301821 A CN106301821 A CN 106301821A CN 201510249492 A CN201510249492 A CN 201510249492A CN 106301821 A CN106301821 A CN 106301821A
- Authority
- CN
- China
- Prior art keywords
- tunnel
- request message
- node
- message
- detection request
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0695—Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of tunnel method for detecting packet loss, device and network communication equipment, by pointing out the transmission frequency promoting transmission detection request message at cephalomere, and each node is all carried out receive and dispatch the quantity statistics of message and report in tunnel, realize tunnel packet loss detection fast and accurately, can be applicable to bidirectional tunnel and unidirectional tunnel, tunnel transmitting-receiving bag statistics can be carried out for each node on link, it is accurately judged to concrete packet loss position and quantity, quickly navigate to network failure point, extremely convenient hands section is provided for engineering maintenance, the demand that network operation is safeguarded can be met.
Description
Technical field
The present invention relates to MPLS (Multi-Protocol Label Switching, multiprotocol label switching) network
Technical field, particularly relates to a kind of tunnel method for detecting packet loss, device and network communication equipment.
Background technology
Packet loss of link detection is a kind of conventional network operation function, and accurately and quickly packet loss detection is for net
Network safeguards there is particularly important meaning.Current existing packet loss detection instrument mainly has three classes:
The first kind be OAM (Operations, Administration, and Maintenance, operation management with
Safeguard) instrument.Conventional MPLS-TP (Multi-Protocol Label Switching Transport Profile,
Multiprotocol label switching translation profile) LM (Frame Loss Measurement, the packet loss of OAM
Detection) in function, TMP (T-MPLS Path) layer, the LM of TMC (T-MPLS Channel) layer
Function can only carry out based on the end-to-end packet loss detection of service path, it is impossible to positions concrete packet loss trouble point.TMS
Although the LM frame of layer can detect packet loss piecemeal, can only statistical piece layer packet loss of link.For in node
Packet loss cannot count on.
Equations of The Second Kind is IP (Internet protocol) Ping and LSP (label switched path, Tag switching
Path) Ping instrument.Such instrument can carry out the detection of connectivity between interface, simultaneously in Ping message speed
Packet loss detection can also be carried out when rate is higher.But which is limited to software processes performance, packet loss is added up not
Standard, and the most do not support intermediate node packet loss detection.
3rd class is performance statistics instrument.Often providing port performance statistics, which can only check this node
Packet loss, Cuo Bao, can only coarse analysis, accuracy is the lowest.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of tunnel method for detecting packet loss, device and network and leads to
Letter equipment, orients position and the quantity of business packet loss in network accurately.
The technical solution used in the present invention is, described tunnel method for detecting packet loss, by a head node, Ruo Ganzhong
Intermediate node and one tunnel of tail node composition, the flow process that head node performs includes:
Head node sends detection request message according to the frequency set to intermediate node, for each intermediate node and
Statistical result is reported monitoring after carrying out quantity statistics for the detection request message self received and dispatched and sets by tail node
Standby;The transmission of the Ping message that the frequency of described setting uses when checking more than network connectivty and network speed
Frequency;
Head node carries out quantity statistics for the detection request message sent, and statistical result is sent to monitoring and sets
Standby.
Further, it is used for passing containing two-way approach and the forward path in described tunnel in described tunnel packet
Censorship survey request message and reverse path in described tunnel for transmitting the corresponding situation detecting back message
Under:
In forward path, head node sends detection request message according to the frequency set to intermediate node;
The flow process that described head node performs, also includes:
In reverse path, head node carries out quantity statistics for the described detection back message received, will
Statistical result reports monitoring device.
The present invention also provides for a kind of tunnel method for detecting packet loss, by a head node, some intermediate nodes and
One tunnel of tail node composition, the flow process that intermediate node performs includes:
Intermediate node is during receiving and forwarding detection request message, for the detection request message of transmitting-receiving
Carry out quantity statistics, statistical result is reported monitoring device;Described detection request message is from the cephalomere in tunnel
The frequency sent in point meets the frequency of setting, and the frequency of described setting is more than network connectivty and network speed
The transmission frequency of the Ping message used during inspection.
Further, the detection request message for transmitting-receiving carries out quantity statistics, including:
On the basis of the information entering label and reflection type of message that the detection request message received carries,
According to ACL (Access Control List accesses and controls list) rule for the detection request message received
Carry out quantity statistics;
Detect, for forward, outgoing label and the detection request of this forwarding that request message is stamped at this intermediate node
On the basis of the information of the reflection type of message that message carries, according to acl rule for the detection request sent
Message carries out quantity statistics.
Further, the information of described reflection type of message, including: type of message information, and/or, port
Information.
Further, it is used for passing containing two-way approach and the forward path in described tunnel in described tunnel packet
Censorship survey request message and reverse path in described tunnel for transmitting the corresponding situation detecting back message
Under:
The flow process that described intermediate node performs, specifically includes:
Intermediate node is during receiving and forwarding detection request message, respectively in described forward path and institute
Stating on reverse path, the detection request message for transmitting-receiving carries out quantity statistics, by the statistics in respective paths
Result all reports monitoring device.
The present invention also provides for a kind of tunnel method for detecting packet loss, by a head node, some intermediate nodes and
One tunnel of tail node composition, the flow process that tail node performs includes:
Carry out quantity statistics for the detection request message received, statistical result is reported monitoring device;
The frequency that described detection request message sends from the head node in tunnel meets the frequency of setting, described setting
The transmission frequency of the Ping message that frequency uses when checking more than network connectivty and network speed.
Further, it is used for passing containing two-way approach and the forward path in described tunnel in described tunnel packet
Censorship survey request message and reverse path in described tunnel for transmitting the corresponding situation detecting back message
Under:
In forward path, carry out quantity statistics for the detection request message received, by statistical result
Offer monitoring device;
The flow process that described tail node performs, also includes:
Tail node finds the reverse road of correspondence according to the forward path at the described detection request message place received
Footpath;
In reverse path, tail node sends detection back message to intermediate node, for each intermediate node pin
After the detection back message self received and dispatched is carried out quantity statistics, statistical result is reported monitoring device;
Tail node carries out quantity statistics for the described detection back message sent, and statistical result is sent to prison
Measurement equipment.
The present invention also provides for a kind of tunnel packet loss detection device, is positioned in the head node in tunnel, described device
Including:
Sending module, for sending detection request message according to the frequency set to intermediate node, in each
Statistical result is reported after carrying out quantity statistics for the detection request message self received and dispatched by intermediate node and tail node
To monitoring device;The Ping report that the frequency of described setting uses when checking more than network connectivty and network speed
The transmission frequency of literary composition;
First statistical module, carries out quantity statistics for head node for the detection request message sent, will system
Meter result is sent to monitoring device.
The present invention also provides for a kind of tunnel packet loss detection device, in the arbitrary intermediate node being positioned in tunnel, institute
State device to include:
Second statistical module, for during receiving and forwarding detection request message, for the inspection of transmitting-receiving
Survey request message and carry out quantity statistics, statistical result is reported monitoring device;Described detection request message from
The frequency sent in the head node in tunnel meets the frequency of setting, and the frequency of described setting is more than network connectivty
And the transmission frequency of the Ping message used during network speed inspection.
The present invention also provides for a kind of tunnel packet loss detection device, is positioned in the tail node in tunnel, described device
Including:
3rd statistical module, for carrying out quantity statistics for the detection request message received, ties statistics
Fruit reports monitoring device;The frequency that described detection request message sends from the head node in tunnel meets setting
Frequency, the Ping message used when the frequency of described setting checks more than network connectivty and network speed
Transmission frequency.
The present invention also provides for a kind of network communication equipment, including at least above-mentioned be positioned at head node, intermediate node,
One of tunnel packet loss detection device in tail node.
Using technique scheme, the present invention at least has the advantage that
Tunnel of the present invention method for detecting packet loss, device and network communication equipment, carry by pointing out at cephalomere
Rise and send the transmission frequency of detection request message and each node all carried out receiving and dispatching message in tunnel
Quantity statistics and reporting, it is achieved tunnel packet loss detection fast and accurately, can be applicable to bidirectional tunnel and unidirectional tunnel
Road, can for each node on link carry out tunnel transmitting-receiving bag statistics, be accurately judged to concrete packet loss position and
Quantity, quickly navigates to network failure point, provides extremely convenient means for engineering maintenance, can meet network
The demand of operation maintenance.
Accompanying drawing explanation
Fig. 1 is that the head node in the case of tunnel only comprises unidirectional path of first embodiment of the invention performs
Flow chart;
Fig. 2 is the stream that head node performs in the case of tunnel packet is containing two-way approach of first embodiment of the invention
Cheng Tu;
Fig. 3 is that the intermediate node in the case of tunnel only comprises unidirectional path of second embodiment of the invention performs
Flow chart;
Fig. 4 is that the intermediate node in the case of tunnel packet is containing two-way approach of second embodiment of the invention performs
Flow chart;
Fig. 5 is the stream that tail node performs in the case of tunnel packet is containing two-way approach of third embodiment of the invention
Cheng Tu;
Fig. 6 is the tunnel packet loss detection device composition schematic diagram of fourth embodiment of the invention;
Fig. 7 is the tunnel packet loss detection device composition schematic diagram of fifth embodiment of the invention;
Fig. 8 is the tunnel packet loss detection device composition schematic diagram of sixth embodiment of the invention;
Fig. 9 is the networking structure schematic diagram of eighth embodiment of the invention;
Figure 10 is the composition structural representation of eighth embodiment of the invention head node A;
Figure 11 is the composition structural representation of eighth embodiment of the invention intermediate node B and C.
Detailed description of the invention
By further illustrating the technological means and effect that the present invention taked by reaching predetermined purpose, below tie
Close accompanying drawing and preferred embodiment, after the present invention is described in detail such as.
First embodiment of the invention, a kind of tunnel method for detecting packet loss, by a head node, some intermediate nodes
And one tail node composition one tunnel, as it is shown in figure 1, head node perform flow process include walking in detail below
Rapid:
Step S101, head node sends the detection request report of setting quantity according to the frequency set to intermediate node
Literary composition, will after carrying out quantity statistics for each intermediate node and tail node for the detection request message self received and dispatched
Statistical result reports monitoring device;When the frequency of described setting checks more than network connectivty and network speed
The transmission frequency of the Ping message used but must be with the transmission bandwidth in described tunnel as the upper limit, and described tunnel
Transmission bandwidth is generally defaulted as the transmission bandwidth of the physical port of communication equipment network side.
Step S102, head node carries out quantity statistics for the detection request message sent, statistical result is sent out
Give monitoring device.
Concrete, in embodiments of the present invention, head node, tail node and each intermediate node are required for joining
Put tunnel example, thus could form corresponding tunnel in head node, some intermediate nodes and tail node,
When this tunnel example defining by corresponding tunnel transmission message, each node need the outgoing label stamped and
Need identify to enter label, such as: when head node sends detection request message, to need to ask in this detection
Stamp outgoing label on message, and identify when this outgoing label just receives this detection request message as intermediate node
What this detection request message gone out carried enters label, again can be again when intermediate node sends this detection request message
The outgoing label meeting this tunnel example is stamped for it.
It addition, also need to configure detection example in head node and tail node, it is right to define in this detection example
Detection request message packaged type, if under the tunnel of two-way approach, this detection example also specify with
The packaged type of the detection back message that detection request message is corresponding.
Further, due to tunnel unidirectional path and two-way approach two kinds respectively, above-mentioned steps S101~102 is in fact
Being the technical scheme in the case of described tunnel only comprises unidirectional path on border, now, head node is according to setting
Fixed frequency sends detection request message along described unidirectional path to intermediate node.
As in figure 2 it is shown, be used for containing two-way approach and the forward path in described tunnel in described tunnel packet
Transmit detection request message and reverse path in described tunnel for transmitting the corresponding feelings detecting back message
Under condition:
Step S101 specifically should be: step S101-1, and in forward path, head node is according to the frequency set
Detection request message is sent to intermediate node;
The flow process that described head node performs, except comprising step S101-1 and identical with step S102
Step S102-1 outside, also include:
Step S103-1, in reverse path, head node is carried out for the described detection back message received
Quantity statistics, reports monitoring device by statistical result.
Concrete, in step S103-1, head node is for the described detection back message number received
Amount statistics, including:
Head node finds the tunnel of correspondence in fact according to the label that enters carried in the described detection back message received
Detection example in example, its objective is to determine that described detection back message is belonging to this detection example,
Described detection back message is carried out quantity statistics.
Second embodiment of the invention, a kind of tunnel method for detecting packet loss, the method for the present embodiment is implemented with first
The method of example belongs to same technical thought, and difference is that the present embodiment is to retouch with the angle of intermediate node
State technical scheme.
The tunnel method for detecting packet loss of the present embodiment, by a head node, some intermediate nodes and a tail node
Form a tunnel, as it is shown on figure 3, the flow process that intermediate node performs includes:
Step S201, intermediate node is during receiving and forwarding detection request message, for the inspection of transmitting-receiving
Survey request message and carry out quantity statistics.The frequency symbol that described detection request message sends from the head node in tunnel
Close the frequency set, the Ping that the frequency of described setting uses when checking more than network connectivty and network speed
The transmission frequency of message but must be with the transmission bandwidth in described tunnel as the upper limit.
Concrete, in step s 201, the detection request message for transmitting-receiving carries out quantity statistics, including:
On the basis of the information entering label and reflection type of message that the detection request message received carries,
Quantity statistics is carried out for the detection request message received according to acl rule;
Detect, for forward, outgoing label and the detection request of this forwarding that request message is stamped at this intermediate node
On the basis of the information of the reflection type of message that message carries, according to acl rule for the detection request sent
Message carries out quantity statistics.
The information of described reflection type of message, including: type of message information, and/or, port information.
Step S202, reports monitoring device by statistical result.Concrete, can finger based on monitoring device
Make and report statistical result, it is also possible to actively report statistical result to monitoring device.
Further, due to tunnel unidirectional path and two-way approach two kinds respectively, above-mentioned steps S201~202 is in fact
Being the technical scheme in the case of described tunnel only comprises unidirectional path on border, now, intermediate node is in institute
Stating in unidirectional path, the detection request message for transmitting-receiving carries out quantity statistics respectively, statistical result is all gone up
Offer monitoring device.
As shown in Figure 4, it is used for containing two-way approach and the forward path in described tunnel in described tunnel packet
Transmit detection request message and reverse path in described tunnel for transmitting the corresponding feelings detecting back message
Under condition:
Step S201 specifically should be step S201-1: intermediate node is receiving and forwarding the mistake of detection request message
Cheng Zhong, respectively on described forward path and described reverse path, the detection request message for transmitting-receiving is carried out
Quantity statistics;The frequency that described detection request message sends from the head node in tunnel meets the frequency of setting,
The transmission frequency of the Ping message that the frequency of described setting uses when checking more than network connectivty and network speed
But must be with the transmission bandwidth in described tunnel as the upper limit.
Step S202 specifically should be step S202-1: the statistical result in respective paths is all reported monitoring and sets
Standby.
Third embodiment of the invention, a kind of tunnel method for detecting packet loss, the method for the present embodiment is implemented with first
The method of example belongs to same technical thought, and difference is that the present embodiment is to describe with the angle of tail node
Technical scheme.
The tunnel method for detecting packet loss of the present embodiment, by a head node, some intermediate nodes and a tail node
Forming a tunnel, the flow process that tail node performs includes:
Step S301, carries out quantity statistics for the detection request message received, statistical result is reported
Monitoring device;The frequency that described detection request message sends from the head node in tunnel meets the frequency of setting,
The transmission frequency of the Ping message that the frequency of described setting uses when checking more than network connectivty and network speed
But must be with the transmission bandwidth in described tunnel as the upper limit.
Further, due to tunnel unidirectional path and two-way approach two kinds respectively, above-mentioned steps S301 is actually
It is the technical scheme in the case of described tunnel only comprises unidirectional path, now, in described unidirectional path,
Tail node carries out quantity statistics for the detection request message received, and statistical result all reports monitoring and sets
Standby.
As it is shown in figure 5, be used for containing two-way approach and the forward path in described tunnel in described tunnel packet
Transmit detection request message and reverse path in described tunnel for transmitting the corresponding feelings detecting back message
Under condition:
Step S301 specifically should be step S301-1: in forward path, and tail node is for the detection received
Request message carries out quantity statistics, and statistical result is reported monitoring device;
The flow process that described tail node performs, also includes:
Step S302-1: tail node finds according to the forward path at the described detection request message place received
Corresponding reverse path;
Step S303-1: in reverse path, tail node sends detection back message to intermediate node, for
Statistics is tied after carrying out quantity statistics for the detection back message self received and dispatched by each intermediate node and head node
Fruit reports monitoring device;
Step S304-1: tail node carries out quantity statistics for the described detection back message sent, will statistics
Result is sent to monitoring device.
Fourth embodiment of the invention, corresponding with first embodiment, the present embodiment introduces a kind of tunnel packet loss detection
Device, is positioned in the head node in tunnel, and as shown in Figure 6, this device includes consisting of part:
Sending module 600, for sending the detection request report of setting quantity according to the frequency set to intermediate node
Literary composition, will after carrying out quantity statistics for each intermediate node and tail node for the detection request message self received and dispatched
Statistical result reports monitoring device;The frequency of described setting is limited with the transmission bandwidth in described tunnel;
First statistical module 601, carries out quantity statistics for head node for the detection request message sent, will
Statistical result is sent to monitoring device.
Fifth embodiment of the invention, corresponding with the second embodiment, the present embodiment introduces a kind of tunnel packet loss detection
Device, in the arbitrary intermediate node being positioned in tunnel, as it is shown in fig. 7, this device includes consisting of part:
Second statistical module 700, for during receiving and forwarding detection request message, for transmitting-receiving
Detection request message carries out quantity statistics, and statistical result is reported monitoring device.Described detection request message
The frequency sent from the head node in tunnel meets the frequency of setting, and the frequency of described setting is more than network-in-dialing
Property and the transmission frequency of Ping message that uses when checking of network speed but must be with the transmission bandwidth in described tunnel
The upper limit.
Sixth embodiment of the invention, corresponding with the 3rd embodiment, the present embodiment introduces a kind of tunnel packet loss detection
Device, is positioned in the tail node in tunnel, and as shown in Figure 8, this device includes consisting of part:
3rd statistical module 800, for carrying out quantity statistics for the detection request message received, will statistics
Result reports monitoring device;The frequency that described detection request message sends from the head node in tunnel meets and sets
Fixed frequency, the Ping message that the frequency of described setting uses when checking more than network connectivty and network speed
Transmission frequency but must be with the transmission bandwidth in described tunnel as the upper limit.
Seventh embodiment of the invention, a kind of network communication equipment, can understand as entity apparatus, this reality
Execute in the described network communication equipment of example including at least the 4th embodiment, the 5th embodiment, sixth embodiment institute
One of tunnel packet loss detection device stated.
Eighth embodiment of the invention, the present embodiment is on the basis of above-described embodiment, with PTN (Package
Transport Network, Packet Transport Network) how to carry out quick Lsp Ping between PTN device in network
As a example by, the application example of a present invention is introduced in conjunction with accompanying drawing 9~11.
A kind of quickly Lsp Ping detection method of the present embodiment, can meet engineering site quick localized tunnel report
The demand of literary composition loss of forwarded packets node.
The present embodiment realizes the LspPing possessing the tunnel of two-way approach with the networking structure shown in Fig. 9
Detection function, needs to enable LspPing detection function on the tunnel of each node of networking.
Step one: enable LspPing detection function on the tunnel of each node of networking.
1) foundation of the business model of tunnel configuration and correspondence.
Setting up service topology model according to business configuration, configured tunneling technique example is to be formed by head node A, centre
The tunnel of node B and C, tail node Z composition.
2) head node A configuration: enable quick tunnel Ping function as required, and configuration message length and
The transmission bandwidth in tunnel, then LspPing example (detection example being similar in above-described embodiment) is tied to
On intermediate node B and C, the type of head node A belongs to PE node i.e. fringe node, and its composition structure is such as
Shown in Figure 10, the LspPing message processing module (MPM) in head node is according to the message length configured and the biography in tunnel
Defeated bandwidth calculation sends the frequency of message, it is common that obtain permissible divided by message length with the transmission bandwidth in tunnel
The highest message transmission frequency set.
3) intermediate node B and C configuration: configure the ACL of exchange chip after enabling quick tunnel Ping function
Rule, according in Request message or middle Reply message carry outgoing label, enter label, port, report
The information such as literary composition type carry out Request message or the quantity statistics of Reply message.Intermediate node B and C
Type belong to P node i.e. non-edge node, its composition structure as shown in figure 11, wherein NNI port is
The port of network side.
4) tail node Z configuration: after enabling quick tunnel Ping function, for comprising the tunnel of two-way approach,
Simultaneously enter association on path corresponding go out to routing information, in order to during loopback LspPing Reply message
Encapsulation tunnel relevant information.In the present embodiment in tail node entering to path corresponding in previous embodiment just
To path, go out the reverse path in path is corresponding to previous embodiment.
Step 2: the process (Request message) of forward LspPing.
Head node receives after LspPing enables configuration, and the LspPing message processing module (MPM) in head node is i.e. pressed
According to tunnel encapsulation Request message and send.LspPing message processing module (MPM) begins for LspPing simultaneously
The transmitting-receiving Request message of example is added up, and configuration exchange chip extracts this Request message.
Intermediate node needs to forward Request message according to business, simultaneously according in Request message
The quantity difference going out or entering label, port, the type of message Request message to receiving and send carried
Add up.This outgoing label and enter label and be the tunnel label meeting tunnel example.
Tail node receives Request message, acl rule extract this message and give tail node
LspPing message processing module (MPM), this LspPing message processing module (MPM) finds correspondence according to tunnel label
LspPing example, and obtain the reverse path that forward path is corresponding, encapsulate by the relevant information of this reverse path
Reply message loopback, add up received quantity and the quantity forwarded of Reply message of Request message simultaneously.
Step 3: the reversely process (Reply message) of LspPing.
After tail node receives Request message, need to find entering to path of this LspPing example corresponding
Go out to path, go out the business information to path by this and reply a Reply message, and reply in tail node statistics
Reply message amount.
Intermediate node needs to forward Reply message according to business, takes according in this Reply message simultaneously
The outgoing label of band, enter label, port, type of message to receiving and the quantity of Reply message of sending direction is divided
Do not add up.
After head node receives Reply message, exchange chip this message extracted and give head node
LspPing message processing module (MPM), this LspPing message processing module (MPM) finds correspondence according to tunnel label
LspPing example, carries out finalization process to Reply message, adds up corresponding packet receiving quantity simultaneously.
Step 4: after stopping LspPing detection, inquires about each node transmitting-receiving message amount and shows statistical result.
1) for node end to end, the packet sending and receiving quantity of its statistics is inquired about from LspPing message processing module (MPM).
2) for intermediate node, inquire based on tunnel label, end from the exchange chip using acl rule
The packet sending and receiving quantity of mouth, type of message statistics.
3) collect the statistical information of each node, and show.Each node in forward path in the present embodiment
The statistical conditions of transmitting-receiving message amount are as shown in table 1, the system of the transmitting-receiving message amount of each node in reverse path
Meter situation is as shown in table 2.
Table 1
A sends | B receives | B sends | C receives | C sends | Z receives | |
Message amount | 10000 | 10000 | 9900 | 9800 | 9800 | 9800 |
Packet loss is added up | 0 | 0 | 100 | 100 | 0 | 0 |
Table 2
Z sends | C receives | C sends | B receives | B sends | A receives | |
Message amount | 9800 | 9800 | 9800 | 9700 | 9600 | 9600 |
Packet loss is added up | 0 | 0 | 0 | 100 | 100 | 0 |
The present embodiment is as a example by the LspPing function in the tunnel comprising two-way approach, for only comprising unidirectional path
Tunnel only add up and show, with the realization of the present embodiment with the transmission of Request message is received
Similar.
Described tunnel method for detecting packet loss, device and the network communication equipment of the embodiment of the present invention, it is achieved quickly
Tunnel packet loss detection accurately, can be applicable to bidirectional tunnel and unidirectional tunnel, can be for each node on link
Carry out tunnel transmitting-receiving bag statistics, be accurately judged to concrete packet loss position and quantity, quickly navigate to network failure
Point, provides extremely convenient means for engineering maintenance, can meet the demand that network operation is safeguarded.
By the explanation of detailed description of the invention, it should can be to the present invention by reaching the technology that predetermined purpose is taked
Means and effect are able to more deeply and concrete understanding, but appended diagram is only to provide reference and explanation
With, not it is used for the present invention is any limitation as.
Claims (12)
1. a tunnel method for detecting packet loss, is made up of a head node, some intermediate nodes and a tail node
Article one, tunnel, it is characterised in that the flow process that head node performs includes:
Head node sends detection request message according to the frequency set to intermediate node, for each intermediate node and
Statistical result is reported monitoring after carrying out quantity statistics for the detection request message self received and dispatched and sets by tail node
Standby;The transmission of the Ping message that the frequency of described setting uses when checking more than network connectivty and network speed
Frequency;
Head node carries out quantity statistics for the detection request message sent, and statistical result is sent to monitoring and sets
Standby.
Tunnel the most according to claim 1 method for detecting packet loss, it is characterised in that in described tunnel packet
Be used for transmitting detection request message containing two-way approach and the forward path in described tunnel and in described tunnel
Reverse path be used for transmitting corresponding detection back message in the case of:
In forward path, head node sends detection request message according to the frequency set to intermediate node;
The flow process that described head node performs, also includes:
In reverse path, head node carries out quantity statistics for the described detection back message received, will
Statistical result reports monitoring device.
3. a tunnel method for detecting packet loss, is made up of a head node, some intermediate nodes and a tail node
Article one, tunnel, it is characterised in that the flow process that intermediate node performs includes:
Intermediate node is during receiving and forwarding detection request message, for the detection request message of transmitting-receiving
Carry out quantity statistics, statistical result is reported monitoring device;Described detection request message is from the cephalomere in tunnel
The frequency sent in point meets the frequency of setting, and the frequency of described setting is more than network connectivty and network speed
The transmission frequency of the Ping message used during inspection.
Tunnel the most according to claim 3 method for detecting packet loss, it is characterised in that for the inspection of transmitting-receiving
Survey request message and carry out quantity statistics, including:
On the basis of the information entering label and reflection type of message that the detection request message received carries,
Quantity statistics is carried out for the detection request message received according to access control list ACL rule;
Detect, for forward, outgoing label and the detection request of this forwarding that request message is stamped at this intermediate node
On the basis of the information of the reflection type of message that message carries, according to acl rule for the detection request sent
Message carries out quantity statistics.
Tunnel the most according to claim 4 method for detecting packet loss, it is characterised in that described reflection message
The information of type, including: type of message information, and/or, port information.
Tunnel the most according to claim 3 method for detecting packet loss, it is characterised in that in described tunnel packet
Be used for transmitting detection request message containing two-way approach and the forward path in described tunnel and in described tunnel
Reverse path be used for transmitting corresponding detection back message in the case of:
The flow process that described intermediate node performs, specifically includes:
Intermediate node is during receiving and forwarding detection request message, respectively in described forward path and institute
Stating on reverse path, the detection request message for transmitting-receiving carries out quantity statistics, by the statistics in respective paths
Result all reports monitoring device.
7. a tunnel method for detecting packet loss, is made up of a head node, some intermediate nodes and a tail node
Article one, tunnel, it is characterised in that the flow process that tail node performs includes:
Tail node carries out quantity statistics for the detection request message received, and statistical result is reported monitoring
Equipment;The frequency that described detection request message sends from the head node in tunnel meets the frequency of setting, described
The transmission frequency of the Ping message that the frequency set uses when checking more than network connectivty and network speed.
Tunnel the most according to claim 7 method for detecting packet loss, it is characterised in that in described tunnel packet
Be used for transmitting detection request message containing two-way approach and the forward path in described tunnel and in described tunnel
Reverse path be used for transmitting corresponding detection back message in the case of:
In forward path, tail node carries out quantity statistics for the detection request message received, will statistics
Result reports monitoring device;
The flow process that described tail node performs, also includes:
Tail node finds the reverse road of correspondence according to the forward path at the described detection request message place received
Footpath;
In reverse path, tail node sends detection back message to intermediate node, for each intermediate node pin
After the detection back message self received and dispatched is carried out quantity statistics, statistical result is reported monitoring device;
Tail node carries out quantity statistics for the described detection back message sent, and statistical result is sent to prison
Measurement equipment.
9. a tunnel packet loss detection device, it is characterised in that be positioned in the head node in tunnel, described dress
Put and include:
Sending module, for sending detection request message according to the frequency set to intermediate node, in each
Statistical result is reported after carrying out quantity statistics for the detection request message self received and dispatched by intermediate node and tail node
To monitoring device;The Ping report that the frequency of described setting uses when checking more than network connectivty and network speed
The transmission frequency of literary composition;
First statistical module, carries out quantity statistics for head node for the detection request message sent, will system
Meter result is sent to monitoring device.
10. a tunnel packet loss detection device, it is characterised in that in the arbitrary intermediate node being positioned in tunnel,
Described device includes:
Second statistical module, for during receiving and forwarding detection request message, for the inspection of transmitting-receiving
Survey request message and carry out quantity statistics, statistical result is reported monitoring device;Described detection request message from
The frequency sent in the head node in tunnel meets the frequency of setting, and the frequency of described setting is more than network connectivty
And the transmission frequency of the Ping message used during network speed inspection.
11. 1 kinds of tunnel packet loss detection devices, it is characterised in that be positioned in the tail node in tunnel, described
Device includes:
3rd statistical module, for carrying out quantity statistics for the detection request message received, ties statistics
Fruit reports monitoring device;The frequency that described detection request message sends from the head node in tunnel meets setting
Frequency, the Ping message used when the frequency of described setting checks more than network connectivty and network speed
Transmission frequency.
12. 1 kinds of network communication equipments, it is characterised in that including at least such as claim 9,10,11 institute
One of tunnel packet loss detection device stated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510249492.2A CN106301821A (en) | 2015-05-15 | 2015-05-15 | A kind of tunnel method for detecting packet loss, device and network communication equipment |
PCT/CN2016/076901 WO2016184245A1 (en) | 2015-05-15 | 2016-03-21 | Tunnel packet loss detecting method, apparatus and network communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510249492.2A CN106301821A (en) | 2015-05-15 | 2015-05-15 | A kind of tunnel method for detecting packet loss, device and network communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106301821A true CN106301821A (en) | 2017-01-04 |
Family
ID=57319369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510249492.2A Withdrawn CN106301821A (en) | 2015-05-15 | 2015-05-15 | A kind of tunnel method for detecting packet loss, device and network communication equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106301821A (en) |
WO (1) | WO2016184245A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872363A (en) * | 2017-10-11 | 2018-04-03 | 东软集团股份有限公司 | Processing method, system, readable storage medium storing program for executing and the electronic equipment of data-bag lost |
CN108400900A (en) * | 2017-02-06 | 2018-08-14 | 中兴通讯股份有限公司 | Packet check, configuration, forwarding, statistical method and equipment, controller and system |
CN109981390A (en) * | 2017-12-28 | 2019-07-05 | 北京金风科创风电设备有限公司 | Network quality judgment system and method based on OPCUA message characteristics |
CN110290017A (en) * | 2019-07-26 | 2019-09-27 | 新华三大数据技术有限公司 | Malfunctioning node localization method and PE equipment |
CN112491646A (en) * | 2020-11-13 | 2021-03-12 | 中盈优创资讯科技有限公司 | VPN end-to-end performance monitoring method and device |
CN112995071A (en) * | 2021-02-05 | 2021-06-18 | 杭州迪普科技股份有限公司 | Problem chip positioning method |
CN113132140A (en) * | 2019-12-31 | 2021-07-16 | 深信服科技股份有限公司 | Network fault detection method, device, equipment and storage medium |
CN113132171A (en) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | Communication method, terminal device, network device and collector |
CN113691421A (en) * | 2021-08-27 | 2021-11-23 | 烽火通信科技股份有限公司 | Message generation method and device |
WO2023050817A1 (en) * | 2021-09-30 | 2023-04-06 | 中兴通讯股份有限公司 | Method and apparatus for determining packet transmission path fault |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114567574B (en) * | 2022-03-01 | 2023-11-10 | 烽火通信科技股份有限公司 | Method and device for realizing LM flow-free test based on time sequence control |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
CN101772194A (en) * | 2008-12-26 | 2010-07-07 | 中兴通讯股份有限公司 | General packet radio service tunnel user plane path keep-alive method and system |
CN102273136B (en) * | 2009-09-01 | 2012-12-26 | 华为技术有限公司 | Method and apparatus for detecting multi-service performance in tunnel |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102118277B (en) * | 2009-12-30 | 2013-12-25 | 华为技术有限公司 | Method and device for packet loss detection, and router |
CN102137431A (en) * | 2010-01-21 | 2011-07-27 | 杭州华三通信技术有限公司 | Method, system and device for WLAN (Wireless Local Area Network) multicasting transmission |
-
2015
- 2015-05-15 CN CN201510249492.2A patent/CN106301821A/en not_active Withdrawn
-
2016
- 2016-03-21 WO PCT/CN2016/076901 patent/WO2016184245A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
CN101772194A (en) * | 2008-12-26 | 2010-07-07 | 中兴通讯股份有限公司 | General packet radio service tunnel user plane path keep-alive method and system |
CN102273136B (en) * | 2009-09-01 | 2012-12-26 | 华为技术有限公司 | Method and apparatus for detecting multi-service performance in tunnel |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108400900A (en) * | 2017-02-06 | 2018-08-14 | 中兴通讯股份有限公司 | Packet check, configuration, forwarding, statistical method and equipment, controller and system |
CN108400900B (en) * | 2017-02-06 | 2023-03-14 | 中兴通讯股份有限公司 | Message detection, configuration, forwarding and statistical method and device, controller and system |
CN107872363A (en) * | 2017-10-11 | 2018-04-03 | 东软集团股份有限公司 | Processing method, system, readable storage medium storing program for executing and the electronic equipment of data-bag lost |
CN107872363B (en) * | 2017-10-11 | 2020-10-30 | 东软集团股份有限公司 | Data packet loss processing method and system, readable storage medium and electronic device |
CN109981390A (en) * | 2017-12-28 | 2019-07-05 | 北京金风科创风电设备有限公司 | Network quality judgment system and method based on OPCUA message characteristics |
CN109981390B (en) * | 2017-12-28 | 2020-11-24 | 北京金风科创风电设备有限公司 | Network quality judgment system and method based on OPCUA message characteristics |
CN110290017A (en) * | 2019-07-26 | 2019-09-27 | 新华三大数据技术有限公司 | Malfunctioning node localization method and PE equipment |
CN113132140A (en) * | 2019-12-31 | 2021-07-16 | 深信服科技股份有限公司 | Network fault detection method, device, equipment and storage medium |
CN113132171A (en) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | Communication method, terminal device, network device and collector |
CN113132140B (en) * | 2019-12-31 | 2023-02-03 | 深信服科技股份有限公司 | Network fault detection method, device, equipment and storage medium |
CN112491646A (en) * | 2020-11-13 | 2021-03-12 | 中盈优创资讯科技有限公司 | VPN end-to-end performance monitoring method and device |
CN112995071A (en) * | 2021-02-05 | 2021-06-18 | 杭州迪普科技股份有限公司 | Problem chip positioning method |
CN112995071B (en) * | 2021-02-05 | 2022-06-28 | 杭州迪普科技股份有限公司 | Problem chip positioning method |
CN113691421A (en) * | 2021-08-27 | 2021-11-23 | 烽火通信科技股份有限公司 | Message generation method and device |
CN113691421B (en) * | 2021-08-27 | 2022-08-02 | 烽火通信科技股份有限公司 | Message generation method and device |
WO2023050817A1 (en) * | 2021-09-30 | 2023-04-06 | 中兴通讯股份有限公司 | Method and apparatus for determining packet transmission path fault |
Also Published As
Publication number | Publication date |
---|---|
WO2016184245A1 (en) | 2016-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106301821A (en) | A kind of tunnel method for detecting packet loss, device and network communication equipment | |
Tan et al. | In-band network telemetry: A survey | |
US10355983B2 (en) | Traceroute to return aggregated statistics in service chains | |
CN101056217B (en) | A network performance measurement method and system | |
CN102301663B (en) | Message processing method and associated devices | |
CN105072629B (en) | Method, equipment and the system of the quality of the business run in measuring terminals | |
KR102005131B1 (en) | Expanding network functionalities for openflow based split-architecture networks | |
EP4007214A1 (en) | Software-defined network monitoring and fault localization | |
CN102204164B (en) | Method and apparatus for reporting network packet-losing message | |
CN104683187B (en) | A kind of method for realizing router two-layer VPN business physical interface end-to-end measurement | |
CN103152205B (en) | Based on OAM processing method and the device of stream index | |
CN104243345B (en) | A kind of traffic scheduling method based on type of service, system and equipment | |
WO2020228398A1 (en) | Message detection method, device and system | |
US20140293798A1 (en) | Mpls-tp network and link trace method thereof | |
CN103078791B (en) | OAM message processing method, equipment and system | |
CN106411625A (en) | Link message packet loss measurement method and system, target node and initiator node | |
CN104579894A (en) | IGMP Snooping realizing method and device of distributed virtual switch system | |
WO2021254334A1 (en) | Detection configuration and processing methods and systems, control and communication devices, and storage medium | |
CN101815006A (en) | aggregation control method of links passing through provider network and system | |
CN109120492A (en) | A kind of storage unit, source interchanger, message forwarding method and mirror-image system | |
CN106961400A (en) | A kind of method and system for realizing cloud platform virtual port mirror image | |
CN105515816A (en) | Processing method and apparatus for detection level information | |
CN102916883B (en) | LINK detection method and routing forwarding equipment | |
CN105812208A (en) | Multipoint service performance statistic method and system in frame type data communication device | |
CN109842503A (en) | Link-quality test method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170104 |