WO2018210213A1 - Method and device for implementing ioam packaging and storage medium - Google Patents

Method and device for implementing ioam packaging and storage medium Download PDF

Info

Publication number
WO2018210213A1
WO2018210213A1 PCT/CN2018/086788 CN2018086788W WO2018210213A1 WO 2018210213 A1 WO2018210213 A1 WO 2018210213A1 CN 2018086788 W CN2018086788 W CN 2018086788W WO 2018210213 A1 WO2018210213 A1 WO 2018210213A1
Authority
WO
WIPO (PCT)
Prior art keywords
ioam
node
band oam
packet
service data
Prior art date
Application number
PCT/CN2018/086788
Other languages
French (fr)
Chinese (zh)
Inventor
肖敏
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018210213A1 publication Critical patent/WO2018210213A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • H04L41/344Out-of-band transfers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/20Hop count for routing purposes, e.g. TTL

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a method and apparatus for implementing in-band operation management and maintenance (IOAM, In-situ Operations, Administration and Maintenance, or In-band Operations, Administration and Maintenance), and a storage medium.
  • IOAM in-band operation management and maintenance
  • In-situ Operations, Administration and Maintenance or In-band Operations, Administration and Maintenance
  • IOAM is a new data communication network operation management and maintenance (OAM) technology proposed by the industry. This technology is currently in the rapid development stage under the joint promotion of the industry, and is in the Internet Engineering Task Force (IETF). Carry out standardization work.
  • IETF Internet Engineering Task Force
  • IOAM is characterized in that IOAM data content is encapsulated into service data packets as service data packets. A part of the data is transmitted in the network, and the out-of-band OAM data content is encapsulated into a specially constructed OAM data message and transmitted as a separate protocol message in the network.
  • IOAM can implement functions that cannot be implemented by out-of-band OAM, such as detecting network nodes through which service data packets actually pass, verifying that the transmission path of service data is consistent with expectations, and adding traffic data packets. Serial number information to detect packet loss and out-of-order, etc. Accordingly, in order to implement the above functions, the network administrator needs to perform IOAM transmission nodes including an IOAM Transit Node and an IOAM Egress Node.
  • the IOAM transit node is a node that needs to process the IOAM data content on the service data packet transmission path. Given that IOAM includes a variety of optional features, as well as the type of traffic carried by the network and the variability of the transmission path, these configurations are often complex and easily changeable.
  • IOAM encapsulation is to insert an IOAM header (IOAM header) into the service data message.
  • Figure 1 is an IOAM header format diagram. As shown in Figure 1, the IOAM header is used to indicate the location of the IOAM data content (as in Figure 1). The IOAM header indication) and the length (such as the IOAM header length in Figure 1) also carry a set of IOAM function option types/lengths/values (TLVs, Type/Length/Value) as IOAM data content, where Each IOAM function option TLV corresponds to an IOAM function and carries the data required to complete the IOAM function.
  • TLVs IOAM function option type/lengths/values
  • the IOAM encapsulation in the network that is, the node inserted into the IOAM header is called an IOAM Ingress Node or an IOAM encapsulation node.
  • the IOAM ingress node can be either a network node such as a switch or a router, or a personal computer or server. And other network terminals. Since the IOAM ingress node needs to complete the insertion of the IOAM header, it is necessary to determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, which is determined by the network administrator according to the configuration on each IOAM transmission node. It is determined and sent to the IOAM ingress node.
  • the configuration on the IOAM transit node is usually complicated and easy to change. Therefore, the method of implementing IOAM encapsulation by manually sending information at the IOAM ingress node increases network management. The burden of the staff is easy to make mistakes.
  • an embodiment of the present disclosure provides a method and apparatus for implementing IOAM encapsulation.
  • the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
  • the IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • the sending unit is configured to send the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
  • a receiving unit configured to receive a second out-of-band OAM message that carries the IOAM configuration information sent by the IOAM transmission node;
  • the encapsulating unit is configured to perform IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • an embodiment of the present invention further provides a storage medium storing a computer program configured to perform the above method for implementing IOAM encapsulation.
  • the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path.
  • the IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information.
  • the IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • the method for implementing IOAM encapsulation by manually sending information at the IOAM ingress node in the related art is solved, which increases the burden on the network administrator and is prone to error, and also enables the IOAM ingress node to support Automatically obtain the information required for IOAM encapsulation triggered by traffic.
  • FIG. 1 is a format diagram of an IOAM header according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart diagram of a method for implementing IOAM encapsulation according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of implementing IOAM encapsulation in an IP network according to application example 1 of the present disclosure
  • FIG. 4 is a format diagram of an ICMP message according to the first application example of the present disclosure.
  • FIG. 5 is a format diagram of an IOAM configuration information TLV of Application Example 1 of the present disclosure
  • FIG. 6 is a schematic diagram of implementing IOAM encapsulation in an MPLS network according to application example 2 of the present disclosure
  • FIG. 7 is a format diagram of an LSP ping packet of the second application example of the present disclosure.
  • FIG. 8 is a schematic diagram of implementing IOAM encapsulation by using LoopBack in an Ethernet network according to application example 3 of the present disclosure
  • FIG. 9 is a schematic diagram of implementing IOAM encapsulation by using LinkTrace in an Ethernet network according to application example 3 of the present disclosure.
  • FIG. 10 is a format diagram of a LoopBack packet in the third application example of the present disclosure.
  • FIG. 11 is a format diagram of a LinkTrace message according to the third application example of the present disclosure.
  • FIG. 12 is a schematic structural diagram of an apparatus for implementing an IOAM package according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart of a method for implementing IOAM encapsulation according to an embodiment of the present disclosure. As shown in FIG. 2, the method for implementing IOAM encapsulation includes the following steps:
  • Step 201 The IOAM ingress node sends a first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path.
  • the first out-of-band OAM packet is only used to distinguish the subsequent second out-of-band OAM packet, and has no special meaning.
  • the outband OAM packet follows the same transmission path as the service data packet, and is usually used to detect whether the transmission path between the sending node and the receiving node is normal.
  • Networks with different forwarding technologies use different out-of-band OAM messages, for example, Internet Control Message Protocol (ICMP) packets defined by the IETF standard RFC 792 in the IP network as out-of-band OAM messages, in multi-protocol label switching ( In the MPLS network, the label switched path echo (LSP Ping) message defined by the IETF standard RFC 8029 is used as the outband OAM message, and the International Telecommunication Union (ITU) standard is used in the Ethernet (Ethernet) network.
  • LSP Ping label switched path echo
  • ITU International Telecommunication Union
  • a loopback packet or a link trace (LinkTrace) packet defined by the .1731 is used as an outband OAM packet.
  • the IOAM configuration request information can be used to ensure that the IOAM configuration request information reaches each IOAM transmission node on the service data packet transmission path, and the outband OAM has been deployed on the live network in large quantities. This method can be used. Very compatible with the live network.
  • the IOAM ingress node when the triggering operation of the network administrator is obtained, the IOAM ingress node sends the first out-of-band OAM message carrying the IOAM configuration request information; or, when obtaining the triggering instruction of the network management module or the control application, The IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information; or, when the service data packet is triggered, the IOAM ingress node sends the first out-of-band OAM that carries the IOAM configuration request information. Message.
  • the timing of sending the first out-of-band OAM message carrying the IOAM configuration request information by the IOAM ingress node is very flexible, can be sent by the network administrator, or can be sent under the trigger of the network management module/control application, or It can also be sent under the trigger of service data packets.
  • the node on the service data packet transmission path includes at least one of the following: an IOAM transmission node, and a non-IOAM transmission node, where the IOAM transmission node includes an IOAM intermediate node and an IOAM egress node.
  • Step 202 The IOAM ingress node receives the second out-of-band OAM packet that carries the IOAM configuration information sent by the IOAM transmission node.
  • the first out-of-band OAM packet that carries the IOAM configuration request information sent by the IOAM ingress node will arrive at each node on the service data packet transmission path. If the first out-of-band OAM packet is received, the node is an IOAM transit node. That is, the node needs to process the IOAM data content, and the second out-of-band OAM packet replied by the node to the IOAM ingress node carries the IOAM configuration information of the node, where the IOAM configuration information of the node includes the node support. Which IOAM capabilities and enablement of each IOAM capability and related parameter configurations.
  • the node that receives the first out-of-band OAM packet is not the IOAM transit node, that is, the node does not need to process the IOAM data content, the node does not carry the second out-of-band OAM packet replied to the IOAM ingress node.
  • the IOAM configuration information of the node is not the IOAM transit node, that is, the node does not need to process the IOAM data content, the node does not carry the second out-of-band OAM packet replied to the IOAM ingress node.
  • Step 203 The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • the IOAM ingress node determines, according to the IOAM configuration information of each IOAM transmission node, the IOAM function option TLVs included in the IOAM data content, and the length of each IOAM function option TLV; according to the IOAM function option TLVs And the length of each IOAM function option TLV, inserting an IOAM header in the service data packet, that is, implementing IOAM encapsulation of the service data packet.
  • FIG. 3 is a schematic diagram of implementing IOAM encapsulation in an IP network.
  • the IOAM ingress node and the IOAM transit node perform the following steps:
  • Step 11 The IOM ingress node sends an ICMP request message carrying the IOAM configuration request information.
  • an ICMP message includes an 8-bit type field and an 8-bit code field.
  • the IETF standard defines some values of the two fields, for example, a type. 8 code 0 indicates an ICMP ping request, type 0 code 0 indicates an ICMP ping response, type 10 code 0 indicates a router request, type 9 code 0 indicates a router advertisement, and so on.
  • the types and code values that have not been specified, for example, the type 19 code 0 indicates an IOAM configuration request, and the type 20 code 0 indicates an IOAM configuration response, the ICMP request message can be carried to carry the IOAM configuration request information.
  • Step 12 The IOAM transmission node responds to the request, and returns an ICMP response message carrying the IOAM configuration information of the local node to the IOAM ingress node.
  • the sending node can send the ICMP request message to each node on the transmission path in turn by changing the time-to-live (TTL) value of the IP header in the ICMP request message.
  • TTL time-to-live
  • the IOAM transmission node After receiving the ICMP request message carrying the IOAM configuration request information, the IOAM transmission node sends an ICMP Request message sending node, that is, an IOM ingress node, to the ICMP response message carrying the IOAM configuration information of the local node.
  • the IOAM configuration information is written in the option data field of the ICMP response message in the form of a TLV.
  • FIG. 5 is a format diagram of the IOAM configuration information TLV. As shown in FIG. 5, the Type field of the TLV indicates the IOAM configuration information.
  • the Length field indicates the length of the TLV
  • the Value field contains a set of sub-TLVs (Sub-TLVs).
  • Each Sub-TLV carries configuration information of an IOAM function, where the sub-type (Sub-Type)
  • the field indicates the code of an IOAM function supported by the node
  • the Length field indicates the length of the Sub-TLV
  • the Value field indicates the configuration information of the IOAM function represented by the Sub-Type field, including whether the IOAM function is enabled on the node.
  • the configuration parameter values related to the IOAM function when enabled for example, the configuration parameters related to the IOAM tracking (Tracing) function defined by the IETF proposal draft-brockners-inband-oam-data Including: inserting node information in Pre-allocated mode or Incremental mode, and the number of bytes required for node information.
  • the configuration parameters related to the IOAM tracking (Tracing) function defined by the IETF proposal draft-brockners-inband-oam-data Including: inserting node information in Pre-allocated mode or Incremental mode, and the number of bytes required for node information.
  • Step 13 After the IOAM ingress node obtains the IOAM configuration of each node on the IP service packet transmission path, the IOAM encapsulation is determined.
  • the IOAM ingress node After the IOAM ingress node obtains the IOAM configuration of each node on the IP service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the IP service packet. IOAM package.
  • FIG. 6 is a schematic diagram of implementing IOAM encapsulation in an MPLS network.
  • the IOAM ingress node and the IOAM transit node perform the following steps:
  • Step 21 The IOAM ingress node sends an LSP ping request message carrying the IOAM configuration request information.
  • FIG. 7 is a format diagram of an LSP ping packet.
  • an LSP ping request packet contains a set of TLVs.
  • the LSP ping request packet can be carried.
  • IOAM configuration request information IOAM configuration request information.
  • Step 22 The IOAM transmission node responds to the request, and returns an LSP Ping response message carrying the IOAM configuration information of the local node to the IOAM ingress node.
  • the sending node can send the LSP ping request message to each node on the transmission path in turn by changing the TTL value of the MPLS header in the LSP ping request message.
  • the IOAM transit node After receiving the LSP ping request message carrying the IOAM configuration request information, the IOAM transit node sends an LSP Ping response message to the LSP ping request packet sending node, that is, the IOAM ingress node, and carries the LSP Ping response packet carrying the IOAM configuration information of the local node.
  • the method may be that the IOAM configuration information is written into the TLVs field of the LSP Ping response message in the form of a TLV, and the TLV adopts the format shown in FIG.
  • Step 23 After the IOAM ingress node obtains the IOAM configuration of each node on the MPLS service packet transmission path, the IOAM encapsulation is determined.
  • the IOAM ingress node After the IOAM ingress node obtains the IOAM configuration of each node in the MPLS service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the MPLS service packet. IOAM package.
  • FIG. 8 is a schematic diagram of implementing IOAM encapsulation by using LoopBack in an Ethernet network
  • FIG. 9 is a schematic diagram of implementing IOAM encapsulation by using LinkTrace in an Ethernet network.
  • the IOAM ingress node and the IOAM transit node perform the following steps:
  • Step 31 The IOAM ingress node sends a LoopBack request message or a LinkTrace request message carrying the IOAM configuration request information.
  • FIG 10 is a format diagram of a LoopBack packet
  • Figure 11 is a format diagram of a LinkTrace packet.
  • a LoopBack request packet or a LinkTrace request packet contains a set of TLVs, which is represented by adding a Type field.
  • the IOAM configuration request new TLV can make the LoopBack request packet or the LinkTrace request packet carry the IOAM configuration request information.
  • Step 32 The IOAM transit node responds to the request and returns a LoopBack response packet or a LinkTrace response packet carrying the IOAM configuration information of the local node to the IOAM ingress node.
  • the sending node can send the LoopBack request packet to each node on the transmission path in turn by changing the destination medium access control (MAC) address of the Ethernet header in the LoopBack request message.
  • the IOAM transit node After receiving the loopback request message carrying the IOAM configuration request information, the IOAM transit node sends a loopback request message to the loopback request message sending node, that is, the IOAM ingress node, and the loopback response packet carrying the IOAM configuration information of the local node.
  • the IOAM configuration information is written in the TLVs field of the LoopBack response message in the form of a TLV, and the TLV adopts the format shown in FIG.
  • the sending node only needs to set the destination MAC address of the Ethernet header in the LinkTrace request message to a dedicated multicast address, so that the LinkTrace request message can reach each node in the transmission path in turn.
  • the IOAM transit node After receiving the LinkTrace request packet carrying the IOAM configuration request information, the IOAM transit node requests the packet sending node, that is, the IOAM ingress node, to reply to the LinkTrace response packet carrying the IOAM configuration information of the local node.
  • the IOAM configuration information is written into the TLVs field of the LinkTrace response message in the form of a TLV, and the TLV adopts the format shown in FIG.
  • Step 33 After the IOAM ingress node obtains the IOAM configuration of each node on the Ethernet service packet transmission path, the IOAM encapsulation is determined.
  • the IOAM ingress node After the IOAM ingress node obtains the IOAM configuration of each node on the Ethernet service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the service packet for the Ethernet service. IOAM package.
  • FIG. 12 is a schematic structural diagram of an apparatus for implementing an IOAM package according to an embodiment of the present disclosure. As shown in FIG. 12, the apparatus includes:
  • the sending unit 121 is configured to send a first out-of-band OAM message carrying the IOAM configuration request information, where the first out-of-band OAM message sequentially arrives at each node on the service data packet transmission path;
  • the receiving unit 122 is configured to receive a second out-of-band OAM message that carries the IOAM configuration information sent by the IOAM transmission node.
  • the encapsulating unit 123 is configured to perform IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • the sending unit 121 is configured to: when the triggering operation of the network administrator is obtained, send the first out-of-band OAM message carrying the IOAM configuration request information; or, when obtaining the network management module or the control application When the command is triggered, the first out-of-band OAM packet carrying the IOAM configuration request information is sent; or when the service data packet is triggered, the first out-of-band OAM packet carrying the IOAM configuration request information is sent.
  • the node on the service data packet transmission path includes at least one of the following: an IOAM transmission node, and a non-IOAM transmission node, where the IOAM transmission node includes an IOAM intermediate node and an IOAM egress node.
  • the receiving unit 122 receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information. Text.
  • the encapsulating unit 123 is configured to determine, according to the IOAM configuration information of each IOAM transmission node, an IOAM function option TLVs included in the IOAM data content, and a length of each IOAM function option TLV; according to the IOAM The function option TLVs and the length of each IOAM function option TLV are inserted into the IOAM header in the service data packet, that is, the IOAM encapsulation of the service data packet is implemented.
  • the first out-of-band OAM packet and the second out-of-band OAM packet are ICMP packets.
  • the first out-of-band OAM packet and the second out-of-band OAM packet are LSP ping packets
  • the first out-of-band OAM packet and the second out-of-band OAM packet are LoopBack packets or LinkTrace packets.
  • the implementation functions of the units in the apparatus for implementing IOAM encapsulation shown in FIG. 12 can be understood by referring to the foregoing description of the method for implementing IOAM encapsulation.
  • the functions of the units in the apparatus for implementing the IOAM package shown in FIG. 12 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
  • each unit in the apparatus for implementing the IOAM package may be implemented by a central processing unit (CPU) or a microprocessor (MPU, Micro) located in a device implementing the IOAM package.
  • CPU central processing unit
  • MPU microprocessor
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an embodiment of the present invention further provides a storage medium, wherein a computer program is configured, and the computer program is configured to perform the method for implementing IOAM encapsulation in the embodiment of the present invention.
  • the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
  • the IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information.
  • the IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  • the method for realizing IOAM encapsulation by manually sending information at the IOAM ingress node in the related art increases the burden on the network administrator and is prone to error, and also enables the IOAM ingress node to support automatic acquisition of the IOAM under the trigger of the service traffic. Encapsulate the required information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present disclosure is a method and device for implementing IOAM packaging and a storage medium. The method comprises: sending by an IOAM entry node a first out-of-band OAM message carrying IOAM configuration request information, the first out-of-band OAM message reaching in sequence various nodes on a business data message transmission path; receiving by the IOAM entry node a second out-of-band OAM message transmitted from IOAM transmission nodes and carrying IOAM configuration information; and performing by the IOAM entry node IOAM packaging on a business data message according to the IOAM configuration information of the various IOAM transmission nodes.

Description

一种实现IOAM封装的方法及装置、存储介质Method and device for implementing IOAM package, storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710352022.8、申请日为2017年05月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 18, 2017, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本公开涉及通信领域,尤其涉及一种实现带内操作管理维护(IOAM,In-situ Operations、Administration and Maintenance或者In-band Operations、Administration and Maintenance)封装的方法及装置、存储介质。The present disclosure relates to the field of communications, and in particular, to a method and apparatus for implementing in-band operation management and maintenance (IOAM, In-situ Operations, Administration and Maintenance, or In-band Operations, Administration and Maintenance), and a storage medium.
背景技术Background technique
IOAM是业界新提出的一种数据通信网络操作管理维护(OAM)技术,该技术目前在业界的共同推动下处于快速发展阶段,且正在国际标准化组织互联网工程任务组(IETF,Internet Engineering Task Force)开展标准化的工作。IOAM is a new data communication network operation management and maintenance (OAM) technology proposed by the industry. This technology is currently in the rapid development stage under the joint promotion of the industry, and is in the Internet Engineering Task Force (IETF). Carry out standardization work.
IETF的IOAM系列提案draft-brockners-inband-oam-requirements、draft-brockners-inband-oam-transport和draft-brockners-inband-oam-data分别描述了IOAM的需求来源、封装格式和数据内容,与已经完成标准化并在数据通信网络中广泛部署的带外OAM(Out-of-band Operations、Administration and Maintenance)相比较,IOAM的特点是IOAM数据内容被封装进业务数据报文中,作为业务数据报文的一部分在网络中传递,而带外OAM数据内容则是被封装进专门构造的OAM数据报文中,作为单独的协议报文在网络中传递。作为带外OAM的补充,IOAM可以实现一些带 外OAM所不能实现的功能,比如探测业务数据报文实际经过的网络节点,验证业务数据的传输路径与预期是否一致,以及给业务数据报文添加序列号信息以检测丢包和乱序等,相应地,为了实现上述功能,网络管理员需要对包括IOAM中间节点(IOAM Transit Node)和IOAM出口节点(IOAM Egress Node)在内的IOAM传输节点进行配置,IOAM传输节点就是业务数据报文传输路径上需要对IOAM数据内容进行处理的节点。考虑到IOAM包含多种可选的功能,以及网络所承载业务流量的类型和传输路径的易变性,上述配置通常是比较复杂且易于改变的。IETF's IOAM series of proposals draft-brockners-inband-oam-requirements, draft-brockners-inband-oam-transport and draft-brockners-inband-oam-data respectively describe the source of IOAM requirements, package format and data content, and Compared with Out-of-band Operations (Administration and Maintenance), which is standardized and widely deployed in data communication networks, IOAM is characterized in that IOAM data content is encapsulated into service data packets as service data packets. A part of the data is transmitted in the network, and the out-of-band OAM data content is encapsulated into a specially constructed OAM data message and transmitted as a separate protocol message in the network. As a supplement to out-of-band OAM, IOAM can implement functions that cannot be implemented by out-of-band OAM, such as detecting network nodes through which service data packets actually pass, verifying that the transmission path of service data is consistent with expectations, and adding traffic data packets. Serial number information to detect packet loss and out-of-order, etc. Accordingly, in order to implement the above functions, the network administrator needs to perform IOAM transmission nodes including an IOAM Transit Node and an IOAM Egress Node. The IOAM transit node is a node that needs to process the IOAM data content on the service data packet transmission path. Given that IOAM includes a variety of optional features, as well as the type of traffic carried by the network and the variability of the transmission path, these configurations are often complex and easily changeable.
IOAM封装就是给业务数据报文插入一个IOAM头部(IOAM Header),图1是IOAM头部格式图,如图1所示,IOAM头部除了用于指示IOAM数据内容的位置(如图1中的IOAM头部指示)和长度(如图1中的IOAM头部长度),还携带了作为IOAM数据内容的一组IOAM功能选项类型/长度/取值(TLVs,Type/Length/Value),其中每个IOAM功能选项TLV对应一种IOAM功能并携带了完成该IOAM功能所需的数据。网络中负责IOAM封装,也即插入IOAM头部的节点被称为IOAM入口节点(IOAM Ingress Node)或IOAM封装节点,IOAM入口节点既可以是交换机或路由器等网络节点,也可以是个人电脑或服务器等网络终端。IOAM入口节点由于要完成IOAM头部的插入,所以需要确定IOAM数据内容包含哪些IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,这些信息由网络管理员根据各IOAM传输节点上的配置情况加以确定并下发给IOAM入口节点,如前所述,IOAM传输节点上的配置通常是比较复杂且易于改变的,所以这种在IOAM入口节点通过人工下发信息实现IOAM封装的方法增加了网络管理员的负担,且容易出错。IOAM encapsulation is to insert an IOAM header (IOAM header) into the service data message. Figure 1 is an IOAM header format diagram. As shown in Figure 1, the IOAM header is used to indicate the location of the IOAM data content (as in Figure 1). The IOAM header indication) and the length (such as the IOAM header length in Figure 1) also carry a set of IOAM function option types/lengths/values (TLVs, Type/Length/Value) as IOAM data content, where Each IOAM function option TLV corresponds to an IOAM function and carries the data required to complete the IOAM function. The IOAM encapsulation in the network, that is, the node inserted into the IOAM header is called an IOAM Ingress Node or an IOAM encapsulation node. The IOAM ingress node can be either a network node such as a switch or a router, or a personal computer or server. And other network terminals. Since the IOAM ingress node needs to complete the insertion of the IOAM header, it is necessary to determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, which is determined by the network administrator according to the configuration on each IOAM transmission node. It is determined and sent to the IOAM ingress node. As mentioned above, the configuration on the IOAM transit node is usually complicated and easy to change. Therefore, the method of implementing IOAM encapsulation by manually sending information at the IOAM ingress node increases network management. The burden of the staff is easy to make mistakes.
发明内容Summary of the invention
为解决上述技术问题,本公开实施例提供了一种实现IOAM封装的方 法及装置。To solve the above technical problem, an embodiment of the present disclosure provides a method and apparatus for implementing IOAM encapsulation.
本公开实施例提供的实现带内IOAM封装的方法,包括:A method for implementing in-band IOAM encapsulation provided by an embodiment of the present disclosure includes:
IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;The IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;Receiving, by the IOAM ingress node, a second out-of-band OAM packet that carries the IOAM configuration information sent by the IOAM transmission node;
所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
本公开实施例提供的实现IOAM封装的装置,包括:An apparatus for implementing an IOAM package provided by an embodiment of the present disclosure includes:
发送单元,配置为发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;The sending unit is configured to send the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
接收单元,配置为接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;a receiving unit, configured to receive a second out-of-band OAM message that carries the IOAM configuration information sent by the IOAM transmission node;
封装单元,配置为根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。The encapsulating unit is configured to perform IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
另一方面,本发明实施例还提供一种存储介质,该存储介质存储有计算机程序,该计算机程序配置为执行上述实现IOAM封装的方法。In another aspect, an embodiment of the present invention further provides a storage medium storing a computer program configured to perform the above method for implementing IOAM encapsulation.
本公开实施例的技术方案中,IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。采用本公开实施例的技术方案,解决了相关技术中在IOAM 入口节点通过人工下发信息实现IOAM封装的方法增加了网络管理员的负担,且容易出错的问题,同时也使得IOAM入口节点能够支持在业务流量的触发下自动获取IOAM封装所需信息。In the technical solution of the embodiment of the present disclosure, the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path. The IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information. The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node. By adopting the technical solution of the embodiment of the present disclosure, the method for implementing IOAM encapsulation by manually sending information at the IOAM ingress node in the related art is solved, which increases the burden on the network administrator and is prone to error, and also enables the IOAM ingress node to support Automatically obtain the information required for IOAM encapsulation triggered by traffic.
附图说明DRAWINGS
附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为本公开实施例的IOAM头部格式图;1 is a format diagram of an IOAM header according to an embodiment of the present disclosure;
图2为本公开实施例的实现IOAM封装的方法的流程示意图;FIG. 2 is a schematic flowchart diagram of a method for implementing IOAM encapsulation according to an embodiment of the present disclosure;
图3为本公开应用示例一的IP网络中实现IOAM封装的示意图;3 is a schematic diagram of implementing IOAM encapsulation in an IP network according to application example 1 of the present disclosure;
图4为本公开应用示例一的ICMP报文的格式图;4 is a format diagram of an ICMP message according to the first application example of the present disclosure;
图5为本公开应用示例一的IOAM配置信息TLV的格式图;5 is a format diagram of an IOAM configuration information TLV of Application Example 1 of the present disclosure;
图6为本公开应用示例二的MPLS网络中实现IOAM封装的示意图;6 is a schematic diagram of implementing IOAM encapsulation in an MPLS network according to application example 2 of the present disclosure;
图7为本公开应用示例二的LSP Ping报文的格式图;7 is a format diagram of an LSP ping packet of the second application example of the present disclosure;
图8为本公开应用示例三的Ethernet网络中利用LoopBack实现IOAM封装的示意图;8 is a schematic diagram of implementing IOAM encapsulation by using LoopBack in an Ethernet network according to application example 3 of the present disclosure;
图9为本公开应用示例三的Ethernet网络中利用LinkTrace实现IOAM封装的示意图;9 is a schematic diagram of implementing IOAM encapsulation by using LinkTrace in an Ethernet network according to application example 3 of the present disclosure;
图10为本公开应用示例三的LoopBack报文的格式图;10 is a format diagram of a LoopBack packet in the third application example of the present disclosure;
图11为本公开应用示例三的LinkTrace报文的格式图;11 is a format diagram of a LinkTrace message according to the third application example of the present disclosure;
图12为本公开实施例的实现IOAM封装的装置的结构组成示意图。FIG. 12 is a schematic structural diagram of an apparatus for implementing an IOAM package according to an embodiment of the present disclosure.
具体实施方式detailed description
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。The embodiments of the present disclosure are described in detail with reference to the accompanying drawings.
图2为本公开实施例提供的实现IOAM封装的方法的流程示意图,如 图2所示,所述实现IOAM封装的方法包括以下步骤:2 is a schematic flowchart of a method for implementing IOAM encapsulation according to an embodiment of the present disclosure. As shown in FIG. 2, the method for implementing IOAM encapsulation includes the following steps:
步骤201:IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点。Step 201: The IOAM ingress node sends a first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path.
这里,第一带外OAM报文仅用于区分后续的第二带外OAM报文,并无特殊含义。带外OAM报文遵循与业务数据报文相同的传输路径,通常用于检测发送节点与接收节点之间传输路径是否正常。采用不同转发技术的网络使用不同的带外OAM报文,比如,在IP网络中使用IETF标准RFC 792定义的互联网控制消息协议(ICMP)报文作为带外OAM报文,在多协议标签交换(MPLS)网络中使用IETF标准RFC 8029定义的标签交换路径回显(LSP Ping)报文作为带外OAM报文,在以太网(Ethernet)网络中使用国际电信联盟(ITU,International Telecommunication Union)标准Y.1731定义的环回(LoopBack)报文或链路跟踪(LinkTrace)报文作为带外OAM报文。利用带外OAM报文携带IOAM配置请求信息,可以确保IOAM配置请求信息到达业务数据报文传输路径上的每个IOAM传输节点,而且带外OAM已经在现网中大规模部署,这种方法可以很好地与现网兼容。Here, the first out-of-band OAM packet is only used to distinguish the subsequent second out-of-band OAM packet, and has no special meaning. The outband OAM packet follows the same transmission path as the service data packet, and is usually used to detect whether the transmission path between the sending node and the receiving node is normal. Networks with different forwarding technologies use different out-of-band OAM messages, for example, Internet Control Message Protocol (ICMP) packets defined by the IETF standard RFC 792 in the IP network as out-of-band OAM messages, in multi-protocol label switching ( In the MPLS network, the label switched path echo (LSP Ping) message defined by the IETF standard RFC 8029 is used as the outband OAM message, and the International Telecommunication Union (ITU) standard is used in the Ethernet (Ethernet) network. A loopback packet or a link trace (LinkTrace) packet defined by the .1731 is used as an outband OAM packet. The IOAM configuration request information can be used to ensure that the IOAM configuration request information reaches each IOAM transmission node on the service data packet transmission path, and the outband OAM has been deployed on the live network in large quantities. This method can be used. Very compatible with the live network.
本公开实施例中,当获得网络管理员的触发操作时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得网络管理模块或控制应用的触发指令时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得业务数据报文的触发时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文。In the embodiment of the present disclosure, when the triggering operation of the network administrator is obtained, the IOAM ingress node sends the first out-of-band OAM message carrying the IOAM configuration request information; or, when obtaining the triggering instruction of the network management module or the control application, The IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information; or, when the service data packet is triggered, the IOAM ingress node sends the first out-of-band OAM that carries the IOAM configuration request information. Message.
可见,IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文的时机非常灵活,可以在网络管理员的触发下发送,或者也可以在网络管理模块/控制应用的触发下发送,或者也可以在业务数据报文的触发下 发送。It can be seen that the timing of sending the first out-of-band OAM message carrying the IOAM configuration request information by the IOAM ingress node is very flexible, can be sent by the network administrator, or can be sent under the trigger of the network management module/control application, or It can also be sent under the trigger of service data packets.
本公开实施例中,所述业务数据报文传输路径上的节点包括以下至少之一:IOAM传输节点、非IOAM传输节点,其中,所述IOAM传输节点包括IOAM中间节点和IOAM出口节点。In the embodiment of the present disclosure, the node on the service data packet transmission path includes at least one of the following: an IOAM transmission node, and a non-IOAM transmission node, where the IOAM transmission node includes an IOAM intermediate node and an IOAM egress node.
步骤202:所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文。Step 202: The IOAM ingress node receives the second out-of-band OAM packet that carries the IOAM configuration information sent by the IOAM transmission node.
这里,IOAM入口节点发送的携带IOAM配置请求信息的第一带外OAM报文会依次到达业务数据报文传输路径上的各个节点,如果接收到第一带外OAM报文的节点是IOAM传输节点,也即该节点需要对IOAM数据内容进行处理,则该节点向IOAM入口节点回复的第二带外OAM报文中携带该节点的IOAM配置信息,其中,该节点的IOAM配置信息包括该节点支持哪些IOAM能力以及各IOAM能力的使能情况和相关参数配置。如果接收到第一带外OAM报文的节点不是IOAM传输节点,也即该节点无需对IOAM数据内容进行处理,则该节点向IOAM入口节点回复的第二带外OAM报文中不会携带该节点的IOAM配置信息。The first out-of-band OAM packet that carries the IOAM configuration request information sent by the IOAM ingress node will arrive at each node on the service data packet transmission path. If the first out-of-band OAM packet is received, the node is an IOAM transit node. That is, the node needs to process the IOAM data content, and the second out-of-band OAM packet replied by the node to the IOAM ingress node carries the IOAM configuration information of the node, where the IOAM configuration information of the node includes the node support. Which IOAM capabilities and enablement of each IOAM capability and related parameter configurations. If the node that receives the first out-of-band OAM packet is not the IOAM transit node, that is, the node does not need to process the IOAM data content, the node does not carry the second out-of-band OAM packet replied to the IOAM ingress node. The IOAM configuration information of the node.
步骤203:所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。Step 203: The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
本公开实施例中,所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,确定IOAM数据内容所包括的IOAM功能选项TLVs、以及每个IOAM功能选项TLV的长度;根据所述IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,在业务数据报文中插入IOAM头部,也即实现对业务数据报文的IOAM封装。In the embodiment of the present disclosure, the IOAM ingress node determines, according to the IOAM configuration information of each IOAM transmission node, the IOAM function option TLVs included in the IOAM data content, and the length of each IOAM function option TLV; according to the IOAM function option TLVs And the length of each IOAM function option TLV, inserting an IOAM header in the service data packet, that is, implementing IOAM encapsulation of the service data packet.
下面结合具体应用示例对本公开实施例的技术方案作进一步详细描述。The technical solutions of the embodiments of the present disclosure are further described in detail below with reference to specific application examples.
应用示例一Application example one
图3是IP网络中实现IOAM封装的示意图。本应用示例中,IOAM入口节点与IOAM传输节点要执行如下步骤:3 is a schematic diagram of implementing IOAM encapsulation in an IP network. In this application example, the IOAM ingress node and the IOAM transit node perform the following steps:
步骤11:IOAM入口节点发送携带IOAM配置请求信息的ICMP请求报文。Step 11: The IOM ingress node sends an ICMP request message carrying the IOAM configuration request information.
图4是ICMP报文的格式图,如图4所示,ICMP报文包含8比特的类型字段和8比特的代码字段,IETF标准对这两个字段的一些取值做了规定,比如,类型8代码0表示ICMP Ping请求,类型0代码0表示ICMP Ping响应,类型10代码0表示路由器请求,类型9代码0表示路由器通告,等等。通过对尚未被规定的类型和代码值做定义,比如规定类型19代码0表示IOAM配置请求,类型20代码0表示IOAM配置响应,就可以使得ICMP请求报文携带IOAM配置请求信息。4 is a format diagram of an ICMP message. As shown in FIG. 4, an ICMP message includes an 8-bit type field and an 8-bit code field. The IETF standard defines some values of the two fields, for example, a type. 8 code 0 indicates an ICMP ping request, type 0 code 0 indicates an ICMP ping response, type 10 code 0 indicates a router request, type 9 code 0 indicates a router advertisement, and so on. By defining the types and code values that have not been specified, for example, the type 19 code 0 indicates an IOAM configuration request, and the type 20 code 0 indicates an IOAM configuration response, the ICMP request message can be carried to carry the IOAM configuration request information.
步骤12:IOAM传输节点响应请求,向IOAM入口节点回复携带本节点IOAM配置信息的ICMP响应报文。Step 12: The IOAM transmission node responds to the request, and returns an ICMP response message carrying the IOAM configuration information of the local node to the IOAM ingress node.
根据ICMP的机制,发送节点通过改变ICMP请求报文中IP头部的生存时间(TTL,Time to Live)值,就可以把ICMP请求报文依次发往传输路径上的各个节点。IOAM传输节点在收到携带IOAM配置请求信息的ICMP请求报文后,会向ICMP请求报文发送节点,也即IOAM入口节点,回复携带本节点IOAM配置信息的ICMP响应报文,携带的方式可以是把IOAM配置信息以一个TLV的形式写入ICMP响应报文的选项数据字段,图5是IOAM配置信息TLV的格式图,如图5所示,该TLV的类型(Type)字段表示IOAM配置信息,长度(Length)字段表示该TLV的长度,取值(Value)字段包含一组子TLVs(Sub-TLVs),每个Sub-TLV携带一种IOAM功能的配置信息,其中子类型(Sub-Type)字段表示本节点支持的一种IOAM功能的代码,Length字段表示该Sub-TLV的长度,Value字段表示Sub-Type字段所代表的IOAM功能的配置信息,包括该IOAM功能是否在本节点使 能(Enabled),以及在使能的情况下与该IOAM功能相关的配置参数值,比如,IETF提案draft-brockners-inband-oam-data所定义的IOAM跟踪(Tracing)功能相关的配置参数就包括:采用预分配(Pre-allocated)模式还是递增(Incremental)模式插入节点信息,以及节点信息所需占用的字节数。According to the mechanism of the ICMP, the sending node can send the ICMP request message to each node on the transmission path in turn by changing the time-to-live (TTL) value of the IP header in the ICMP request message. After receiving the ICMP request message carrying the IOAM configuration request information, the IOAM transmission node sends an ICMP Request message sending node, that is, an IOM ingress node, to the ICMP response message carrying the IOAM configuration information of the local node. The IOAM configuration information is written in the option data field of the ICMP response message in the form of a TLV. FIG. 5 is a format diagram of the IOAM configuration information TLV. As shown in FIG. 5, the Type field of the TLV indicates the IOAM configuration information. The Length field indicates the length of the TLV, and the Value field contains a set of sub-TLVs (Sub-TLVs). Each Sub-TLV carries configuration information of an IOAM function, where the sub-type (Sub-Type) The field indicates the code of an IOAM function supported by the node, the Length field indicates the length of the Sub-TLV, and the Value field indicates the configuration information of the IOAM function represented by the Sub-Type field, including whether the IOAM function is enabled on the node. (Enabled), and the configuration parameter values related to the IOAM function when enabled, for example, the configuration parameters related to the IOAM tracking (Tracing) function defined by the IETF proposal draft-brockners-inband-oam-data Including: inserting node information in Pre-allocated mode or Incremental mode, and the number of bytes required for node information.
步骤13:IOAM入口节点获取IP业务报文传输路径上各节点的IOAM配置后,确定IOAM封装。Step 13: After the IOAM ingress node obtains the IOAM configuration of each node on the IP service packet transmission path, the IOAM encapsulation is determined.
IOAM入口节点获取IP业务报文传输路径上各节点的IOAM配置后,就能够确定IOAM数据内容包含哪些IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,也就能够确定针对IP业务报文的IOAM封装。After the IOAM ingress node obtains the IOAM configuration of each node on the IP service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the IP service packet. IOAM package.
应用示例二Application example two
图6是MPLS网络中实现IOAM封装的示意图。本应用示例中,IOAM入口节点与IOAM传输节点要执行如下步骤:6 is a schematic diagram of implementing IOAM encapsulation in an MPLS network. In this application example, the IOAM ingress node and the IOAM transit node perform the following steps:
步骤21:IOAM入口节点发送携带IOAM配置请求信息的LSP Ping请求报文。Step 21: The IOAM ingress node sends an LSP ping request message carrying the IOAM configuration request information.
图7是LSP Ping报文的格式图,如图7所示,LSP Ping请求报文包含一组TLVs,通过增加一个Type字段表示IOAM配置请求的新的TLV,就可以使得LSP Ping请求报文携带IOAM配置请求信息。Figure 7 is a format diagram of an LSP ping packet. As shown in Figure 7, an LSP ping request packet contains a set of TLVs. By adding a Type field to indicate a new TLV for the IOAM configuration request, the LSP ping request packet can be carried. IOAM configuration request information.
步骤22:IOAM传输节点响应请求,向IOAM入口节点回复携带本节点IOAM配置信息的LSP Ping响应报文。Step 22: The IOAM transmission node responds to the request, and returns an LSP Ping response message carrying the IOAM configuration information of the local node to the IOAM ingress node.
根据LSP Ping的机制,发送节点通过改变LSP Ping请求报文中MPLS头部的TTL值,就可以把LSP Ping请求报文依次发往传输路径上的各个节点。IOAM传输节点在收到携带IOAM配置请求信息的LSP Ping请求报文后,会向LSP Ping请求报文发送节点,也即IOAM入口节点,回复携带本节点IOAM配置信息的LSP Ping响应报文,携带的方式可以是把IOAM配 置信息以一个TLV的形式写入LSP Ping响应报文的TLVs字段,该TLV采用如图5所示的格式。According to the LSP ping mechanism, the sending node can send the LSP ping request message to each node on the transmission path in turn by changing the TTL value of the MPLS header in the LSP ping request message. After receiving the LSP ping request message carrying the IOAM configuration request information, the IOAM transit node sends an LSP Ping response message to the LSP ping request packet sending node, that is, the IOAM ingress node, and carries the LSP Ping response packet carrying the IOAM configuration information of the local node. The method may be that the IOAM configuration information is written into the TLVs field of the LSP Ping response message in the form of a TLV, and the TLV adopts the format shown in FIG.
步骤23:IOAM入口节点获取MPLS业务报文传输路径上各节点的IOAM配置后,确定IOAM封装。Step 23: After the IOAM ingress node obtains the IOAM configuration of each node on the MPLS service packet transmission path, the IOAM encapsulation is determined.
IOAM入口节点获取MPLS业务报文传输路径上各节点的IOAM配置后,就能够确定IOAM数据内容包含哪些IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,也就能够确定针对MPLS业务报文的IOAM封装。After the IOAM ingress node obtains the IOAM configuration of each node in the MPLS service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the MPLS service packet. IOAM package.
应用示例三Application example three
图8是Ethernet网络中利用LoopBack实现IOAM封装的示意图,图9是Ethernet网络中利用LinkTrace实现IOAM封装的示意图。本应用示例中,IOAM入口节点与IOAM传输节点要执行如下步骤:FIG. 8 is a schematic diagram of implementing IOAM encapsulation by using LoopBack in an Ethernet network, and FIG. 9 is a schematic diagram of implementing IOAM encapsulation by using LinkTrace in an Ethernet network. In this application example, the IOAM ingress node and the IOAM transit node perform the following steps:
步骤31:IOAM入口节点发送携带IOAM配置请求信息的LoopBack请求报文或LinkTrace请求报文。Step 31: The IOAM ingress node sends a LoopBack request message or a LinkTrace request message carrying the IOAM configuration request information.
图10是LoopBack报文的格式图,图11是LinkTrace报文的格式图,如图10和图11所示,LoopBack请求报文或LinkTrace请求报文都包含一组TLVs,通过增加一个Type字段表示IOAM配置请求的新的TLV,就可以使得LoopBack请求报文或LinkTrace请求报文携带IOAM配置请求信息。Figure 10 is a format diagram of a LoopBack packet, and Figure 11 is a format diagram of a LinkTrace packet. As shown in Figure 10 and Figure 11, a LoopBack request packet or a LinkTrace request packet contains a set of TLVs, which is represented by adding a Type field. The IOAM configuration request new TLV can make the LoopBack request packet or the LinkTrace request packet carry the IOAM configuration request information.
步骤32:IOAM传输节点响应请求,向IOAM入口节点回复携带本节点IOAM配置信息的LoopBack响应报文或LinkTrace响应报文。Step 32: The IOAM transit node responds to the request and returns a LoopBack response packet or a LinkTrace response packet carrying the IOAM configuration information of the local node to the IOAM ingress node.
根据LoopBack的机制,发送节点通过改变LoopBack请求报文中Ethernet头部的目的媒质接入控制(MAC)地址,就可以把LoopBack请求报文依次发往传输路径上的各个节点。IOAM传输节点在收到携带IOAM配置请求信息的LoopBack请求报文后,会向LoopBack请求报文发送节点,也即IOAM入口节点,回复携带本节点IOAM配置信息的LoopBack响应 报文,携带的方式可以是把IOAM配置信息以一个TLV的形式写入LoopBack响应报文的TLVs字段,该TLV采用如图5所示的格式。According to the LoopBack mechanism, the sending node can send the LoopBack request packet to each node on the transmission path in turn by changing the destination medium access control (MAC) address of the Ethernet header in the LoopBack request message. After receiving the loopback request message carrying the IOAM configuration request information, the IOAM transit node sends a loopback request message to the loopback request message sending node, that is, the IOAM ingress node, and the loopback response packet carrying the IOAM configuration information of the local node. The IOAM configuration information is written in the TLVs field of the LoopBack response message in the form of a TLV, and the TLV adopts the format shown in FIG.
根据LinkTrace的机制,发送节点只需要把LinkTrace请求报文中Ethernet头部的目的MAC地址设置为一个专用的组播地址,就可以使得LinkTrace请求报文依次到达传输路径上的各个节点。IOAM传输节点在收到携带IOAM配置请求信息的LinkTrace请求报文后,会向LinkTrace请求报文发送节点,也即IOAM入口节点,回复携带本节点IOAM配置信息的LinkTrace响应报文,携带的方式可以是把IOAM配置信息以一个TLV的形式写入LinkTrace响应报文的TLVs字段,该TLV采用如图5所示的格式。According to the mechanism of LinkTrace, the sending node only needs to set the destination MAC address of the Ethernet header in the LinkTrace request message to a dedicated multicast address, so that the LinkTrace request message can reach each node in the transmission path in turn. After receiving the LinkTrace request packet carrying the IOAM configuration request information, the IOAM transit node requests the packet sending node, that is, the IOAM ingress node, to reply to the LinkTrace response packet carrying the IOAM configuration information of the local node. The IOAM configuration information is written into the TLVs field of the LinkTrace response message in the form of a TLV, and the TLV adopts the format shown in FIG.
步骤33:IOAM入口节点获取Ethernet业务报文传输路径上各节点的IOAM配置后,确定IOAM封装。Step 33: After the IOAM ingress node obtains the IOAM configuration of each node on the Ethernet service packet transmission path, the IOAM encapsulation is determined.
IOAM入口节点获取Ethernet业务报文传输路径上各节点的IOAM配置后,就能够确定IOAM数据内容包含哪些IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,也就能够确定针对Ethernet业务报文的IOAM封装。After the IOAM ingress node obtains the IOAM configuration of each node on the Ethernet service packet transmission path, it can determine which IOAM function option TLVs and the length of each IOAM function option TLV are included in the IOAM data content, and thus can determine the service packet for the Ethernet service. IOAM package.
图12为本公开实施例的实现IOAM封装的装置的结构组成示意图,如图12所示,所述装置包括:12 is a schematic structural diagram of an apparatus for implementing an IOAM package according to an embodiment of the present disclosure. As shown in FIG. 12, the apparatus includes:
发送单元121,配置为发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;The sending unit 121 is configured to send a first out-of-band OAM message carrying the IOAM configuration request information, where the first out-of-band OAM message sequentially arrives at each node on the service data packet transmission path;
接收单元122,配置为接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;The receiving unit 122 is configured to receive a second out-of-band OAM message that carries the IOAM configuration information sent by the IOAM transmission node.
封装单元123,配置为根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。The encapsulating unit 123 is configured to perform IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
本公开实施例中,所述发送单元121,配置为当获得网络管理员的触发 操作时,发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得网络管理模块或控制应用的触发指令时,发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得业务数据报文的触发时,发送携带IOAM配置请求信息的第一带外OAM报文。In the embodiment of the present disclosure, the sending unit 121 is configured to: when the triggering operation of the network administrator is obtained, send the first out-of-band OAM message carrying the IOAM configuration request information; or, when obtaining the network management module or the control application When the command is triggered, the first out-of-band OAM packet carrying the IOAM configuration request information is sent; or when the service data packet is triggered, the first out-of-band OAM packet carrying the IOAM configuration request information is sent.
本公开实施例中,所述业务数据报文传输路径上的节点包括以下至少之一:IOAM传输节点、非IOAM传输节点,其中,所述IOAM传输节点包括IOAM中间节点和IOAM出口节点。In the embodiment of the present disclosure, the node on the service data packet transmission path includes at least one of the following: an IOAM transmission node, and a non-IOAM transmission node, where the IOAM transmission node includes an IOAM intermediate node and an IOAM egress node.
本公开实施例中,如果接收到所述第一带外OAM报文的节点是IOAM传输节点,则所述接收单元122接收所述IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文。In the embodiment of the present disclosure, if the node that receives the first out-of-band OAM message is an IOAM transmission node, the receiving unit 122 receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information. Text.
本公开实施例中,所述封装单元123,配置为根据各个IOAM传输节点的IOAM配置信息,确定IOAM数据内容所包括的IOAM功能选项TLVs、以及每个IOAM功能选项TLV的长度;根据所述IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,在业务数据报文中插入IOAM头部,也即实现对业务数据报文的IOAM封装。In the embodiment of the present disclosure, the encapsulating unit 123 is configured to determine, according to the IOAM configuration information of each IOAM transmission node, an IOAM function option TLVs included in the IOAM data content, and a length of each IOAM function option TLV; according to the IOAM The function option TLVs and the length of each IOAM function option TLV are inserted into the IOAM header in the service data packet, that is, the IOAM encapsulation of the service data packet is implemented.
本公开实施例中,当所述业务数据报文传输路径适用于IP网络时,所述第一带外OAM报文和所述第二带外OAM报文为ICMP报文;In the embodiment of the disclosure, when the service data packet transmission path is applicable to the IP network, the first out-of-band OAM packet and the second out-of-band OAM packet are ICMP packets.
当所述业务数据报文传输路径适用于MPLS网络时,所述第一带外OAM报文和所述第二带外OAM报文为LSP Ping报文;When the service data packet transmission path is applicable to the MPLS network, the first out-of-band OAM packet and the second out-of-band OAM packet are LSP ping packets;
当所述业务数据报文传输路径适用于以太网网络时,所述第一带外OAM报文和所述第二带外OAM报文为LoopBack报文或LinkTrace报文。When the service data packet transmission path is applicable to the Ethernet network, the first out-of-band OAM packet and the second out-of-band OAM packet are LoopBack packets or LinkTrace packets.
本领域技术人员应当理解,图12所示的实现IOAM封装的装置中的各单元的实现功能可参照前述实现IOAM封装的方法的相关描述而理解。图12所示的实现IOAM封装的装置中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of the units in the apparatus for implementing IOAM encapsulation shown in FIG. 12 can be understood by referring to the foregoing description of the method for implementing IOAM encapsulation. The functions of the units in the apparatus for implementing the IOAM package shown in FIG. 12 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
在实际应用中,所述实现IOAM封装的装置中的各个单元所实现的功能,均可由位于实现IOAM封装的装置中的中央处理器(CPU,Central Processing Unit)、或微处理器(MPU,Micro Processor Unit)、或数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the functions implemented by each unit in the apparatus for implementing the IOAM package may be implemented by a central processing unit (CPU) or a microprocessor (MPU, Micro) located in a device implementing the IOAM package. Processor Unit), or digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA).
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
相应地,本发明实施例还提供一种存储介质,其中存储有计算机程序,该计算机程序配置为执行本发明实施例的实现IOAM封装的方法。Correspondingly, an embodiment of the present invention further provides a storage medium, wherein a computer program is configured, and the computer program is configured to perform the method for implementing IOAM encapsulation in the embodiment of the present invention.
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。The above description is only for the preferred embodiments of the present disclosure, and is not intended to limit the scope of the disclosure.
工业实用性Industrial applicability
本公开实施例的技术方案,IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装,如此,解决了相关技术中在IOAM入口节点通过人工下发信息实现IOAM封装的方法增加了网络管理员的负担,且容易出错的问题,同时也使得IOAM入口节点能够支持在业务流量的触发下自动获取IOAM封装所需信息。In the technical solution of the embodiment of the present disclosure, the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path; The IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information. The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node. The method for realizing IOAM encapsulation by manually sending information at the IOAM ingress node in the related art increases the burden on the network administrator and is prone to error, and also enables the IOAM ingress node to support automatic acquisition of the IOAM under the trigger of the service traffic. Encapsulate the required information.

