+

WO2009009992A1 - A method, system, source end and destination end for indexing the label switching path by means of a label - Google Patents

A method, system, source end and destination end for indexing the label switching path by means of a label Download PDF

Info

Publication number
WO2009009992A1
WO2009009992A1 PCT/CN2008/071595 CN2008071595W WO2009009992A1 WO 2009009992 A1 WO2009009992 A1 WO 2009009992A1 CN 2008071595 W CN2008071595 W CN 2008071595W WO 2009009992 A1 WO2009009992 A1 WO 2009009992A1
Authority
WO
WIPO (PCT)
Prior art keywords
label
message
switching path
maintenance management
packet
Prior art date
Application number
PCT/CN2008/071595
Other languages
French (fr)
Chinese (zh)
Inventor
Huachen Zhang
Bai Zhu
Huaming Lv
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009009992A1 publication Critical patent/WO2009009992A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5625Operations, administration and maintenance [OAM]

Definitions

  • the present invention relates to the field of communications, and more particularly to techniques for using a label index label switched path. Background technique
  • OAM Operation, Administration & Maintenance
  • MPLS Multiple Protocol Label Switching
  • the source periodically sends MPLS OAM packets, such as CV.
  • the sink performs connectivity detection based on the MPLS OAM packet, such as whether the CV or FFD packet can be detected. Regularly received, the content of the message is correct, etc., and the type of defect generated is determined according to the detection result; when the sink detects the defect, the BDI is sent through the reverse channel.
  • the format of the MPLS OAM packet is as shown in Figure 1:
  • the outer label of the MPLS OAM is MPLS label, which can be used as the outgoing label of the LSP.
  • the inner label value of the packet is 14 ( OAM Route alert label ), and the rest is OAM Payload ( OAM payload).
  • an LSP that is defective by the label index When an LSP that is defective by the label index is used, it can be applied in the case of exclusive back channel. In this case, you need to configure a reverse LSP for the LSP that is enabled with the OAM function. If the LSP is faulty, the BDI message is sent to the configured LSP. After the source end receives the BDI, the source device can uniquely index the LSP that is defective by using the label value of the outer label in the packet, thereby performing operations such as switching the LSP.
  • the method of using the label to index defective LSPs does not support OAM in the following three cases:
  • the first case sharing the reverse channel
  • the sink sends the BDI packet to the source through the shared reverse LSP
  • the outer label of the BDI packet is the same. Therefore, the source cannot index the LSP path that is faulty according to the outer label.
  • Mp2p also known as the label merge technology
  • the idea of the technology is: When the packet data with different tags arrives at an LSR (Label Switched Router) node (called a sink node), the LSR node Different inbound tags are merged and mapped to the same outgoing tag; the packet data is output using the same outgoing tag.
  • LSR Label Switched Router
  • the sink end may not be able to detect it because it can receive the detection packet sent through other LSP paths, so the OAM function cannot be performed well.
  • the trick is that the outermost mark in the tag stack is popped up in the penultimate LSR in the LSP path, not in the LSP path.
  • the exit LSR is ejected.
  • the penultimate LSR decides which egress LSR in the LSP path forwards the packet data according to the tag located at the top of the stack, and ejects the outermost tag in the tag stack, and sends the tags of other layers together with the packet data.
  • the egress LSR that is, the sink end of the LSP path, when receiving the packet data, determines the forwarding of the packet data according to the tag located at the top of the stack. If the packet data contains only one tag, after the penultimate hop is popped up, the egress LSR in the LSP path makes a forwarding decision based on the network layer packet header of the packet data.
  • the outermost label is not available on the sink end of the LSP path. Therefore, it is impossible to use the label to index which LSP path has failed, so that the source cannot be notified.
  • the source end cannot use the label value of the outer label in the BDI packet sent by the sink end, and uniquely indexes to the LSP with the defect;
  • the sink cannot determine which LSP path is faulty according to the label value of the outer label in the packet sent by the source. Therefore, in any of the three cases, the end of the received packet cannot be received.
  • the defective LSP is generated according to the label index in the packet sent by the peer end, so that OAM cannot be well supported.
  • An embodiment of the present invention provides a method, a system, a source end, and a sink end for using a label index label switching path, and one end of the received message can forward LSP according to the label index in the received message.
  • An embodiment of the present invention provides a method for using a label to index a label switching path, including: receiving a message, the message carrying an operation and maintenance management label, and identifying a forward label Change the inner label of the path;
  • a forward label switching path in which a defect occurs according to the inner label index is a forward label switching path in which a defect occurs according to the inner label index.
  • An embodiment of the present invention further provides a system for using a label index label switching path, including: a sending end, configured to send a message, the message carries an operation and maintenance management label, and is only used to identify a forward label switching path.
  • a sending end configured to send a message
  • the message carries an operation and maintenance management label, and is only used to identify a forward label switching path.
  • the receiving end is configured to: when the packet arrives, a forward label switching path that is defective according to the inner label index.
  • An embodiment of the present invention further provides a source end, including:
  • An obtaining unit configured to receive a reverse defect notification message sent by using a shared reverse label switching path, where the reverse defect notification message carries an operation and maintenance management label, and an inner layer for identifying a forward label switching path Label
  • An index unit configured to determine, according to the inner label, a forward label switching path in which a defect occurs.
  • An embodiment of the present invention further provides another source, which includes:
  • a constructing unit configured to construct an operation and maintenance management message, to carry the operation and maintenance management label, and an inner label for identifying a forward label switching path;
  • a transmitting unit configured to send, by using the label switching path, the packet constructed by the message construction unit.
  • An embodiment of the present invention further provides a sink, which includes:
  • a packet obtaining unit configured to receive an operation and maintenance management packet, where the packet carries an operation and maintenance management label, and an inner label for identifying a forward label switching path;
  • a path indexing unit configured to exchange a path according to the defect of the inner label index.
  • An embodiment of the present invention further provides another sink terminal, including:
  • a message construction unit configured to construct a reverse defect notification message, such that the message carries an OAM tag, and an inner layer tag for identifying a forward label switching path in which the defect occurs;
  • a message transmission unit configured to share the message construction unit by sharing a reverse label switching path
  • the constructed message is sent out.
  • a defective forward LSP occurs according to an inner label index in the received packet, so in the case of sharing a reverse channel, an Mp2p LSP or a PHP,
  • the receiving end of the packet can index the defective forward LSP according to the label carried in the packet.
  • FIG. 1 is a schematic diagram of a format of an MPLS OAM packet provided by the prior art
  • Figure 2 is a flow chart of the first embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a format of an OAM packet in the first embodiment of the present invention.
  • Figure 4 is a flow chart of a second embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a format of an OAM packet according to a second embodiment of the present invention.
  • Figure 6 is a flow chart of a third embodiment of the present invention. detailed description
  • the one end of the packet can be forwarded according to the label carried in the packet, and the Mp2p LSP can be well supported.
  • OAM in the case of PHP or shared reverse channel, which uses the label stack technology to add an inner layer label between the outer label and the OAM label. This label is used to identify the forward (from source to sink) LSP. And by negotiating or configuring the source end and the sink end, the identifier can be recognized.
  • the first embodiment provided by the present invention is the first method for using a label index label switching path, which can support OAM in the case of an Mp2p LSP.
  • the specific implementation process of this embodiment is shown in FIG. 2, and includes:
  • Step S101 Each source end sends a respective OAM 4 message by using a forward LSP.
  • Each OAM file carries an OAM tag and an inner tag that identifies the forward LSP.
  • the format of the OAM packet is as shown in FIG. 3. It can be seen that the OAM packet includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label.
  • the outer label may be an MPLS label for forwarding.
  • the inner label is used to uniquely identify a forward LSP.
  • the OAM label may be an OAM packet with a label of 14.
  • Step S102 After the OAM packet carrying the different inner label reaches the node that is aggregated by the forward LSP, the node maps the outer label to an outgoing label, and uses the outgoing label as the OAM packet. The outer label, and keep the inner label and OAM label unchanged, and then send the OAM to the text.
  • the outbound label can be determined according to the LDP (Label Distribution Protocol), or can be determined according to the correspondence between the static label and the outgoing label.
  • LDP Label Distribution Protocol
  • Step S103 When the 0AM packet arrives at the sink end, the sink end indexes the defective LSP according to the LSP identified by the inner layer label carried in the 0AM packet.
  • the sink can send a BDI packet to the source through the exclusive reverse LSP.
  • the source can index the forward LSP that is defective according to the outer label carried in the BDI packet, and take corresponding switching measures. , to achieve OAM function.
  • the sink may also send a BDI packet to the source through the shared reverse LSP.
  • the format of the BDI packet is the same as the format of the OAM packet, and the inner label of the forward LSP needs to be carried.
  • the inner label carried in the BDI packet can know which forward LSP is faulty, and thus take corresponding switching measures, so that the OAM function can be implemented.
  • the label stacking technology separates the forwarding function from the indexing function, and the outer label serves as a forwarding function, and is responsible for the OAM packet at the source end and the sink end.
  • the inner label is indexed and is only responsible for uniquely identifying a forward LSP. Therefore, when the 0AM packet arrives at the node where the LSP is aggregated, the node converts only the outer label, and the inner label of the forward LSP remains unchanged. Therefore, the sink can be based on the inner layer.
  • the tag is indexed to the LSP where the defect occurred.
  • the second embodiment provided by the present invention is a second method for using a label index label switching path.
  • This method can support OAM in the case of PHP.
  • the specific implementation process of this embodiment is shown in FIG. 4, and includes:
  • Step S201 The source end sends an OAM packet through the forward LSP.
  • the OAM packet carries the OAM label and the inner label used to identify the forward LSP.
  • the format of the OAM packet is the same as that in the first embodiment, and includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label.
  • the outer label may be an MPLS label for forwarding.
  • the inner label is only used to uniquely identify a forward LSP.
  • the OAM tag may be an OAM ⁇ tag with a tag of 14.
  • Step S202 When the OAM packet reaches the penultimate hop node of the LSP path, the node determines to receive the OAM packet according to the outer label of the OAM packet, and carries the inner label and the OAM label. The OAM packet with the OAM payload is sent to the sink.
  • the format of the OAM packet is as shown in FIG. 5, and includes an inner label and an OAM label.
  • Step S203 After the OAM file arrives at the sink end, the sink end indexes the defective LSP according to the LSP identified by the inner layer label in the OAM packet.
  • the sink can send a BDI packet to the source through the exclusive reverse LSP.
  • the source can index the forward LSP that is defective according to the outer label carried in the BDI packet, and take corresponding switching measures. , to achieve OAM function.
  • the sink can also send a BDI packet to the source through the shared reverse LSP.
  • the format of the BDI packet is the same as the format of the OAM packet, and the inner label of the forward LSP needs to be carried. According to the inner label carried in the BDI packet, the terminal can know which forward LSP is faulty, and accordingly take corresponding switching measures, so that the OAM function can be implemented.
  • the label stacking technology separates the forwarding function from the indexing function, and the outer label acts as a forwarding function, and is only responsible for the OAM packet at the source end and the sink end.
  • the transfer between the inner tags is responsible for identifying the unique forward LSP. Therefore, in the case of PHP, after the outer-label is popped up in the penultimate hop of the LSP path, there is also an inner-layer label that identifies the forward LSP, so it does not affect the LSP where the sink index is defective.
  • the third embodiment provided by the present invention is a method for using a label index label switching path, which is capable of supporting OAM in the case of sharing a reverse channel.
  • the specific implementation process of this embodiment is shown in FIG. 6, and includes:
  • Step S301 The source end sends an OAM packet.
  • the format of the OAM message may be in the format of the prior art, or the formats in the first embodiment and the second embodiment may be used.
  • Step S302 When the OAM packet arrives at the sink end, the sink end indexes the defective LSP according to the OAM packet.
  • the sink end may index the defective LSP according to the method in the prior art, or may index the defective LSP according to the methods in the first embodiment and the second embodiment.
  • Step S303 After the sink index is indexed, the BDI file is sent to the source end by using the shared reverse channel, and the BDI file carries an OAM label and an inner label for identifying the forward LSP.
  • the format of the BDI packet is the same as that of the OAM packet in the first embodiment, and includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label.
  • the outer label may be an MPLS label for forwarding.
  • the inner label is used to identify the forward LSP.
  • the OAM label may be an OAM packet with a label of 14.
  • Step S304 When the BDI packet arrives at the source end, the source end indexes the defective LSP according to the LSP identified by the inner layer label carried by the BDI packet.
  • the label stack technology is used to separate the forwarding function from the index function, and the outer label serves as a forwarding function.
  • the inner label is indexed and is responsible for identifying the forward LSP where the defect occurs. Therefore, when the BDI packet arrives at the source end, the source end can index the LSP that is defective according to the inner label, so as to obtain corresponding switching measures, so that the OAM function can be implemented.
  • a fourth embodiment of the present invention provides a system for using a label to index a multi-label switching path, including: a transmitting end and a receiving end.
  • the system may further include a sink node or a penultimate hop node Or both the aggregation node and the penultimate hop node.
  • the transmitting end may be a source end that sends an OAM ⁇ ⁇ message through a forward LSP, and the corresponding receiving end may be a sink end that receives the 0 AM message.
  • the sending end sends an OAM packet, where the OAM packet carries an OAM label, and an inner label that is only used to identify the forward label switching path LSP.
  • the aggregation node is configured to map the outer label carried in the OAM packet to an outgoing label, and use the outgoing label as an outer label of the OAM packet, and keep the internal label.
  • the layer label is unchanged, and the OAM packet is sent out.
  • the penultimate hop node is configured to: after the OAM packet arrives, determine, according to the outer label of the OAM packet, that the OAM packet carrying the inner label is sent after receiving the OAM packet.
  • the receiving end according to the inner label index in the arrived OAM packet, has a defect positive
  • the transmitting end may be a sink that sends a BDI packet by using a shared reverse LSP, and the corresponding receiving end is a source that receives the BDI packet.
  • the sending end sends a BDI packet, where the packet carries an operation and maintenance management OAM label, and an inner label that is only used to identify the forward label switching path LSP;
  • the receiving end according to the inner label index in the BDI packet that arrives, the defect is positive.
  • a fifth embodiment of the present invention provides a source end, including: an obtaining unit and an index unit.
  • An acquiring unit which receives a reverse defect notification BDI packet sent by the shared reverse LSP, where the BDI packet carries an OAM label, and an inner label used to identify the forward LSP;
  • a sixth embodiment of the present invention further provides another source, comprising: a construction unit and a transmission unit.
  • the construction unit, the OAM packet is configured to carry the OAM label, and the inner layer label is used to identify the forward LSP.
  • the specific implementation process is the same as that in the method embodiment, and is not described in detail here.
  • the transmission unit sends the packet constructed by the message construction unit through the LSP.
  • a seventh embodiment of the present invention provides a sink, which includes: a message acquiring unit and a path indexing unit.
  • the packet obtaining unit receives the OAM packet, and the packet carries an OAM label and an inner label for identifying the forward label switching path LSP.
  • the seventh embodiment of the present invention further provides another sink, which includes: a message construction unit and a message transmission unit.
  • the message construction unit constructs a reverse defect notification BDI packet, so that the packet carries an OAM label and an inner layer label for identifying a forward LSP with a defect; the specific implementation process is similar to the related description in the method embodiment. , will not be described in detail here.
  • the message transmission unit sends the packet constructed by the message construction unit by sharing the reverse LSP.
  • the LSP of the inner layer label index between the outer label and the OAM label is defective, so that the defect can be indexed according to the label in the received message.
  • LSP which can support the OAM function in the case of shared reverse channel, mp2p LSP and PHP, and increases the application range of the label index.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method, system, source end and destination end for indexing the Label Switching Path (LSP) by means of a label are disclosed. In the present invention, a message is received that carries the Operation Administration and Maintenance (OAM) label and an inner-layer label for identifying the forward LSP, and the forward LSP with failure is indexed in accordance with the inner-layer label. Therefore, according to the present invention, in case of the backward channel being shared, Multiple Point to Point (Mp2p) LSP or Penultimate Hop Popping (PHP), the end which has received the message can index the forward LSP with failure in accordance with the label carried in the message. Thus, it is possible to support the OAM functionality in the case of the backward channel being shared, Mp2p LSP or PHP, so as to extend the application field of label indexing.