Claims (13)

  1. 一种实现带内操作管理维护IOAM封装的方法,所述方法包括:A method for implementing in-band operation management and maintenance IOAM encapsulation, the method comprising:
    IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;The IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
    所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;Receiving, by the IOAM ingress node, a second out-of-band OAM packet that carries the IOAM configuration information sent by the IOAM transmission node;
    所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。The IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    当获得网络管理员的触发操作时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文;或者,When the triggering operation of the network administrator is obtained, the IOAM ingress node sends a first out-of-band OAM packet carrying the IOAM configuration request information; or
    当获得网络管理模块或控制应用的触发指令时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文;或者,When the triggering instruction of the network management module or the control application is obtained, the IOAM ingress node sends the first out-of-band OAM packet carrying the IOAM configuration request information; or
    当获得业务数据报文的触发时,所述IOAM入口节点发送携带IOAM配置请求信息的第一带外OAM报文。When the service data packet is triggered, the IOAM ingress node sends a first out-of-band OAM packet carrying the IOAM configuration request information.
  3. 根据权利要求1所述的方法,其中,所述业务数据报文传输路径上的节点包括以下至少之一:IOAM传输节点、非IOAM传输节点,其中,所述IOAM传输节点包括IOAM中间节点和IOAM出口节点。The method according to claim 1, wherein the node on the service data message transmission path comprises at least one of: an IOAM transmission node, a non-IOAM transmission node, wherein the IOAM transmission node comprises an IOAM intermediate node and an IOAM Export node.
  4. 根据权利要求3所述的方法,其中,所述IOAM入口节点接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文,包括:The method of claim 3, wherein the IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information, including:
    如果接收到所述第一带外OAM报文的节点是IOAM传输节点,则所述IOAM入口节点接收所述IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文。And if the node that receives the first out-of-band OAM message is an IOAM transmission node, the IOAM ingress node receives the second out-of-band OAM message that is sent by the IOAM transmission node and carries the IOAM configuration information.
  5. 根据权利要求1所述的方法,其中,所述IOAM入口节点根据各 个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装,包括:The method according to claim 1, wherein the IOAM ingress node performs IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node, including:
    所述IOAM入口节点根据各个IOAM传输节点的IOAM配置信息,确定IOAM数据内容所包括的IOAM功能选项TLVs、以及每个IOAM功能选项TLV的长度;The IOAM ingress node determines, according to the IOAM configuration information of each IOAM transmission node, the IOAM function option TLVs included in the IOAM data content, and the length of each IOAM function option TLV;
    根据所述IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,在业务数据报文中插入IOAM头部。The IOAM header is inserted in the service data message according to the IOAM function option TLVs and the length of each IOAM function option TLV.
  6. 根据权利要求1至5任一项所述的方法,其中,The method according to any one of claims 1 to 5, wherein
    当所述业务数据报文传输路径适用于IP网络时,所述第一带外OAM报文和所述第二带外OAM报文为互联网控制消息协议ICMP报文;When the service data packet transmission path is applicable to the IP network, the first out-of-band OAM packet and the second out-of-band OAM packet are Internet Control Message Protocol (ICMP) packets;
    当所述业务数据报文传输路径适用于多协议标签交换MPLS网络时,所述第一带外OAM报文和所述第二带外OAM报文为标签交换路径回显LSP Ping报文;When the service data packet transmission path is applicable to the multi-protocol label switching MPLS network, the first out-of-band OAM packet and the second out-of-band OAM packet are LSP ping packets.
    当所述业务数据报文传输路径适用于以太网网络时,所述第一带外OAM报文和所述第二带外OAM报文为环回LoopBack报文或链路跟踪LinkTrace报文。When the service data packet transmission path is applicable to the Ethernet network, the first out-of-band OAM packet and the second out-of-band OAM packet are loopback loopback packets or link tracking LinkTrace packets.
  7. 一种实现IOAM封装的装置,所述装置包括:An apparatus for implementing an IOAM package, the apparatus comprising:
    发送单元,配置为发送携带IOAM配置请求信息的第一带外OAM报文,其中,所述第一带外OAM报文依次到达业务数据报文传输路径上的各个节点;The sending unit is configured to send the first out-of-band OAM packet carrying the IOAM configuration request information, where the first out-of-band OAM packet sequentially arrives at each node on the service data packet transmission path;
    接收单元,配置为接收IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文;a receiving unit, configured to receive a second out-of-band OAM message that carries the IOAM configuration information sent by the IOAM transmission node;
    封装单元,配置为根据各个IOAM传输节点的IOAM配置信息,对业务数据报文进行IOAM封装。The encapsulating unit is configured to perform IOAM encapsulation on the service data packet according to the IOAM configuration information of each IOAM transmission node.
  8. 根据权利要求7所述的装置,其中,所述发送单元,配置为当获 得网络管理员的触发操作时,发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得网络管理模块或控制应用的触发指令时,发送携带IOAM配置请求信息的第一带外OAM报文;或者,当获得业务数据报文的触发时,发送携带IOAM配置请求信息的第一带外OAM报文。The device according to claim 7, wherein the sending unit is configured to send a first out-of-band OAM message carrying the IOAM configuration request information when the triggering operation of the network administrator is obtained; or, when obtaining the network management module Or, when the triggering instruction of the application is controlled, the first out-of-band OAM packet carrying the IOAM configuration request information is sent; or when the service data packet is triggered, the first out-of-band OAM packet carrying the IOAM configuration request information is sent.
  9. 根据权利要求7所述的装置,其中,所述业务数据报文传输路径上的节点包括以下至少之一:IOAM传输节点、非IOAM传输节点,其中,所述IOAM传输节点包括IOAM中间节点和IOAM出口节点。The apparatus according to claim 7, wherein the node on the traffic data message transmission path comprises at least one of: an IOAM transmission node, a non-IOAM transmission node, wherein the IOAM transmission node comprises an IOAM intermediate node and an IOAM Export node.
  10. 根据权利要求9所述的装置,其中,如果接收到所述第一带外OAM报文的节点是IOAM传输节点,则所述接收单元接收所述IOAM传输节点发送的携带IOAM配置信息的第二带外OAM报文。The apparatus according to claim 9, wherein if the node that receives the first out-of-band OAM message is an IOAM transmission node, the receiving unit receives a second that carries the IOAM configuration information sent by the IOAM transmission node. Out-of-band OAM message.
  11. 根据权利要求7所述的装置,其中,所述封装单元,配置为根据各个IOAM传输节点的IOAM配置信息,确定IOAM数据内容所包括的IOAM功能选项TLVs、以及每个IOAM功能选项TLV的长度;根据所述IOAM功能选项TLVs以及每个IOAM功能选项TLV的长度,在业务数据报文中插入IOAM头部。The apparatus according to claim 7, wherein the encapsulating unit is configured to determine, according to IOAM configuration information of each IOAM transmission node, IOAM function option TLVs included in the IOAM data content, and a length of each IOAM function option TLV; The IOAM header is inserted in the service data message according to the IOAM function option TLVs and the length of each IOAM function option TLV.
  12. 根据权利要求7至11任一项所述的装置,其中,The apparatus according to any one of claims 7 to 11, wherein
    当所述业务数据报文传输路径适用于IP网络时,所述第一带外OAM报文和所述第二带外OAM报文为ICMP报文;When the service data packet transmission path is applicable to the IP network, the first out-of-band OAM packet and the second out-of-band OAM packet are ICMP packets;
    当所述业务数据报文传输路径适用于MPLS网络时,所述第一带外OAM报文和所述第二带外OAM报文为LSP Ping报文;When the service data packet transmission path is applicable to the MPLS network, the first out-of-band OAM packet and the second out-of-band OAM packet are LSP ping packets;
    当所述业务数据报文传输路径适用于以太网网络时,所述第一带外OAM报文和所述第二带外OAM报文为LoopBack报文或LinkTrace报文。When the service data packet transmission path is applicable to the Ethernet network, the first out-of-band OAM packet and the second out-of-band OAM packet are LoopBack packets or LinkTrace packets.
  13. 一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1至6任一项所述的实现带内操作管理维护IOAM封装的方法。A storage medium having stored therein computer executable instructions configured to perform the method of implementing in-band operation management and maintenance IOAM encapsulation of any one of claims 1 to 6.