Description

使用标签索引标签交换路径的方法、 系统、 源端和宿端 技术领域  Method, system, source and sink for exchanging paths using label index labels

本发明涉及通信领域, 尤其涉及使用标签索引标签交换路径的技术。 背景技术  The present invention relates to the field of communications, and more particularly to techniques for using a label index label switched path. Background technique

OAM ( Operation、 Administration & Maintenance , 操作、 管理和维护)功 能, 能简化网络操作、 监测网络性能、 降低网络运营成本。 其在提供业务质 量( QoS, Quality of Service )保证的网络中,尤其重要。 MPLS ( Multiple protocol label switching, 多协议标签交换)技术作为可拓展的下一代网络的关键技术, 支持 QOS和多种网络业务, 同样要求 OAM功能, 称作 MPLS OAM功能。  OAM (Operation, Administration & Maintenance) functions simplify network operations, monitor network performance, and reduce network operating costs. It is especially important in networks that provide QoS (Quality of Service) assurance. MPLS (Multiple Protocol Label Switching) technology is a key technology for scalable next-generation networks. It supports QOS and multiple network services. It also requires OAM functions, called MPLS OAM functions.

在实现 MPLS OAM功能时,源端周期性地发送 MPLS OAM报文,如 CV When the MPLS OAM function is implemented, the source periodically sends MPLS OAM packets, such as CV.

( Connectivity Verification, 连通' 1"生验证)、 FFD ( Fast Failure Detection, †夬速 缺陷检测)报文; 宿端根据所述 MPLS OAM报文进行连通性检测, 如检测 CV或 FFD报文是否能定期收到、 报文的内容是否正确等, 并根据检测结果 确定产生的缺陷类型; 当宿端检测到缺陷时, 会通过反向通道发送 BDI(Connected Verification, Connected '1' Health Verification), FFD (Fast Failure Detection) message; The sink performs connectivity detection based on the MPLS OAM packet, such as whether the CV or FFD packet can be detected. Regularly received, the content of the message is correct, etc., and the type of defect generated is determined according to the detection result; when the sink detects the defect, the BDI is sent through the reverse channel.

( Backward Defect Indicator, 反向缺陷通告)报文给源端; 源端会根据所述 BDI报文中携带的 label (标签) 索引发生缺陷的 LSP ( Label Switched Path, 标签交换路径), 并釆取相应的倒换措施。 所述 MPLS OAM报文的格式如图 1所示: (Backward Defect Indicator) message is sent to the source end; the source end indexes the Label LSP (Label Switched Path) that is defective according to the label (label) carried in the BDI packet, and captures Corresponding switching measures. The format of the MPLS OAM packet is as shown in Figure 1:

可以看出, MPLS OAM ^艮文的外层标签为 MPLS label ( MPLS标签), 其 可以作为 LSP的出标签, 报文的内层标签值为 14 ( OAM Route alert label ), 其余为 OAM Payload ( OAM净荷)。  It can be seen that the outer label of the MPLS OAM is MPLS label, which can be used as the outgoing label of the LSP. The inner label value of the packet is 14 ( OAM Route alert label ), and the rest is OAM Payload ( OAM payload).

在实现本发明的过程中, 发明人发现, 现有技术中至少存在以下技术问 题:  In the process of implementing the present invention, the inventors have found that at least the following technical problems exist in the prior art:

当利用 label索引发生缺陷的 LSP时,可以在独占反向通道的情况下适用。 此时需要为每条使能 OAM功能的 LSP配置一条独占外层标签的反向 LSP通 道; 当宿端检测到某条 LSP通道出现缺陷时, 通过所配置的独占反向 LSP通 道发送 BDI 文给源端; 所述源端接收到所述 BDI ^艮文后, 通过所述 ^艮文中 的外层标签的 label值, 可以唯一索引到出现缺陷的 LSP, 从而对这条 LSP进 行倒换等操作。 但是利用 label索引发生缺陷的 LSP的方法, 不能很好地支持 如下三种情况下的 OAM: When an LSP that is defective by the label index is used, it can be applied in the case of exclusive back channel. In this case, you need to configure a reverse LSP for the LSP that is enabled with the OAM function. If the LSP is faulty, the BDI message is sent to the configured LSP. After the source end receives the BDI, the source device can uniquely index the LSP that is defective by using the label value of the outer label in the packet, thereby performing operations such as switching the LSP. However, the method of using the label to index defective LSPs does not support OAM in the following three cases:

第一种情况: 共享反向通道  The first case: sharing the reverse channel

当宿端通过共享反向 LSP通道发送 BDI报文给源端时,所述 BDI报文携 带的外层标签是相同的, 所以源端不能根据所述外层标签索引出发生缺陷的 LSP路径。  When the sink sends the BDI packet to the source through the shared reverse LSP, the outer label of the BDI packet is the same. Therefore, the source cannot index the LSP path that is faulty according to the outer label.

第二种情况: Mp2p ( Multiple Point to Point, 多点对点, 即标签合并) LSP The second case: Mp2p (Multiple Point to Point, label merging) LSP

Mp2p, 也称作标签合并(merge )技术, 该技术的思想是: 当具有不同标 记的分组数据到达某个 LSR ( Label Switched Router, 标签交换路由器) 节点 (称为汇聚节点) 时, 该 LSR节点将不同的入标签进行合并, 并映射到相同 的出标签; 使用所述相同的出标签输出所述分组数据。 Mp2p, also known as the label merge technology, the idea of the technology is: When the packet data with different tags arrives at an LSR (Label Switched Router) node (called a sink node), the LSR node Different inbound tags are merged and mapped to the same outgoing tag; the packet data is output using the same outgoing tag.

在这种情况下, 如果很多条 LSP路径在某个 LSR节点聚合, 并且发送 OAM检测报文, 则在所述 LSR节点的下一跳节点处, 在规定时间内会收到 从多条 LSP路径上传输的报文, 但对于该节点, 这些报文的入标签是相同的, 所以该节点会认为其接收到的所有报文均是从同一 LSP路径上传输过来的, 从而容易产生 dExcess (过度)缺陷, 即在规定的时间内接收从同一 LSP路径 上传输的报文数量超过了设定的极限。 而此时实际上可能所有的 LSP路径都 很正常, 因而可能会出现误报缺陷的 LSP的情况。  In this case, if a plurality of LSP paths are aggregated on an LSR node and an OAM detection packet is sent, at the next hop node of the LSR node, multiple LSP paths are received within a specified time. The packets transmitted on the board, but the inbound labels of the packets are the same for the node. Therefore, the node considers that all the packets it receives are transmitted from the same LSP path, which is easy to generate dExcess. A defect, that is, the number of messages transmitted from the same LSP path within a specified time exceeds a set limit. At this time, it is actually possible that all the LSP paths are normal, and thus there may be a case of falsely reporting a defective LSP.

另外, 即使某条 LSP路径发生故障, 宿端也未必能够检测出, 因为它能 收到通过其它 LSP路径发送过来的检测报文, 所以无法很好地发挥 OAM的 作用。  In addition, even if an LSP path fails, the sink end may not be able to detect it because it can receive the detection packet sent through other LSP paths, so the OAM function cannot be performed well.

即使宿端检测出缺陷后, 因为在宿端, 多条 LSP路径发送来的分组数据 对应的入标签相同, 所以宿端无法知道具体是哪一条 LSP路径发生了故障, 从而无法告知源端。 Even if the sink detects a defect, because of the packet data sent by multiple LSP paths at the sink end The corresponding inbound labels are the same, so the sink cannot know which LSP path has failed, and thus cannot inform the source.

第三种情况: PHP ( Penultimate Hop Popping , 倒数第二跳弹出) 所述 ΡΗΡ技术是指标记栈中最外层的标记在 LSP路径中的倒数第二个 LSR弹出, 而不是在 LSP路径中的出口 LSR被弹出。 倒数第二个 LSR根据 原先位于栈顶的标记, 决定向 LSP路径中的哪个出口 LSR转发分组数据, 并 将标记栈中最外层的标记弹出, 将其它层的标记与分组数据一起发送给所述 出口 LSR; 所述出口 LSR, 即 LSP路径的宿端, 收到所述分组数据时, 其根 据位于栈顶的标记进行分组数据的转发决定。 如果分组数据中只包含一个标 记, 则在倒数第二跳被弹出后, LSP路径中的出口 LSR根据分组数据的网络 层分组头, 作出转发决定。  The third case: PHP (Penultimate Hop Popping, the penultimate hop pop) The trick is that the outermost mark in the tag stack is popped up in the penultimate LSR in the LSP path, not in the LSP path. The exit LSR is ejected. The penultimate LSR decides which egress LSR in the LSP path forwards the packet data according to the tag located at the top of the stack, and ejects the outermost tag in the tag stack, and sends the tags of other layers together with the packet data. The egress LSR, that is, the sink end of the LSP path, when receiving the packet data, determines the forwarding of the packet data according to the tag located at the top of the stack. If the packet data contains only one tag, after the penultimate hop is popped up, the egress LSR in the LSP path makes a forwarding decision based on the network layer packet header of the packet data.

在这种情况下, 在 LSP路径的宿端, 已经没有了最外层标签, 因此无法 用 label索引哪一条 LSP路径发生了故障, 从而无法告知源端。  In this case, the outermost label is not available on the sink end of the LSP path. Therefore, it is impossible to use the label to index which LSP path has failed, so that the source cannot be notified.

通过对上述三种情况的分析, 可以看出, 第一种情况下, 源端不能利用 宿端发送的 BDI报文中的外层标签的 label值, 唯一索引到出现缺陷的 LSP; 第二种和第三种情况下, 宿端不能根据源端发送的报文中的外层标签的 label 值, 确定哪一条 LSP路径发生了故障, 因此这三种情况下, 接收到报文的一 端均不能根据对端发送的报文中的标签索引出现缺陷的 LSP, 从而不能很好 地支持 OAM。 发明内容  By analyzing the above three cases, it can be seen that, in the first case, the source end cannot use the label value of the outer label in the BDI packet sent by the sink end, and uniquely indexes to the LSP with the defect; In the third case, the sink cannot determine which LSP path is faulty according to the label value of the outer label in the packet sent by the source. Therefore, in any of the three cases, the end of the received packet cannot be received. The defective LSP is generated according to the label index in the packet sent by the peer end, so that OAM cannot be well supported. Summary of the invention

本发明的实施例提供一种使用标签索引标签交换路径的方法、 系统、 源 端和宿端, 接收报文的一端能够根据接收到的报文中的标签索引正向 LSP。  An embodiment of the present invention provides a method, a system, a source end, and a sink end for using a label index label switching path, and one end of the received message can forward LSP according to the label index in the received message.

本发明的实施例通过如下技术方案实现:  Embodiments of the present invention are implemented by the following technical solutions:

本发明的实施例提供一种使用标签索引标签交换路径的方法, 其包括: 接收报文, 所述报文携带操作维护管理标签, 以及用于标识正向标签交 换路径的内层标签; An embodiment of the present invention provides a method for using a label to index a label switching path, including: receiving a message, the message carrying an operation and maintenance management label, and identifying a forward label Change the inner label of the path;

根据所述内层标签索引出现缺陷的正向标签交换路径。  A forward label switching path in which a defect occurs according to the inner label index.

本发明的实施例还提供一种使用标签索引标签交换路径的系统, 其包括: 发送端, 用于发送报文, 所述报文携带操作维护管理标签, 以及仅用于 标识正向标签交换路径的内层标签;  An embodiment of the present invention further provides a system for using a label index label switching path, including: a sending end, configured to send a message, the message carries an operation and maintenance management label, and is only used to identify a forward label switching path. Inner label

接收端, 用于当所述报文到达后, 根据所述内层标签索引出现缺陷的正 向标签交换路径。  The receiving end is configured to: when the packet arrives, a forward label switching path that is defective according to the inner label index.

本发明的实施例还提供一种源端, 其包括:  An embodiment of the present invention further provides a source end, including:

获取单元, 用于接收通过共享反向标签交换路径发送来的反向缺陷通告 报文, 所述反向缺陷通告报文中携带操作维护管理标签, 以及用于标识正向 标签交换路径的内层标签;  An obtaining unit, configured to receive a reverse defect notification message sent by using a shared reverse label switching path, where the reverse defect notification message carries an operation and maintenance management label, and an inner layer for identifying a forward label switching path Label

索引单元, 用于根据所述内层标签, 确定出现缺陷的正向标签交换路径。 本发明的实施例还提供另一种源端, 其包括:  An index unit, configured to determine, according to the inner label, a forward label switching path in which a defect occurs. An embodiment of the present invention further provides another source, which includes:

构造单元, 用于构造操作维护管理报文, 使所述报文携带操作维护管理 标签, 以及用于标识正向标签交换路径的内层标签;  a constructing unit, configured to construct an operation and maintenance management message, to carry the operation and maintenance management label, and an inner label for identifying a forward label switching path;

传输单元, 用于通过标签交换路径, 将所述报文构造单元所构造的报文 发送出去。  And a transmitting unit, configured to send, by using the label switching path, the packet constructed by the message construction unit.

本发明的实施例还提供一种宿端, 其包括:  An embodiment of the present invention further provides a sink, which includes:

报文获取单元, 用于接收操作维护管理报文, 所述报文携带操作维护管 理标签, 以及用于标识正向标签交换路径的内层标签;  a packet obtaining unit, configured to receive an operation and maintenance management packet, where the packet carries an operation and maintenance management label, and an inner label for identifying a forward label switching path;

路径索引单元, 用于根据所述内层标签索引出现缺陷的正向标签交换路 径。  And a path indexing unit, configured to exchange a path according to the defect of the inner label index.

本发明的实施例还提供另一种宿端, 其包括:  An embodiment of the present invention further provides another sink terminal, including:

报文构造单元,用于构造反向缺陷通告报文,使所述报文携带 OAM标签, 以及用于标识出现缺陷的正向标签交换路径的内层标签;  a message construction unit, configured to construct a reverse defect notification message, such that the message carries an OAM tag, and an inner layer tag for identifying a forward label switching path in which the defect occurs;

报文传输单元, 用于通过共享反向标签交换路径, 将所述报文构造单元 所构造的报文发送出去。 a message transmission unit, configured to share the message construction unit by sharing a reverse label switching path The constructed message is sent out.

由上述本发明的实施例提供的具体实施方案可以看出, 其根据接收到的 报文中的内层标签索引出现缺陷的正向 LSP,因此在共享反向通道、 Mp2p LSP 或 PHP情况下, 接收到报文的一端, 能够根据报文中携带的标签, 索引出现 缺陷的正向 LSP。 附图说明  It can be seen from the foregoing specific embodiments provided by the embodiments of the present invention that a defective forward LSP occurs according to an inner label index in the received packet, so in the case of sharing a reverse channel, an Mp2p LSP or a PHP, The receiving end of the packet can index the defective forward LSP according to the label carried in the packet. DRAWINGS

图 1为现有技术提供的 MPLS OAM报文的格式示意图;  1 is a schematic diagram of a format of an MPLS OAM packet provided by the prior art;

图 2为本发明第一实施例的流程图;  Figure 2 is a flow chart of the first embodiment of the present invention;

图 3为本发明第一实施例中的 OAM报文的格式示意图;  3 is a schematic diagram of a format of an OAM packet in the first embodiment of the present invention;

图 4为本发明第二实施例的流程图;  Figure 4 is a flow chart of a second embodiment of the present invention;

图 5为本发明第二实施例中的 OAM报文的格式示意图;  FIG. 5 is a schematic diagram of a format of an OAM packet according to a second embodiment of the present invention;

图 6为本发明第三实施例的流程图。 具体实施方式  Figure 6 is a flow chart of a third embodiment of the present invention. detailed description

本发明实施例在共享反向通道、 Mp2p LSP或 PHP情况下, 接收到报文 的一端, 能够根据报文中携带的标签, 索引出现缺陷的正向 LSP, 从而能够 很好地支持 Mp2p LSP、 PHP或共享反向通道情况下的 OAM, 其釆用标签栈 技术,在外层标签和 OAM标签中间增加了一层内层标签,此标签用来标识正 向(从源端到宿端) LSP, 并且通过对源端和宿端进行协商或配置, 能够认识 所述标识。  In the embodiment of the present invention, when a reverse channel, an Mp2p LSP, or a PHP is shared, the one end of the packet can be forwarded according to the label carried in the packet, and the Mp2p LSP can be well supported. OAM in the case of PHP or shared reverse channel, which uses the label stack technology to add an inner layer label between the outer label and the OAM label. This label is used to identify the forward (from source to sink) LSP. And by negotiating or configuring the source end and the sink end, the identifier can be recognized.

本发明提供的第一实施例是第一种使用标签索引标签交换路径的方法, 该方法能够支持 Mp2p LSP情况下的 OAM。 该实施例的具体实施过程如图 2 所示, 包括:  The first embodiment provided by the present invention is the first method for using a label index label switching path, which can support OAM in the case of an Mp2p LSP. The specific implementation process of this embodiment is shown in FIG. 2, and includes:

步骤 S101 , 各个源端通过正向 LSP, 发送各自的 OAM 4艮文。 每个 OAM 文携带 OAM标签, 以及用于标识正向 LSP的内层标签。 OAM报文的格式如图 3所示, 可以看出, 所述 OAM报文包括外层标 签和 OAM标签, 以及设置在外层标签和 OAM标签之间的内层标签。 所述外 层标签可以是用于转发的 MPLS标签。 所述内层标签用来唯一标识一条正向 LSP。 所述 OAM标签可以是标签为 14的 OAM报文。 Step S101: Each source end sends a respective OAM 4 message by using a forward LSP. Each OAM file carries an OAM tag and an inner tag that identifies the forward LSP. The format of the OAM packet is as shown in FIG. 3. It can be seen that the OAM packet includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label. The outer label may be an MPLS label for forwarding. The inner label is used to uniquely identify a forward LSP. The OAM label may be an OAM packet with a label of 14.

步骤 S102, 携带不同内层标签的 OAM报文到达多条正向 LSP路径聚合 的节点后, 所述节点将所述外层标签映射到某个出标签, 并将所述出标签作 为 OAM报文的外层标签, 并保持内层标签和 OAM标签不变, 然后将所述 OAM才艮文发送出去。  Step S102: After the OAM packet carrying the different inner label reaches the node that is aggregated by the forward LSP, the node maps the outer label to an outgoing label, and uses the outgoing label as the OAM packet. The outer label, and keep the inner label and OAM label unchanged, and then send the OAM to the text.

上述出标签可以根据 LDP ( Label Distribution Protocol, 标记分发协议) 确定, 也可以根据静态配置入标签与出标签的对应关系确定。  The outbound label can be determined according to the LDP (Label Distribution Protocol), or can be determined according to the correspondence between the static label and the outgoing label.

步骤 S 103 , 当所述 0AM报文到达宿端时, 所述宿端根据所述 0AM报 文中携带的内层标签所标识的 LSP, 索引出出现缺陷的 LSP。  Step S103: When the 0AM packet arrives at the sink end, the sink end indexes the defective LSP according to the LSP identified by the inner layer label carried in the 0AM packet.

之后, 宿端可以通过独占反向 LSP发送 BDI报文通告给源端; 源端根据 所述 BDI报文中携带的外层标签可以索引出出现缺陷的正向 LSP, 并釆取相 应的倒换措施, 实现 OAM功能。  Then, the sink can send a BDI packet to the source through the exclusive reverse LSP. The source can index the forward LSP that is defective according to the outer label carried in the BDI packet, and take corresponding switching measures. , to achieve OAM function.

宿端也可以通过共享反向 LSP发送 BDI报文通告给源端,所述 BDI报文 的格式与上述 OAM报文的格式雷同, 需要携带用来标识正向 LSP的内层标 签; 源端根据所述 BDI报文中携带的内层标签, 可以知道哪条正向 LSP出现 了故障, 从而釆取相应的倒换措施, 因此能够实现 OAM功能。  The sink may also send a BDI packet to the source through the shared reverse LSP. The format of the BDI packet is the same as the format of the OAM packet, and the inner label of the forward LSP needs to be carried. The inner label carried in the BDI packet can know which forward LSP is faulty, and thus take corresponding switching measures, so that the OAM function can be implemented.

由第一实施例可以看出, 当源端发送 OAM报文时, 釆用标签栈技术, 将 转发功能与索引功能分开,外层标签起转发作用, 负责 OAM报文在源端和宿 端之间的传送; 内层标签作索引, 仅负责唯一标识一条正向 LSP。 因此, 当 0AM报文到达多条 LSP路径聚合的节点时, 所述节点转换的只是外层标签, 用来标识正向 LSP的内层标签依然保持不变, 所以宿端可以根据所述内层标 签索引到出现缺陷的 LSP。  As shown in the first embodiment, when the source end sends an OAM packet, the label stacking technology separates the forwarding function from the indexing function, and the outer label serves as a forwarding function, and is responsible for the OAM packet at the source end and the sink end. Inter-transport; the inner label is indexed and is only responsible for uniquely identifying a forward LSP. Therefore, when the 0AM packet arrives at the node where the LSP is aggregated, the node converts only the outer label, and the inner label of the forward LSP remains unchanged. Therefore, the sink can be based on the inner layer. The tag is indexed to the LSP where the defect occurred.

本发明提供的第二实施例是第二种使用标签索引标签交换路径的方法, 该方法能够支持 PHP情况下的 OAM。 该实施例的具体实施过程如图 4所示, 包括: The second embodiment provided by the present invention is a second method for using a label index label switching path. This method can support OAM in the case of PHP. The specific implementation process of this embodiment is shown in FIG. 4, and includes:

步骤 S201 , 源端通过正向 LSP, 发送 OAM报文。 OAM报文携带 OAM 标签, 以及用于标识正向 LSP的内层标签。  Step S201: The source end sends an OAM packet through the forward LSP. The OAM packet carries the OAM label and the inner label used to identify the forward LSP.

所述 OAM报文的格式与第一实施例中的雷同, 包括外层标签和 OAM标 签, 以及设置在外层标签和 OAM标签之间的内层标签。 所述外层标签可以是 用于转发的 MPLS标签。 所述内层标签仅用来唯一标识一条正向 LSP。 所述 OAM标签可以是标签为 14的 OAM ^艮文。  The format of the OAM packet is the same as that in the first embodiment, and includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label. The outer label may be an MPLS label for forwarding. The inner label is only used to uniquely identify a forward LSP. The OAM tag may be an OAM^ tag with a tag of 14.

步骤 S202, 当所述 OAM报文到达 LSP路径的倒数第二跳节点时, 所述 节点根据所述 OAM报文的外层标签确定接收所述 OAM报文,将携带有内层 标签、 OAM标签和 OAM净荷的 OAM报文发送给宿端。  Step S202: When the OAM packet reaches the penultimate hop node of the LSP path, the node determines to receive the OAM packet according to the outer label of the OAM packet, and carries the inner label and the OAM label. The OAM packet with the OAM payload is sent to the sink.

所述 OAM报文的格式如图 5所示, 包括内层标签和 OAM标签。  The format of the OAM packet is as shown in FIG. 5, and includes an inner label and an OAM label.

步骤 S203 , 当所述 OAM 文到达所述宿端后, 所述宿端根据所述 OAM 报文中的内层标签所标识的 LSP, 索引出出现缺陷的 LSP。  Step S203: After the OAM file arrives at the sink end, the sink end indexes the defective LSP according to the LSP identified by the inner layer label in the OAM packet.

之后, 宿端可以通过独占反向 LSP发送 BDI报文通告给源端; 源端根据 所述 BDI报文中携带的外层标签可以索引出出现缺陷的正向 LSP, 并釆取相 应的倒换措施, 实现 OAM功能。 宿端也可以通过共享反向 LSP发送 BDI报 文通告给源端, 但所述 BDI报文中的格式与上述 OAM报文的格式雷同, 需 要携带用来标识正向 LSP的内层标签; 源端根据所述 BDI报文中携带的内层 标签, 可以知道哪条正向 LSP出现了故障, 从而釆取相应的倒换措施, 因此 能够实现 OAM功能。  Then, the sink can send a BDI packet to the source through the exclusive reverse LSP. The source can index the forward LSP that is defective according to the outer label carried in the BDI packet, and take corresponding switching measures. , to achieve OAM function. The sink can also send a BDI packet to the source through the shared reverse LSP. However, the format of the BDI packet is the same as the format of the OAM packet, and the inner label of the forward LSP needs to be carried. According to the inner label carried in the BDI packet, the terminal can know which forward LSP is faulty, and accordingly take corresponding switching measures, so that the OAM function can be implemented.

由第二实施例可以看出, 当源端发送 OAM报文时, 釆用标签栈技术, 将 转发功能与索引功能分开,外层标签起转发作用,仅负责 OAM报文在源端和 宿端之间的传送; 内层标签作索引, 负责标识唯一的正向 LSP。 因此, 在 PHP 情况下, 外层标签在 LSP路径的倒数第二跳弹出后, 还有标识正向 LSP的内 层标签存在, 因此不会影响宿端索引出现缺陷的 LSP。 本发明提供的第三实施例是一种使用标签索引标签交换路径方法, 该方 法能够支持共享反向通道情况下的 OAM。 该实施例的具体实施过程如图 6所 示, 包括: It can be seen from the second embodiment that when the source end sends an OAM packet, the label stacking technology separates the forwarding function from the indexing function, and the outer label acts as a forwarding function, and is only responsible for the OAM packet at the source end and the sink end. The transfer between the inner tags is responsible for identifying the unique forward LSP. Therefore, in the case of PHP, after the outer-label is popped up in the penultimate hop of the LSP path, there is also an inner-layer label that identifies the forward LSP, so it does not affect the LSP where the sink index is defective. The third embodiment provided by the present invention is a method for using a label index label switching path, which is capable of supporting OAM in the case of sharing a reverse channel. The specific implementation process of this embodiment is shown in FIG. 6, and includes:

步骤 S301 , 源端发送 OAM报文。 所述 OAM报文的格式可以釆用现有 技术中的格式, 也可以釆用所述第一实施例和第二实施例中的格式。  Step S301: The source end sends an OAM packet. The format of the OAM message may be in the format of the prior art, or the formats in the first embodiment and the second embodiment may be used.

步骤 S302, 当所述 OAM报文到达宿端时, 宿端根据所述 OAM报文, 索引出出现缺陷的 LSP。  Step S302: When the OAM packet arrives at the sink end, the sink end indexes the defective LSP according to the OAM packet.

步骤 S302中, 宿端可以根据现有技术的方法索引出现缺陷的 LSP, 也可 以根据所述第一实施例和第二实施例中的方法索引出现缺陷的 LSP。  In step S302, the sink end may index the defective LSP according to the method in the prior art, or may index the defective LSP according to the methods in the first embodiment and the second embodiment.

步骤 S303 , 当宿端索引出出现缺陷的 LSP后, 通过共享反向通道发送 BDI 文通告给所述源端, 所述 BDI 文携带 OAM标签, 以及用于标识正 向 LSP的内层标签。  Step S303: After the sink index is indexed, the BDI file is sent to the source end by using the shared reverse channel, and the BDI file carries an OAM label and an inner label for identifying the forward LSP.

所述 BDI报文的格式与第一实施例中的 OAM报文的格式雷同, 同样包 括外层标签和 OAM标签,以及设置在外层标签和 OAM标签之间的内层标签。 所述外层标签可以是用于转发的 MPLS 标签。 所述内层标签用来标识正向 LSP。 所述 OAM标签可以是标签为 14的 OAM报文。  The format of the BDI packet is the same as that of the OAM packet in the first embodiment, and includes an outer label and an OAM label, and an inner label disposed between the outer label and the OAM label. The outer label may be an MPLS label for forwarding. The inner label is used to identify the forward LSP. The OAM label may be an OAM packet with a label of 14.

步骤 S304, 当所述 BDI报文到达源端时, 所述源端根据所述 BDI报文携 带的内层标签所标识的 LSP, 索引出出现缺陷的 LSP。  Step S304: When the BDI packet arrives at the source end, the source end indexes the defective LSP according to the LSP identified by the inner layer label carried by the BDI packet.

由第三实施例可以看出, 当宿端确定出出现缺陷的 LSP, 通过共享反向 通道发送 BDI报文时, 釆用标签栈技术, 将转发功能与索引功能分开, 外层 标签起转发作用, 负责 BDI报文在宿端和源端之间的传送; 内层标签作索引, 负责标识出现缺陷的正向 LSP。 因此, 当 BDI报文到达源端时, 源端可以根 据所述内层标签索引到出现缺陷的 LSP, 从而釆取相应的倒换措施, 因此能 够实现 OAM功能。  It can be seen from the third embodiment that when the sink end determines the LSP that is defective, and sends a BDI packet through the shared reverse channel, the label stack technology is used to separate the forwarding function from the index function, and the outer label serves as a forwarding function. Responsible for the transmission of BDI packets between the sink and the source; the inner label is indexed and is responsible for identifying the forward LSP where the defect occurs. Therefore, when the BDI packet arrives at the source end, the source end can index the LSP that is defective according to the inner label, so as to obtain corresponding switching measures, so that the OAM function can be implemented.

本发明提供的第四实施例是一种使用标签索引多标签交换路径的系统, 其包括: 发送端、 接收端。 所述系统还可以包括汇聚节点或倒数第二跳节点 或者同时包括汇聚节点及倒数第二跳节点。 A fourth embodiment of the present invention provides a system for using a label to index a multi-label switching path, including: a transmitting end and a receiving end. The system may further include a sink node or a penultimate hop node Or both the aggregation node and the penultimate hop node.

发送端可以是通过正向 LSP发送 OAM ^艮文的源端, 对应的所述接收端 可以是接收所述 0 AM报文的宿端。  The transmitting end may be a source end that sends an OAM ^ 艮 message through a forward LSP, and the corresponding receiving end may be a sink end that receives the 0 AM message.

发送端,发送 OAM报文,所述 OAM报文携带操作维护管理 OAM标签, 以及仅用于标识正向标签交换路径 LSP的内层标签;  The sending end sends an OAM packet, where the OAM packet carries an OAM label, and an inner label that is only used to identify the forward label switching path LSP.

汇聚节点, 用于当多个 OAM报文到达后, 将所述 OAM报文中携带的外 层标签映射到某个出标签,将所述出标签作为 OAM报文的外层标签, 并保持 内层标签不变, 将所述 OAM报文发送出去。  The aggregation node is configured to map the outer label carried in the OAM packet to an outgoing label, and use the outgoing label as an outer label of the OAM packet, and keep the internal label. The layer label is unchanged, and the OAM packet is sent out.

倒数第二跳节点, 用于当 OAM报文到达后, 根据所述 OAM报文的外层 标签确定接收所述 OAM报文后,将携带所述内层标签的 OAM报文发送出去。  The penultimate hop node is configured to: after the OAM packet arrives, determine, according to the outer label of the OAM packet, that the OAM packet carrying the inner label is sent after receiving the OAM packet.

接收端, 根据到达的 OAM报文中的所述内层标签索引出现缺陷的正向 The receiving end, according to the inner label index in the arrived OAM packet, has a defect positive

LSP。 LSP.

上述发送端还可以是通过共享反向 LSP发送 BDI报文的宿端, 对应的所 述接收端为接收所述 BDI报文的源端。  The transmitting end may be a sink that sends a BDI packet by using a shared reverse LSP, and the corresponding receiving end is a source that receives the BDI packet.

发送端, 发送 BDI报文, 所述报文携带操作维护管理 OAM标签, 以及 仅用于标识正向标签交换路径 LSP的内层标签;  The sending end sends a BDI packet, where the packet carries an operation and maintenance management OAM label, and an inner label that is only used to identify the forward label switching path LSP;

接收端, 根据到达的 BDI 报文中的所述内层标签索引出现缺陷的正向 The receiving end, according to the inner label index in the BDI packet that arrives, the defect is positive.

LSP。 LSP.

本发明第五实施例提供一种源端, 其包括: 获取单元和索引单元。  A fifth embodiment of the present invention provides a source end, including: an obtaining unit and an index unit.

获取单元, 接收通过共享反向 LSP发送来的反向缺陷通告 BDI报文, 所 述 BDI报文中携带 OAM标签, 以及用于标识正向 LSP的内层标签;  An acquiring unit, which receives a reverse defect notification BDI packet sent by the shared reverse LSP, where the BDI packet carries an OAM label, and an inner label used to identify the forward LSP;

索引单元, 根据所述内层标签, 确定出现缺陷的正向 LSP。  And an index unit, according to the inner label, determining a forward LSP where the defect occurs.

本发明第六实施例还提供另一种源端, 其包括: 构造单元和传输单元。 构造单元, 构造 OAM报文, 使所述报文携带 OAM标签, 以及用于标识 正向 LSP的内层标签; 具体实施过程与方法实施例中的相关描述雷同, 这里 不再详细描述。 传输单元, 通过 LSP, 将所述报文构造单元所构造的报文发送出去。 本发明第七实施例提供一种宿端, 其包括: 报文获取单元和路径索引单 元。 A sixth embodiment of the present invention further provides another source, comprising: a construction unit and a transmission unit. The construction unit, the OAM packet is configured to carry the OAM label, and the inner layer label is used to identify the forward LSP. The specific implementation process is the same as that in the method embodiment, and is not described in detail here. The transmission unit sends the packet constructed by the message construction unit through the LSP. A seventh embodiment of the present invention provides a sink, which includes: a message acquiring unit and a path indexing unit.

报文获取单元,接收操作维护管理 OAM报文,所述报文携带 OAM标签, 以及用于标识正向标签交换路径 LSP的内层标签;  The packet obtaining unit receives the OAM packet, and the packet carries an OAM label and an inner label for identifying the forward label switching path LSP.

路径索引单元, 根据所述内层标签索引出现缺陷的正向 LSP。  a path indexing unit, where a defective forward LSP occurs according to the inner label index.

本发明第七实施例还提供另一种宿端, 其包括: 报文构造单元和报文传 输单元。  The seventh embodiment of the present invention further provides another sink, which includes: a message construction unit and a message transmission unit.

报文构造单元, 构造反向缺陷通告 BDI报文, 使所述报文携带 OAM标 签, 以及用于标识出现缺陷的正向 LSP的内层标签; 具体实施过程与方法实 施例中的相关描述雷同, 这里不再详细描述。  The message construction unit constructs a reverse defect notification BDI packet, so that the packet carries an OAM label and an inner layer label for identifying a forward LSP with a defect; the specific implementation process is similar to the related description in the method embodiment. , will not be described in detail here.

报文传输单元, 通过共享反向 LSP, 将所述报文构造单元所构造的报文 发送出去。  The message transmission unit sends the packet constructed by the message construction unit by sharing the reverse LSP.

由上述实施例的具体实施方案可以看出, 本发明实施例通过设置在外层 标签和 OAM标签之间的内层标签索引出现缺陷的 LSP,因此能够根据接收到 报文中的标签索引出出现缺陷的 LSP,从而能够支持共享反向通道、 mp2p LSP 和 PHP情况下的 OAM功能, 增加了 label索引的应用范围。  It can be seen from the specific implementation of the foregoing embodiment that the LSP of the inner layer label index between the outer label and the OAM label is defective, so that the defect can be indexed according to the label in the received message. LSP, which can support the OAM function in the case of shared reverse channel, mp2p LSP and PHP, and increases the application range of the label index.

另外, 本发明实施例通过设置在外层标签和 OAM标签之间的内层标签, 可以确定接收到的报文是从通过哪条正向 LSP传输过来的, 这样能够正确测 量在规定时间内收到从某一路径上传输的报文数量,从而减少了 dExcess缺陷 的产生, 进而减少了误 缺陷的 LSP的情况的发生。  In addition, in the embodiment of the present invention, by setting an inner layer label between the outer label and the OAM label, it can be determined by which forward LSP the received message is transmitted, so that the correct measurement can be received within the specified time. The number of packets transmitted from a certain path, thereby reducing the occurrence of defects of dExcess, thereby reducing the occurrence of LSPs with false defects.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步 骤, 是可以通过程序指令相关硬件完成的。 实施例对应的软件可以存储在一 个计算机可存储读取的介质中, 如 R0M/RAM、 磁碟、 光盘等。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 Those of ordinary skill in the art will appreciate that all or part of the steps in implementing the above-described embodiments may be performed by program-related hardware. The software corresponding to the embodiment can be stored in a computer readable storage medium such as ROM/RAM, disk, optical disk, and the like. The spirit and scope of the invention. Thus, if such modifications and variations of the present invention are claimed in the present invention The invention is also intended to cover such modifications and variations within the scope of the invention.

Claims

权 利 要求 书 Claim 1、 一种使用标签索引标签交换路径的方法, 其特征在于, 包括: 接收报文, 所述报文携带操作维护管理标签、 以及用于标识正向标签交换 路径的内层标签; A method for using a label index label switching path, the method comprising: receiving a message, the message carrying an operation and maintenance management label, and an inner label for identifying a forward label switching path; 根据所述内层标签索引出现缺陷的正向标签交换路径。  A forward label switching path in which a defect occurs according to the inner label index. 2、 如权利要求 1所述的使用标签索引标签交换路径的方法, 其特征在于, 所述 文还携带用于转发的外层标签。  2. The method of using a label index label switching path according to claim 1, wherein the text further carries an outer label for forwarding. 3、 如权利要求 2所述的使用标签索引标签交换路径的方法, 其特征在于, 所述报文包括: 通过正向标签交换路径发送的操作维护管理报文。  The method of using the label index label switching path according to claim 2, wherein the message comprises: an operation and maintenance management message sent by using a forward label switching path. 4、 如权利要求 3所述的使用标签索引标签交换路径的方法, 其特征在于, 还包括:  4. The method of using a label index label switching path according to claim 3, further comprising: 多条正向标签交换路径汇聚的节点接收到多个操作维护管理报文后, 所述 节点将所述外层标签映射到一个出标签, 将所述出标签作为操作维护管理报文 的外层标签, 并保持内层标签不变, 然后发送所述操作维护管理报文。  After receiving the multiple operation and maintenance management packets, the node that maps the forward label switching path maps the outer label to an outgoing label, and uses the outgoing label as the outer layer of the operation and maintenance management packet. Label, and keep the inner label unchanged, and then send the operation and maintenance management message. 5、 如权利要求 3所述的使用标签索引标签交换路径的方法, 其特征在于, 还包括:  The method of using a label index label switching path according to claim 3, further comprising: 当操作维护管理报文到达正向标签交换路径的倒数第二跳节点时, 所述倒 数第二跳节点根据所述外层标签确定接收所述操作维护管理报文, 将携带所述 内层标签的操作维护管理报文发送出去。  When the operation and maintenance management packet reaches the penultimate hop node of the forward label switching path, the penultimate hop node determines to receive the operation and maintenance management packet according to the outer label, and carries the inner label. The operation and maintenance management message is sent out. 6、 如权利要求 1或 2所述的使用标签索引标签交换路径的方法, 其特征在 于, 所述报文包括: 通过共享反向标签交换路径发送的反向缺陷通告报文。  The method of using a label index label switching path according to claim 1 or 2, wherein the message comprises: a reverse defect notification message sent by sharing the reverse label switching path. 7、 一种使用标签索引多标签交换路径的系统, 其特征在于, 包括: 发送端, 用于发送报文, 所述报文携带操作维护管理标签, 以及仅用于标 识正向标签交换路径的内层标签;  A system for using a tag index multi-label switching path, comprising: a sending end, configured to send a message, the message carrying an operation and maintenance management label, and only identifying a forward label switching path. Inner label 接收端, 用于当所述报文到达后, 根据所述内层标签索引出现缺陷的正向 标签交换路径。 a receiving end, configured to: when the message arrives, according to the inner label index, a defect is positive Label exchange path. 8、如权利要求 7所述的使用标签索引多标签交换路径的系统,其特征在于, 所述发送端包括: 通过正向标签交换路径发送操作维护管理报文的源端, 对应的所述接收端包括: 接收所述操作维护管理报文的宿端。  The system of claim 7, wherein the transmitting end comprises: sending, by the forward label switching path, a source end of the operation and maintenance management message, and the corresponding receiving end The terminal includes: a sink that receives the operation and maintenance management message. 9、如权利要求 7所述的使用标签索引多标签交换路径的系统,其特征在于, 还包括:  9. The system of claim 7, wherein the method further comprises: 汇聚节点, 用于当多个操作维护管理报文到达后, 将所述操作维护管理报 文中携带的外层标签映射到一个出标签, 将所述出标签作为操作维护管理报文 的外层标签, 并保持内层标签不变, 将所述操作维护管理报文发送出去。  The aggregation node is configured to map the outer label carried in the operation and maintenance management packet to an outgoing label, and use the outgoing label as an outer layer of the operation and maintenance management packet. The label, and keep the inner label unchanged, and send the operation and maintenance management message. 10、 如权利要求 7 所述的使用标签索引多标签交换路径的系统, 其特征在 于, 还包括:  10. The system of claim 7, wherein the tag indexing multi-label switching path is further characterized by: 倒数第二跳节点, 用于当操作维护管理报文到达后, 根据所述外层标签确 定接收所述操作维护管理报文, 将携带所述内层标签的操作维护管理报文发送 出去。  The penultimate hop node is configured to: after the operation and maintenance management packet arrives, determine to receive the operation and maintenance management packet according to the outer label, and send the operation and maintenance management packet carrying the inner label. 11、 如权利要求 7 所述的使用标签索引多标签交换路径的系统, 其特征在 于,  11. The system for tagging a multi-label switched path according to claim 7, wherein: 所述发送端包括: 通过共享反向标签交换路径发送反向缺陷通告报文的宿 端, 对应的所述接收端包括: 接收所述反向缺陷通告报文的源端。  The transmitting end includes: a sink that sends a reverse defect notification message by using a shared reverse label switching path, where the corresponding receiving end includes: receiving the source end of the reverse defect notification message. 12、 一种源端, 其特征在于, 包括:  12. A source end, characterized by comprising: 获取单元, 用于接收通过共享反向标签交换路径发送的反向缺陷通告报文, 所述反向缺陷通告报文中携带操作维护管理标签、 以及用于标识正向标签交换 路径的内层标签;  An obtaining unit, configured to receive a reverse defect notification message sent by using a shared reverse label switching path, where the reverse defect notification message carries an operation and maintenance management label, and an inner label used to identify the forward label switching path ; 索引单元, 用于根据所述内层标签, 确定出现缺陷的正向标签交换路径。 An index unit, configured to determine, according to the inner label, a forward label switching path in which a defect occurs. 13、 一种源端, 其特征在于, 包括: 13. A source end, characterized in that: 构造单元, 用于构造操作维护管理报文, 使所述报文携带操作维护管理标 签、 以及用于标识正向标签交换路径的内层标签; 传输单元, 用于通过标签交换路径, 将所述报文构造单元所构造的报文发 送出去。 a constructing unit, configured to construct an operation and maintenance management message, to carry the operation and maintenance management label, and an inner label for identifying a forward label switching path; a transmitting unit, configured to send, by using a label switching path, a packet constructed by the message construction unit. 14、 一种宿端, 其特征在于, 包括:  14. A sink terminal, characterized by comprising: 报文获取单元, 用于接收操作维护管理报文, 所述报文携带操作维护管理 标签、 以及用于标识正向标签交换路径的内层标签;  a message obtaining unit, configured to receive an operation and maintenance management message, where the message carries an operation and maintenance management label, and an inner layer label for identifying a forward label switching path; 路径索引单元, 用于根据所述内层标签索引出现缺陷的正向标签交换路径。 a path indexing unit, configured to forward a defect based on the inner label index. 15、 一种宿端, 其特征在于, 包括: 15. A sink terminal, characterized by comprising: 报文构造单元, 用于构造反向缺陷通告报文, 使所述报文携带操作维护管 理标签、 以及用于标识出现缺陷的正向标签交换路径的内层标签;  a message construction unit, configured to construct a reverse defect notification message, such that the message carries an operation and maintenance management label, and an inner label for identifying a forward label switching path where the defect occurs; 报文传输单元, 用于通过共享反向标签交换路径, 将所述报文构造单元所 构造的报文发送出去。  The message transmission unit is configured to send the packet constructed by the message construction unit by sharing the reverse label switching path.
PCT/CN2008/071595 2007-07-13 2008-07-09 A method, system, source end and destination end for indexing the label switching path by means of a label WO2009009992A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710136317.8A CN101075973A (en) 2007-07-13 2007-07-13 Method, system, source end and host end for exchanging path by label indesx
CN200710136317.8 2007-07-13

Publications (1)

Publication Number Publication Date
WO2009009992A1 true WO2009009992A1 (en) 2009-01-22

Family

ID=38976799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071595 WO2009009992A1 (en) 2007-07-13 2008-07-09 A method, system, source end and destination end for indexing the label switching path by means of a label

Country Status (2)

Country Link
CN (1) CN101075973A (en)
WO (1) WO2009009992A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487477A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Method for realizing customized applications for mobile network enhanced logic (CAMEL) 3 or 4 service and system thereof
CN111934943A (en) * 2014-12-30 2020-11-13 华为技术有限公司 Bit forwarding entry router, bit forwarding router and operation management maintenance detection method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075973A (en) * 2007-07-13 2007-11-21 华为技术有限公司 Method, system, source end and host end for exchanging path by label indesx
CN102752128B (en) * 2012-04-19 2015-07-08 杭州华三通信技术有限公司 Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel fault detection method and device thereof
US10218611B2 (en) 2014-06-30 2019-02-26 Juniper Networks, Inc. Label distribution protocol (LDP) signaled multi-protocol label switching rings
US9692693B2 (en) * 2014-06-30 2017-06-27 Juniper Networks, Inc. Bandwidth control for ring-based multi-protocol label switched paths
CN108494474A (en) * 2018-03-23 2018-09-04 烽火通信科技股份有限公司 Realize that business is superimposed the method and system of pretection switch using OAM message
US11233748B1 (en) 2018-08-30 2022-01-25 Juniper Networks, Inc. Bandwidth management for resource reservation label switched path of a ring network
CN112737954B (en) * 2019-10-14 2022-09-23 华为技术有限公司 Message processing method, device, system, equipment and storage medium
WO2021073357A1 (en) 2019-10-14 2021-04-22 华为技术有限公司 Packet processing method, device, system and apparatus as well as storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005167482A (en) * 2003-12-01 2005-06-23 Nippon Telegr & Teleph Corp <Ntt> Multicast mpls communication method
US20050226236A1 (en) * 2002-04-29 2005-10-13 Joachim Klink Method for monitoring the availability of connections in mpls networks
US20070133540A1 (en) * 2005-12-08 2007-06-14 Kyung Gyu Chun Method for measuring performance of MPLS LSP
WO2007077923A1 (en) * 2006-01-04 2007-07-12 Hitachi Communication Technologies, Ltd. Network system and data transfer device
CN101075973A (en) * 2007-07-13 2007-11-21 华为技术有限公司 Method, system, source end and host end for exchanging path by label indesx

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050226236A1 (en) * 2002-04-29 2005-10-13 Joachim Klink Method for monitoring the availability of connections in mpls networks
JP2005167482A (en) * 2003-12-01 2005-06-23 Nippon Telegr & Teleph Corp <Ntt> Multicast mpls communication method
US20070133540A1 (en) * 2005-12-08 2007-06-14 Kyung Gyu Chun Method for measuring performance of MPLS LSP
WO2007077923A1 (en) * 2006-01-04 2007-07-12 Hitachi Communication Technologies, Ltd. Network system and data transfer device
CN101075973A (en) * 2007-07-13 2007-11-21 华为技术有限公司 Method, system, source end and host end for exchanging path by label indesx

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487477A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Method for realizing customized applications for mobile network enhanced logic (CAMEL) 3 or 4 service and system thereof
CN102487477B (en) * 2010-12-01 2014-10-22 中兴通讯股份有限公司 Method for realizing customized applications for mobile network enhanced logic (CAMEL) 3 or 4 service and system thereof
CN111934943A (en) * 2014-12-30 2020-11-13 华为技术有限公司 Bit forwarding entry router, bit forwarding router and operation management maintenance detection method
CN111934943B (en) * 2014-12-30 2024-05-03 华为技术有限公司 Bit forwarding entry router, bit forwarding router, and operation management maintenance detection method

Also Published As

Publication number Publication date
CN101075973A (en) 2007-11-21

Similar Documents

Publication Publication Date Title
WO2009009992A1 (en) A method, system, source end and destination end for indexing the label switching path by means of a label
EP4089981B1 (en) Bit-forwarding ingress router and operation, administration and maintenance detection method
CN102195865B (en) Communicating network path and status information in multi-homed networks
CN102857413B (en) Provides extended administrative groups in computer networks
US7668116B2 (en) Root node shutdown messaging for multipoint-to-multipoint transport tree
US8406143B2 (en) Method and system for transmitting connectivity fault management messages in ethernet, and a node device
JP5265785B2 (en) Scaled Ethernet OAM for mesh and hub-and-spoke networks
CN101523803B (en) Elastic scheme in communication network
JP5426770B2 (en) Method and apparatus in a telecommunications network
US9059905B2 (en) Methods and arrangements in an MPLS-TP network
US20080273467A1 (en) Methods for determining pw connection state and for notifying ac connection state and the associated equipments
US10382323B1 (en) Flooding-based routing protocol having label switched path session information
US20140293798A1 (en) Mpls-tp network and link trace method thereof
CN102771087B (en) Fast LSP alert mechanism
CN103051477A (en) Network topology automatic acquisition method and system, and network management system
WO2015184868A1 (en) Device and method for detecting signal failure in service layer
CN101989947A (en) Associated channel capability negotiation method and network device
US20050094636A1 (en) Multi protocol label switching apparatus and method for forwarding IP/label-switched hybrid data
WO2008106892A1 (en) A multicast network system, node and a method for detecting a fault of a multicast network link
US8614958B2 (en) Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
US20130259057A1 (en) Pseudowire groups in a packet switched network
US20130258871A1 (en) Psuedowire extended group messaging in a packet switched network
US8396955B2 (en) Systems and methods for discovery of network topology using service OAM
US20230291681A1 (en) Data obtaining method and apparatus, device, and storage medium
CN103685024B (en) Node protecting method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08773149

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08773149

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载