PCT/CN2018/086788 2017-05-18 2018-05-15 Method and device for implementing ioam packaging and storage medium WO2018210213A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710352022.8A CN108964943B (en) 2017-05-18 2017-05-18 Method and device for realizing IOAM packaging
CN201710352022.8 2017-05-18

Publications (1)

Publication Number Publication Date
WO2018210213A1 true WO2018210213A1 (en) 2018-11-22

Family

ID=64273386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/086788 WO2018210213A1 (en) 2017-05-18 2018-05-15 Method and device for implementing ioam packaging and storage medium

Country Status (2)

Country Link
CN (1) CN108964943B (en)
WO (1) WO2018210213A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020134564A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Ioam information processing method, device, and computer readable storage medium
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium
EP4030696A4 (en) * 2019-10-26 2022-10-26 Huawei Technologies Co., Ltd. Multicast packet processing method and device

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327445B (en) * 2018-12-17 2023-09-12 中兴通讯股份有限公司 Message sampling method, message unpacking method, node, system and storage medium
CN111385121B (en) * 2018-12-29 2021-08-03 华为技术有限公司 Transmission method of operation administration maintenance (iOAM) message and corresponding device
CN112118147A (en) * 2019-06-21 2020-12-22 烽火通信科技股份有限公司 MPLS-TPOAM-based LB detection method and system
CN112448926B (en) * 2019-08-30 2022-07-08 烽火通信科技股份有限公司 Processing method and system for in-band operation, management and maintenance (IOAM)
CN112804075B (en) * 2019-11-14 2022-10-11 华为技术有限公司 Method, device and system for sending message and receiving message for OAM (operation administration and maintenance)
CN112910773A (en) * 2019-11-19 2021-06-04 华为技术有限公司 Method for issuing OAM configuration information and control node
CN114826952A (en) * 2021-01-27 2022-07-29 中国移动通信有限公司研究院 Information processing method and device for OAM detection and node equipment
CN117834342A (en) * 2022-09-29 2024-04-05 中兴通讯股份有限公司 Method and device for realizing IOAM encapsulation of virtualized tunnel network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580894A (en) * 2012-07-31 2014-02-12 华为技术有限公司 Method, device and system for operation, administration and maintenance (OAM) configuration
WO2017070023A1 (en) * 2015-10-20 2017-04-27 Cisco Technology, Inc. Triggered in-band operations, administration, and maintenance in a network environment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100396023C (en) * 2005-09-30 2008-06-18 华为技术有限公司 Multi-jumping pseudo-line fault detecting reporting and maintenance protocol controlling method
CN101267363A (en) * 2008-04-24 2008-09-17 杭州华三通信技术有限公司 Loop testing method, system and device
CN101478438B (en) * 2009-01-13 2011-06-22 中兴通讯股份有限公司 Ethernet OAM link discovery method
CN101826990A (en) * 2009-03-05 2010-09-08 华为技术有限公司 Method, device and system for detecting connectedness of virtual pseudo wires
EP2341668A1 (en) * 2010-01-05 2011-07-06 Alcatel Lucent Transport of a traffic flow in a mobile communication system
EP2595347A4 (en) * 2010-07-12 2013-12-04 Zte Corp Method, system and terminal for pseudo wire oam attribute configuration
WO2012145903A1 (en) * 2011-04-28 2012-11-01 华为技术有限公司 Method and node for querying operation administration maintenance configuration information
CN102916845B (en) * 2011-08-01 2017-02-01 中兴通讯股份有限公司 Multi-path loopback detecting method and exchanger equipment
EP2880815B1 (en) * 2012-08-01 2017-01-04 Telefonaktiebolaget LM Ericsson (publ) Operations, administration, and management (oam) functions in a software defined network
CN105893061A (en) * 2016-06-12 2016-08-24 杭州勒芒科技有限公司 Application program development method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580894A (en) * 2012-07-31 2014-02-12 华为技术有限公司 Method, device and system for operation, administration and maintenance (OAM) configuration
WO2017070023A1 (en) * 2015-10-20 2017-04-27 Cisco Technology, Inc. Triggered in-band operations, administration, and maintenance in a network environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BROCKNERS, F. ET AL.: "Encapsulations for In-Band OAM Data Draft-Brockners-in Band-Oam-Transport-Ol", NETWORK WORKING GROUP INTERNET -DRAFT, 18 July 2016 (2016-07-18), pages 1 - 12, XP055548007 *
MIN, X. ET AL.: "Extended OAM to Carry In-Situ OAM Configuration Data Draft-Xiaoippm-Ioam-Conf-State-OO", IPPM WORKING GROUP INTERNET -DRAFT, 27 October 2017 (2017-10-27), pages 1 - 10, XP055547984 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020134564A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Ioam information processing method, device, and computer readable storage medium
EP4030696A4 (en) * 2019-10-26 2022-10-26 Huawei Technologies Co., Ltd. Multicast packet processing method and device
US11784915B2 (en) 2019-10-26 2023-10-10 Huawei Technologies Co., Ltd. Multicast packet processing method and device
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium

Also Published As

Publication number Publication date
CN108964943B (en) 2022-01-28
CN108964943A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
WO2018210213A1 (en) Method and device for implementing ioam packaging and storage medium
US11979322B2 (en) Method and apparatus for providing service for traffic flow
WO2018210225A1 (en) Method and device for automatically implementing ioam encapsulation, and storage medium
US10862793B2 (en) Centralized error telemetry using segment routing header tunneling
EP3139560B1 (en) Packet processing method, device and computer storage medium
WO2016058245A1 (en) Processing method and apparatus for operation, administration and maintenance (oam) message
JP4567367B2 (en) Insert address to enable OAM function
WO2016045098A1 (en) Switch, controller, system and link quality detection method
US7983274B2 (en) Performance monitoring of pseudowire emulation
EP2509261B1 (en) Monitoring of a network element in a packet-switched network
WO2015184771A1 (en) Method and node device for operation, administration, and maintenance of service function chaining
CN103580894A (en) Method, device and system for operation, administration and maintenance (OAM) configuration
WO2018188663A1 (en) Method and device for information notification
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
WO2021190009A1 (en) Performance measurement method and apparatus, device, and storage medium
CN110959272B (en) Defect detection in IP/MPLS network tunnels
WO2015184740A1 (en) Method and device for processing detection hierarchy information
WO2013078873A1 (en) Method and device for identifying response message
CN110224916B (en) Message processing method and device and message packaging method, device and system
CN102611631A (en) Method, device and system for protecting protocol under pseudo-wire scene
CN102624746B (en) Detect the method for two ends, tunnel GRE head configuration, source, destination and system
CN108111327B (en) Network operation management maintenance method and device
CN104270280A (en) System and method for realizing LSP (Label Switching Path) ping and tracert on router
US8891384B2 (en) Circuit emulation service for carrying time division multiplexed SCADA traffic
KR20130085488A (en) Oam frame handling apparatus and method for packet transport network

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: 18801598

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: 18801598

Country of ref document: EP

Kind code of ref document: A1