WO2018188464A1 - Methods and devices for realizing ioam, and storage medium - Google Patents

Methods and devices for realizing ioam, and storage medium Download PDF

Info

Publication number
WO2018188464A1
WO2018188464A1 PCT/CN2018/079956 CN2018079956W WO2018188464A1 WO 2018188464 A1 WO2018188464 A1 WO 2018188464A1 CN 2018079956 W CN2018079956 W CN 2018079956W WO 2018188464 A1 WO2018188464 A1 WO 2018188464A1
Authority
WO
WIPO (PCT)
Prior art keywords
ioam
routing protocol
capability information
routing
protocol
Prior art date
Application number
PCT/CN2018/079956
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 WO2018188464A1 publication Critical patent/WO2018188464A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • 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 an OAM (Operations, Administration and Maintenance) technology, and more particularly to a method and apparatus for implementing in-band operation management and maintenance IOAM.
  • OAM Operations, Administration and Maintenance
  • IOAM in-suit OAM, in-band OAM, in-band operation management and maintenance.
  • In-band operation management and maintenance refers to directly encapsulating the OAM information and data to be carried in user data packets. Send together without sending additional control plane messages to send OAM data.
  • IOAM can implement a variety of network fault detection functions, including path consistency detection, POT (intermediate transport node verification), SLA (Service-Level Agreement) and other complex OAM functions.
  • the IOAM data packet is embedded in the data packet, so the node is also called the IOAM encapsulation node, and the edge node leaving the IOAM domain removes the OAM data packet, which is also called the IOAM solution.
  • the path verification method of the IOAM is: in the encapsulated node of the IOAM domain, the IOAM data packet is embedded in the data packet, and the IOAM forwarding node fills the relevant OAM information into the OAM data according to a certain algorithm, and the IOAM decapsulation node is based on Whether the OAM information verification path filled in by the forwarding node is consistent with the configured path and the OAM data packet is removed.
  • segment routing is a method based on source address routing through existing MPLS (Multiprotocol Label Switching) networks.
  • the packet header or the IPv6 packet header carries a segment routing header (Segment Routing Header), and the segment routing packet header carries a series of indication operations (also called segment operations) for routing data in the network. transmission. Segment routing makes it easy to implement network load balancing and process engineering, as well as complex network functions such as fast rerouting.
  • the segment operation indication can also be extended to implement a service or topology-based routing indication, and the segment routing can also implement service-based network virtualization.
  • the existing segment routing network can only implement simple OAM functions such as layered service provider (LSP) ping and tracert (tracking routing), but cannot implement in-band OAM path verification and end-to-end logical path accessibility.
  • Complex OAM functions such as detection.
  • An embodiment of the present invention provides a method and apparatus for implementing in-band operation management and maintenance of an IOAM and a computer storage medium to implement notification of IOAM capabilities.
  • An embodiment of the present invention provides a method for implementing an IOAM, where the method includes:
  • the extended routing protocol carries the IOAM capability information of the device
  • the IOAM capability information is encapsulated in a routing protocol message and sent in the network.
  • An embodiment of the present invention provides an apparatus for implementing an IOAM, including:
  • An extension module configured to extend IOAM capability information of the routing protocol carrying device
  • the sending module is configured to encapsulate the IOAM capability information in a routing protocol packet and send the information in the network.
  • An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes a memory and a processor, where
  • the memory stores executable instructions
  • the processor when executing the executable instructions stored by the memory, performs at least the following operations:
  • the extended routing protocol carries the in-band operation management and maintenance IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet and sent in the network.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for implementing IOAM.
  • An embodiment of the present invention further provides a method for implementing an IOAM, where the method includes:
  • the corresponding IOAM data is encapsulated according to the IOAM capability information.
  • An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes:
  • the parsing module is configured to receive the routing protocol packet and parse the IOAM capability information carried in the routing protocol packet;
  • the encapsulating module is configured to encapsulate the corresponding IOAM data according to the IOAM capability information after receiving the user data packet.
  • An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes a memory and a processor, where
  • the memory stores executable instructions
  • the processor when executing the executable instructions stored by the memory, performs at least the following operations:
  • the IOAM capability information carried in the routing protocol packet is parsed; after receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for implementing IOAM.
  • the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, enhance the robustness of the network, and improve the operation and maintenance management capability of the network.
  • FIG. 1 is a flowchart of a method for implementing an IOAM according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of an ISIS routing capability TLV format according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an IOAM capability sub-TLV format according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an in-band OAM path option sub-sub-TLV format according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an in-band OAM path verification option sub-sub-TLV format according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an apparatus for implementing an IOAM according to Embodiment 2 of the present invention.
  • FIG. 7 is a flowchart of a method for implementing an IOAM according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic diagram of an IOAM encapsulation of a segment routing network according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an apparatus for implementing an IOAM according to Embodiment 4 of the present invention.
  • FIG. 10 is a structural diagram of a routing protocol advertisement IOAM capability attribute network according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of forwarding a segment routing data packet carrying an IOAM according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes:
  • Step 11 The IOAM capability information of the extended routing protocol carrying device
  • Step 12 The IOAM capability information is encapsulated in a routing protocol packet and sent in the network.
  • the extended routing protocol carries the IOAM capability information of the device, including: when the routing protocol is an ISIS (Intermediate System-to-Intermediate System) protocol, the IS-IS routing capability is extended.
  • TLV type, length, value, type length value
  • the extended routing protocol carries the IOAM capability information of the device, including:
  • the routing protocol is an OSPF (Open Shortest Path First) protocol
  • OSPF RI Opaque LSA Link-State Advertisement
  • the IOAM capability includes one or more of the following: an in-suit OAM Tracing Option, an in-suit OAM Proof of Transit Option, and an In-situ OAM.
  • Edge-to-Edge Option (option for in-band OAM end-to-end).
  • the segment routing based segment routing encapsulation includes: an identifier bit, a flag field, a random number, an accumulated number, and the like.
  • the IETF (Internet Engineer Task Force) standard RFC 4971 defines a TLV structure called ISIS Routing Capability TLV (Intermediate System to Intermediate System Router Capability TLV), as shown in Figure 2, which is used in the TLV.
  • the capability attributes of the router are advertised, such as the TE (Traffic Engineering) node capability description, the PCED (Path Computation Unit Database), and the like.
  • the embodiment of the present invention requires the router to advertise its IOAM capability attribute, so that the ISIS routing capability TLV can be extended. Added support for IOAM capability sub-TLV.
  • the ISIS router advertises its capability attribute, it carries the IOAM capability sub-TLV and floods the segment routing network.
  • other ISIS routers receive the advertisement, it can determine that the ISIS route supports IOAM capability and IOAM attributes. Parameter information.
  • OSPFv2Router Information (Routing Information, RI) Opaque (opaque) LSA and OSPFv3RI opaque LSA are defined in the IETF (Internet Engineering Task Force) standard RFC 4970, which are used for OSPFv2 protocol and OSPFv3 advertisement respectively. Its router capability attribute information.
  • the IOAM capability attribute information of the router in the embodiment of the present invention extends the OSPFv2 routing information opaque LSA and the OSPFv3 routing information opaque LSA to carry the IOAM capability sub-TLV.
  • the OSPF router advertises the capability attribute to the neighbor
  • the OSPFv2 route information opaque LSA or the OSPFv3 route information opaque LSA fills the IOAM capability sub-TLV
  • the encapsulated LSA advertises the OSPF link state advertisement packet flooding the network.
  • the neighbor can determine the IOAM data processing capability and the supported IOAM type by using the encapsulated IOAM capability.
  • the Type field identifies the sub-TLV as an IOAM capability sub-TLV
  • the Length field is the total length of the sub-TLV
  • the Option field is the type of IOAM, and the three types defined by the IETF are: in-band OAM path option, in-band OAM path verification option, and in-band OAM end-to-end option;
  • option sub-TLVs which can have in-band OAM path option sub-TLV, in-band OAM path verification sub-TLV and in-band OAM end-to-end authentication option sub-TLV;
  • Figure 4 is a schematic diagram of the format of the in-band OAM path option sub-sub-TLV.
  • the F byte is used to indicate the type of path tracking. There are currently two types: Pre-allocated Trace Option and Incremental Trace Option. Incremental tracking option).
  • Figure 5 is a schematic diagram of the format of the in-band OAM path verification option sub-sub-TLV.
  • POT General POT
  • NSH Network Service Host
  • SR POT SR
  • the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, enhance the robustness of the network, and improve the operation and maintenance management capability of the network.
  • the embodiment of the present invention further provides a computer (readable) storage medium storing computer executable instructions, and the computer executable instructions are implemented by the processor to implement the foregoing method for implementing IOAM.
  • the storage medium includes volatile random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk (CD-ROM), Digital versatile disc (DVD) or other medium that is accessed.
  • Figure 6 is a schematic diagram of an apparatus for implementing an IOAM according to an embodiment of the present invention. As shown in Figure 6, the apparatus of this embodiment includes:
  • the expansion module 601 is configured to extend IOAM capability information of the routing protocol carrying device
  • the sending module 603 is configured to encapsulate the IOAM capability information in a routing protocol packet and send the information in the network.
  • the extension module 601, the IOAM capability information of the extended routing protocol carrying device includes: when the routing protocol is an intermediate system to an intermediate system ISIS protocol, the extended ISIS routing capability type length value TLV carries an IOAM capability attribute. IOAM capability sub-TLV information.
  • the extension module 601 the extended routing protocol carries the IOAM capability information of the device, including: when the routing protocol is the open shortest path first OSPF protocol, the extended OSPF routing information opaque link state LSA advertisement carries the IOAM IOAM capability sub-TLV information for capability attributes.
  • the IOAM capability information includes one or more of the following: an in-band OAM path option, an in-band OAM path verification option, and an in-band OAM end-to-end verification option.
  • An embodiment of the present invention further provides an apparatus for implementing an IOAM, including a memory and a processor, where
  • the memory stores (the first set of) executable instructions
  • the processor when executing the (first set) executable instructions stored by the memory, performs at least the following operations:
  • the extended routing protocol carries the in-band operation management and maintenance IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet and sent in the network.
  • An apparatus for implementing an IOAM in this embodiment may be a router, or may be a broadband access server, a switch, or the like.
  • FIG. 7 is a flowchart of a method for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 7, the method in this embodiment includes:
  • Step 21 Receive a routing protocol packet, and parse the IOAM capability information carried in the routing protocol packet.
  • Step 22 After receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
  • the embodiment of the present invention proposes to use the specific MPLS (Multi-Protocol Label Switching) label value to identify the carried IOAM data of the segment routing message, after the MPLS label. Encapsulating the IOAM data.
  • MPLS Multi-Protocol Label Switching
  • FIG. 8 is a format diagram of an IOAM supporting an MPLS label as an SR data plane encapsulation POT type according to an embodiment of the present invention, and each field is described as follows:
  • Label MPLS label field, which identifies that the SR carries IOAM data.
  • the tag needs to be assigned a specific value by the Internet Assigned Numbers Authority (IANA);
  • COS priority identifier
  • TTL Time to Live, used to encode the lifetime value. Similar to the TTL value function in the IP (Internet Protocol) packet, it also provides an anti-ring mechanism.
  • Type indicates that the IOAM data of the POT type is carried, and the value needs to be allocated by the IANA;
  • Length The value is 18, indicating the length of the IOAM data (excluding Label, COS, S, TTL fields);
  • RESERVED 8bits, reserved field, cleared to 0 when sent, ignored when receiving;
  • F flag bit, 1 bit, indicating which POT-profiles are active, 0 means that the even POT-profile is active, and 1 means that the odd POT-profile is active;
  • Flags flag field, not defined yet
  • Random 64-bit random number
  • Cumulative a 64-bit accumulated number that is updated on each node of the path to be verified
  • the IOAM POT parameter is carried in the optional Type Length Value object of the SRH (Segment Routing Header) in the form of a POT sub-TLV.
  • FIG. 9 is a schematic diagram of an apparatus for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 9, the apparatus of this embodiment includes:
  • the parsing module 901 is configured to receive the routing protocol packet and parse the IOAM capability information carried in the routing protocol packet.
  • the encapsulating module 903 is configured to encapsulate the corresponding IOAM data according to the IOAM capability information after receiving the user data packet.
  • the encapsulating module 903, according to the IOAM capability information, encapsulating the corresponding IOAM data includes: using a multi-protocol label switching label, the user data packet carries IOAM data, and the multi-protocol label switching The IOAM data is encapsulated after the tag.
  • An embodiment of the present invention further provides an apparatus for implementing an IOAM, including a memory and a processor, where
  • the memory stores (the second set of) executable instructions
  • the processor is configured to execute the (second set) executable instructions stored by the memory, and at least perform the following operations:
  • the IOAM capability information carried in the routing protocol packet is parsed; after receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
  • the embodiment of the present invention provides that the method for implementing the IOAM can be used not only for the segment routing network but also for other SFCs, VXLAN (Virtual eXtensible Local Area Network)-GPE (Generic Protocol Extension for VXLAN). Extensions and other technologies and protocols that support ISIS or OSPF routing protocol advertisements. Because their methods of extension are the same as those in the segment routing network, they are not explained here. The subsequent embodiments are also described in detail by taking a segment routing network as an example.
  • Embodiments of the present invention describe a detailed flow of advertising IOAM capability attributes using the ISIS protocol.
  • I is an ingress SR node, which is responsible for the encapsulation of SR packets.
  • E is an egress (egress) node, decapsulating the segment routing packets, and
  • A, B, C, and D are intermediate transmission SR nodes. Responsible for the transmission of SR messages.
  • the SR node When the SR node encapsulates a link state packet data unit (LSPDU), the ISIS routing capability TLV is encapsulated, where the ISIS routing capability TLV carries the IOAM capability sub-TLV proposed by the embodiment of the present invention, and the SR After the LSPDU is encapsulated, the node floods the segment routing domain by using the ISIS flooding mechanism.
  • the neighboring SR router of the SR node in the SR domain receives the LDPDU, it can judge according to the carried IOAM capability sub-TLV.
  • the SR router supports the IOAM capability.
  • FIG. 10 The detailed flow of the OSPF protocol advertised IOAM capability attribute in the embodiment of the present invention is still illustrated by using FIG. 10 as an example.
  • the OSPFv2 routing information opaque LSA needs to be encapsulated in the LSA of the OSPFv2 routing information.
  • IOAM capability TLV If the IGP protocol supported by the SR network is the OSPFv3 protocol, the segment routing node encapsulates the OSPFv3 routing information opaque LSA when the LSA packet is encapsulated.
  • the OSPFv3 routing information opaque LSA carries the IOAM capability TLV proposed by the embodiment of the present invention.
  • the SR node uses the OSPF flooding mechanism to flood the SR domain. After the neighboring SR router of the SR node in the SR domain receives the LSA packet, it can carry it.
  • the IOAM capability TLV determines that the segment routing node supports IOAM capabilities.
  • This embodiment describes the process of forwarding a segment routing message carrying IOAM data according to an embodiment of the present invention.
  • I is an SR node
  • E is an Egress SR node
  • A, B, C, M, O, and P are SR network intermediate transmission SR nodes.
  • the packet is encapsulated on the I node, and the SR message is decapsulated on the E node.
  • the intermediate transmission SR node performs packet transmission according to the SID indication encapsulated in the packet.
  • the path that the service wants to go is I-A-B-O-P-E, where the Node B is assigned the prefix SID B, the O node is assigned the neighbor SID O, the E node is assigned the prefix SID E, and the IOAM data is encapsulated on the ingress node I.
  • the forwarding process of packet encapsulation is as follows:
  • step S101 after receiving the packet P, the ingress SR router 1 encapsulates the segment routing message.
  • the ingress node I encapsulates the SID E, the SID O, and the SID B respectively. Since the IOAM POT data needs to be encapsulated, the SID is in the SID.
  • the Label Y identifier carries the IOAM data, and then encapsulates the IOAM packet behind the MPLS label.
  • Step S102 the ingress SR router 1 sends the encapsulated SR message to the network, and the intermediate node A forwards the packet to the SR node B according to the SID B encapsulated in the packet;
  • Step S103 after receiving the packet, the SR node B removes the outer SID B encapsulation, processes and updates the IOAM data, re-encapsulates the IOAM packet, and then forwards the packet to the node O;
  • Step S104 after receiving the packet, the node O removes the outer SID O encapsulation, and processes and updates the IOAM data, and then re-encapsulates the IOAM packet and forwards it to the node P;
  • Step S105 the intermediate transit node P updates the IOAM data, and sends the packet to the node E according to the SID E encapsulated in the packet;
  • Step S106 After receiving the packet, the SR node E decapsulates the SR message, finds that the IOAM data is carried, decapsulates the IOAM data, and processes the IOAM data.
  • the IOAM capability notification method and the data forwarding process in the embodiment of the present invention are described in detail in the embodiment of the present invention.
  • the IOAM capability advertisement in the embodiment of the present invention may also be applied to other networks, such as SFC, IPv6, and VXLAN- GPE and other networks that support ISIS/OSPF to advertise node attributes and capabilities are not elaborated here.
  • the embodiment of the present invention further provides a computer (readable) storage medium storing (computer) executable instructions, and the computer executable instructions are implemented by the processor to implement the foregoing method for implementing IOAM.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can 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.
  • the extended routing protocol carries the IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet, and is sent in the network. Therefore, the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, which can greatly enhance the robustness of the network and improve the operation and maintenance management capability of the network.

Abstract

Disclosed in the embodiment of the present invention is a method for realizing IOAM. The method comprises: extending IOAM capability information of a routing protocol-carrying device; and encapsulating the IOAM capability information in a routing protocol packet and sending same in a network. Further disclosed are a device for realizing IOAM and another method and device for realizing IOAM.

Description

一种实现IOAM的方法、装置及存储介质Method, device and storage medium for realizing IOAM
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710241354.9、申请日为2017年04月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此以引入方式并入本申请。The present application is based on a Chinese patent application filed on Jan. 13, 2017, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及操作管理维护(OAM,Operations,Administration and Maintenance)技术,尤其涉及一种实现带内操作管理维护IOAM的方法及装置。The present invention relates to an OAM (Operations, Administration and Maintenance) technology, and more particularly to a method and apparatus for implementing in-band operation management and maintenance IOAM.
背景技术Background technique
IOAM(in-suit OAM,又称为in-band OAM,带内操作管理维护),带内操作管理维护是指直接将需要携带的OAM信息和数据封装在用户数据报文中,随用户报文一起发送,而不需要额外的控制面报文发送OAM数据。IOAM可以实现多种网络故障检测功能,包括路径一致性检测,POT(中间传输节点验证),SLA(Service-Level Agreement,服务等级协议)验证等复杂的OAM功能。IOAM (in-suit OAM, in-band OAM, in-band operation management and maintenance). In-band operation management and maintenance refers to directly encapsulating the OAM information and data to be carried in user data packets. Send together without sending additional control plane messages to send OAM data. IOAM can implement a variety of network fault detection functions, including path consistency detection, POT (intermediate transport node verification), SLA (Service-Level Agreement) and other complex OAM functions.
在IOAM域的边缘节点,将IOAM数据报文嵌入在数据报文中,所以该节点又称为IOAM封装节点,离开IOAM域的边缘节点将OAM数据报文移除,该节点又称为IOAM解封装节点。IOAM的路径验证方法是:在IOAM域的封装节点中,将IOAM数据报文嵌入在数据报文中,IOAM转发节点根据一定算法将相关的OAM信息填入OAM数据中,IOAM的解封装节点根据转发节点填入的OAM信息校验路径是否与配置的路径一致,并将OAM数据报文移除。In the edge node of the IOAM domain, the IOAM data packet is embedded in the data packet, so the node is also called the IOAM encapsulation node, and the edge node leaving the IOAM domain removes the OAM data packet, which is also called the IOAM solution. Encapsulate the node. The path verification method of the IOAM is: in the encapsulated node of the IOAM domain, the IOAM data packet is embedded in the data packet, and the IOAM forwarding node fills the relevant OAM information into the OAM data according to a certain algorithm, and the IOAM decapsulation node is based on Whether the OAM information verification path filled in by the forwarding node is consistent with the configured path and the OAM data packet is removed.
根据部署,带内OAM可以在不同的场景中使用,比如,段路由(Segment Routing)网络,段路由是一种基于源地址路由的方法,通过在现有的MPLS(多协议标签交换)网络的报文头或者IPv6报文头中携带段路由报文头(Segment Routing Header),在段路由报文头中携带有一系列的指示操作(也称为段操作)用于数据在网络中的路由和传输。通过段路由可以非常便捷的实现网络的负载均衡和流程工程,以及快速重路由等复杂网络功能。其中,段操作指示也可以扩展实现基于业务或者拓扑的路由指示,那么段路由也可以实现基于业务的网络虚拟化。但是现有的段路由网络只能实现分层服务提供程序(LSP)ping,tracert(跟踪路由)等简单的OAM功能,而无法实现带内OAM的路径验证,端到端的逻辑路径的可达性检测等复杂的OAM功能。Depending on the deployment, in-band OAM can be used in different scenarios, such as segment routing networks. Segment routing is a method based on source address routing through existing MPLS (Multiprotocol Label Switching) networks. The packet header or the IPv6 packet header carries a segment routing header (Segment Routing Header), and the segment routing packet header carries a series of indication operations (also called segment operations) for routing data in the network. transmission. Segment routing makes it easy to implement network load balancing and process engineering, as well as complex network functions such as fast rerouting. The segment operation indication can also be extended to implement a service or topology-based routing indication, and the segment routing can also implement service-based network virtualization. However, the existing segment routing network can only implement simple OAM functions such as layered service provider (LSP) ping and tracert (tracking routing), but cannot implement in-band OAM path verification and end-to-end logical path accessibility. Complex OAM functions such as detection.
但现有的技术方案和IOAM技术中,无法实现IOAM节点的能力通告。However, in the existing technical solutions and IOAM technologies, the capability announcement of the IOAM node cannot be realized.
发明内容Summary of the invention
本发明实施例在于提供一种实现带内操作管理维护IOAM的方法及装置和计算机存储介质,以实现IOAM能力的通告。An embodiment of the present invention provides a method and apparatus for implementing in-band operation management and maintenance of an IOAM and a computer storage medium to implement notification of IOAM capabilities.
本发明实施例提供一种实现IOAM的方法,所述方法包括:An embodiment of the present invention provides a method for implementing an IOAM, where the method includes:
扩展路由协议携带设备的IOAM能力信息;The extended routing protocol carries the IOAM capability information of the device;
将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The IOAM capability information is encapsulated in a routing protocol message and sent in the network.
本发明实施例提供一种实现IOAM的装置,包括:An embodiment of the present invention provides an apparatus for implementing an IOAM, including:
扩展模块,配置为扩展路由协议携带设备的IOAM能力信息;An extension module configured to extend IOAM capability information of the routing protocol carrying device;
发送模块,配置为将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The sending module is configured to encapsulate the IOAM capability information in a routing protocol packet and send the information in the network.
本发明实施例还提供一种实现IOAM的装置,所述装置包括存储器和处理器,其中,An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes a memory and a processor, where
所述存储器,存储有可执行指令;The memory stores executable instructions;
所述处理器,用于执行所述存储器存储的可执行指令时,至少执行以下操作:The processor, when executing the executable instructions stored by the memory, performs at least the following operations:
扩展路由协议携带设备的带内操作管理维护IOAM能力信息;将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The extended routing protocol carries the in-band operation management and maintenance IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet and sent in the network.
本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的实现IOAM的方法。An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for implementing IOAM.
本发明实施例还提供一种实现IOAM的方法,所述方法包括:An embodiment of the present invention further provides a method for implementing an IOAM, where the method includes:
接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;Receiving a routing protocol packet, and parsing the IOAM capability information carried in the routing protocol packet;
接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。After receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
本发明实施例还提供一种实现IOAM的装置,所述装置包括:An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes:
解析模块,配置为接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;The parsing module is configured to receive the routing protocol packet and parse the IOAM capability information carried in the routing protocol packet;
封装模块,配置为接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。The encapsulating module is configured to encapsulate the corresponding IOAM data according to the IOAM capability information after receiving the user data packet.
本发明实施例还提供一种实现IOAM的装置,所述装置包括存储器和处理器,其中,An embodiment of the present invention further provides an apparatus for implementing an IOAM, where the apparatus includes a memory and a processor, where
所述存储器,存储有可执行指令;The memory stores executable instructions;
所述处理器,用于执行所述存储器存储的可执行指令时,至少执行以下操作:The processor, when executing the executable instructions stored by the memory, performs at least the following operations:
接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。After receiving the routing protocol packet, the IOAM capability information carried in the routing protocol packet is parsed; after receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的实现IOAM的方法。An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for implementing IOAM.
综上,本发明实施例提供的实现IOAM的方法及装置、存储介质,IOAM节点可以在网络中通告其IOAM能力和IOAM属性信息,增强网络的健壮性,提高网络的运维管理能力。In summary, the method and device for implementing IOAM and the storage medium provided by the embodiments of the present invention, the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, enhance the robustness of the network, and improve the operation and maintenance management capability of the network.
附图说明DRAWINGS
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The drawings are intended to provide a further understanding of the invention, and are intended to be a In the drawing:
图1为本发明实施例一的一种实现IOAM的方法的流程图;1 is a flowchart of a method for implementing an IOAM according to Embodiment 1 of the present invention;
图2为本发明实施例的ISIS路由能力TLV格式的示意图;2 is a schematic diagram of an ISIS routing capability TLV format according to an embodiment of the present invention;
图3为本发明实施例的IOAM能力子-TLV格式的示意图;3 is a schematic diagram of an IOAM capability sub-TLV format according to an embodiment of the present invention;
图4为本发明实施例的带内OAM路径选项子-子TLV格式的示意图;4 is a schematic diagram of an in-band OAM path option sub-sub-TLV format according to an embodiment of the present invention;
图5为本发明实施例的带内OAM路径验证选项子-子-TLV格式的示意图;5 is a schematic diagram of an in-band OAM path verification option sub-sub-TLV format according to an embodiment of the present invention;
图6为本发明实施例二的一种实现IOAM的装置的示意图;FIG. 6 is a schematic diagram of an apparatus for implementing an IOAM according to Embodiment 2 of the present invention; FIG.
图7为本发明实施例三的一种实现IOAM的方法的流程图;FIG. 7 is a flowchart of a method for implementing an IOAM according to Embodiment 3 of the present invention;
图8为本发明实施例的段路由网络的IOAM封装的示意图;FIG. 8 is a schematic diagram of an IOAM encapsulation of a segment routing network according to an embodiment of the present invention; FIG.
图9为本发明实施例四的一种实现IOAM的装置的示意图;FIG. 9 is a schematic diagram of an apparatus for implementing an IOAM according to Embodiment 4 of the present invention; FIG.
图10为本发明实施例的路由协议通告IOAM能力属性网络结构图。FIG. 10 is a structural diagram of a routing protocol advertisement IOAM capability attribute network according to an embodiment of the present invention.
图11为本发明实施例的携带IOAM的段路由数据报文转发流程图。FIG. 11 is a flowchart of forwarding a segment routing data packet carrying an IOAM according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一 Embodiment 1
图1为本发明实施例的一种实现IOAM的方法的流程图,如图1所示,本实施例的方法包括:FIG. 1 is a flowchart of a method for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes:
步骤11、扩展路由协议携带设备的IOAM能力信息;Step 11: The IOAM capability information of the extended routing protocol carrying device;
步骤12、将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。Step 12: The IOAM capability information is encapsulated in a routing protocol packet and sent in the network.
在一实施例中,所述扩展路由协议携带设备的IOAM能力信息,包括:所述路由协议为ISIS(Intermediate System-to-Intermediate System,中间系统到中间系统)协议时,扩展IS-IS路由能力TLV(type,length,value,类型长度值)携带IOAM能力属性的IOAM能力子-TLV信息;In an embodiment, the extended routing protocol carries the IOAM capability information of the device, including: when the routing protocol is an ISIS (Intermediate System-to-Intermediate System) protocol, the IS-IS routing capability is extended. TLV (type, length, value, type length value) carries the IOAM capability sub-TLV information of the IOAM capability attribute;
在一实施例中,所述扩展路由协议携带设备的IOAM能力信息,包括:In an embodiment, the extended routing protocol carries the IOAM capability information of the device, including:
所述路由协议为OSPF(Open Shortest Path First,开放式最短路径优先)协议时,扩展OSPF RI Opaque LSA(Link-State Advertisement,链路状态通告)携带IOAM能力属性的IOAM能力子-TLV信息;When the routing protocol is an OSPF (Open Shortest Path First) protocol, the OSPF RI Opaque LSA (Link-State Advertisement) is extended to carry the IOAM capability sub-TLV information of the IOAM capability attribute.
其中,所述IOAM能力包括以下的一种或多种:in-suit OAM Tracing Option(带内OAM路径选项),in-suit OAM Proof of Transit Option(带内OAM路径验证选项)和In-situ OAM Edge-to-Edge Option(带内OAM端到端的选项)类型。The IOAM capability includes one or more of the following: an in-suit OAM Tracing Option, an in-suit OAM Proof of Transit Option, and an In-situ OAM. Edge-to-Edge Option (option for in-band OAM end-to-end).
具体地,所述基于段路由的段路由封装包括:标识位、标志字段、随机数、累加数等字段。Specifically, the segment routing based segment routing encapsulation includes: an identifier bit, a flag field, a random number, an accumulated number, and the like.
IETF(Internet Engineer Task Force,互联网工程任务组)标准RFC 4971中定义了一种TLV结构,称为ISIS路由能力TLV(中间系统到中间系统路由器能力TLV),如图2所示,该TLV用于通告路由器的各种能力属性信息,比如TE(流量工程)节点能力描述、PCED(路径计算单元数据库) 等能力属性,本发明实施例需要路由器通告其IOAM能力属性,因此可以扩展ISIS路由能力TLV新增支持IOAM能力子-TLV。当ISIS路由器通告其能力属性时,携带IOAM能力子-TLV,并在段路由网络中泛洪,当其他ISIS路由器收到了该通告后,就可以判断出所述的ISIS路由支持IOAM能力和IOAM属性参数信息。The IETF (Internet Engineer Task Force) standard RFC 4971 defines a TLV structure called ISIS Routing Capability TLV (Intermediate System to Intermediate System Router Capability TLV), as shown in Figure 2, which is used in the TLV. The capability attributes of the router are advertised, such as the TE (Traffic Engineering) node capability description, the PCED (Path Computation Unit Database), and the like. The embodiment of the present invention requires the router to advertise its IOAM capability attribute, so that the ISIS routing capability TLV can be extended. Added support for IOAM capability sub-TLV. When the ISIS router advertises its capability attribute, it carries the IOAM capability sub-TLV and floods the segment routing network. When other ISIS routers receive the advertisement, it can determine that the ISIS route supports IOAM capability and IOAM attributes. Parameter information.
对于OSPF协议,在IETF(Internet Engineer Task Force,互联网工程任务组)标准RFC 4970中定义了OSPFv2Router Information(路由信息,简称RI)Opaque(不透明)LSA和OSPFv3RI不透明LSA,分别用于OSPFv2协议和OSPFv3通告其路由器能力属性信息。For the OSPF protocol, OSPFv2Router Information (Routing Information, RI) Opaque (opaque) LSA and OSPFv3RI opaque LSA are defined in the IETF (Internet Engineering Task Force) standard RFC 4970, which are used for OSPFv2 protocol and OSPFv3 advertisement respectively. Its router capability attribute information.
本发明实施例提出的路由器IOAM能力属性信息,通过扩展OSPFv2路由信息不透明LSA和OSPFv3路由信息不透明LSA携带IOAM能力子-TLV。在OSPF路由器向邻居通告能力属性时,在OSPFv2路由信息不透明LSA或者OSPFv3路由信息不透明LSA填充IOAM能力子-TLV,并把封装好的LSA通告OSPF链路状态通告报文在网络中泛洪,其他邻居收到了该链路状态通告报文后,通过封装的IOAM能力就可以判断所述OSPF路由器支持IOAM数据处理能力和支持的IOAM类型。The IOAM capability attribute information of the router in the embodiment of the present invention extends the OSPFv2 routing information opaque LSA and the OSPFv3 routing information opaque LSA to carry the IOAM capability sub-TLV. When the OSPF router advertises the capability attribute to the neighbor, the OSPFv2 route information opaque LSA or the OSPFv3 route information opaque LSA fills the IOAM capability sub-TLV, and the encapsulated LSA advertises the OSPF link state advertisement packet flooding the network. After receiving the link state advertisement packet, the neighbor can determine the IOAM data processing capability and the supported IOAM type by using the encapsulated IOAM capability.
本发明实施例提出的IOAM能力子-TLV的格式,如图3所示,各个字段的描述如下:The format of the IOAM capability sub-TLV proposed by the embodiment of the present invention is as shown in FIG. 3, and the descriptions of the respective fields are as follows:
Type字段标识本子-TLV为IOAM能力子-TLV;The Type field identifies the sub-TLV as an IOAM capability sub-TLV;
Length字段为本子-TLV的总长度;The Length field is the total length of the sub-TLV;
Option(选项)type字段为IOAM的类型,IETF定义的三种类型:带内OAM路径选项,带内OAM路径验证选项和带内OAM端到端的选项;The Option field is the type of IOAM, and the three types defined by the IETF are: in-band OAM path option, in-band OAM path verification option, and in-band OAM end-to-end option;
Reserved字段,预留字段,待扩展。Reserved field, reserved field, to be extended.
并定义了一个或者多个选项子-TLV,可以有带内OAM路径选项子-TLV,带内OAM路径验证子-TLV和带内OAM端到端的验证选项子-TLV;And define one or more option sub-TLVs, which can have in-band OAM path option sub-TLV, in-band OAM path verification sub-TLV and in-band OAM end-to-end authentication option sub-TLV;
Reserved字段,预留字段。Reserved field, reserved field.
图4是带内OAM路径选项子-子-TLV的格式示意图,F字节用于表示路径跟踪的类型,目前有两种类型:Pre-allocated Trace Option(预分配跟踪选项)及Incremental Trace Option(增量跟踪选项)。Figure 4 is a schematic diagram of the format of the in-band OAM path option sub-sub-TLV. The F byte is used to indicate the type of path tracking. There are currently two types: Pre-allocated Trace Option and Incremental Trace Option. Incremental tracking option).
图5是带内OAM路径验证选项子-子-TLV的格式的示意图,目前定义了三种类型,通用POT、NSH(Network Service Host,网络服务主机)metadata(元数据)及SR POT。Figure 5 is a schematic diagram of the format of the in-band OAM path verification option sub-sub-TLV. Currently, three types, general POT, NSH (Network Service Host) metadata and SR POT are defined.
上述方案中,IOAM节点可以在网络中通告其IOAM能力和IOAM属性信息,增强网络的健壮性,提高网络的运维管理能力In the above solution, the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, enhance the robustness of the network, and improve the operation and maintenance management capability of the network.
本发明实施例还提供一种计算机(可读)存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述实现IOAM的方法。所述存储介质包括易挥发性随机存取存储器(RAM)、只读存储器(ROM)、电可擦可编程只读存储器(EEPROM)、闪存或其他存储器技术、只读光盘(CD-ROM)、数字通用盘(DVD)或其他被访问的他介质。The embodiment of the present invention further provides a computer (readable) storage medium storing computer executable instructions, and the computer executable instructions are implemented by the processor to implement the foregoing method for implementing IOAM. The storage medium includes volatile random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk (CD-ROM), Digital versatile disc (DVD) or other medium that is accessed.
实施例二 Embodiment 2
图6为本发明实施例的一种实现IOAM的装置的示意图,如图6所示,本实施例的装置包括:Figure 6 is a schematic diagram of an apparatus for implementing an IOAM according to an embodiment of the present invention. As shown in Figure 6, the apparatus of this embodiment includes:
扩展模块601,配置为扩展路由协议携带设备的IOAM能力信息;The expansion module 601 is configured to extend IOAM capability information of the routing protocol carrying device;
发送模块603,配置为将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The sending module 603 is configured to encapsulate the IOAM capability information in a routing protocol packet and send the information in the network.
在一实施例中,所述扩展模块601,扩展路由协议携带设备的IOAM能力信息包括:所述路由协议为中间系统到中间系统ISIS协议时,扩展ISIS路由能力类型长度值TLV携带IOAM能力属性的IOAM能力子TLV信息。In an embodiment, the extension module 601, the IOAM capability information of the extended routing protocol carrying device includes: when the routing protocol is an intermediate system to an intermediate system ISIS protocol, the extended ISIS routing capability type length value TLV carries an IOAM capability attribute. IOAM capability sub-TLV information.
在一实施例中,所述扩展模块601,扩展路由协议携带设备的IOAM能 力信息,包括:所述路由协议为开放式最短路径优先OSPF协议时,扩展OSPF路由信息不透明链路状态LSA通告携带IOAM能力属性的IOAM能力子TLV信息。In an embodiment, the extension module 601, the extended routing protocol carries the IOAM capability information of the device, including: when the routing protocol is the open shortest path first OSPF protocol, the extended OSPF routing information opaque link state LSA advertisement carries the IOAM IOAM capability sub-TLV information for capability attributes.
其中,所述IOAM能力信息包括以下的一种或多种:带内OAM路径选项,带内OAM路径验证选项,带内OAM端到端的验证选项。The IOAM capability information includes one or more of the following: an in-band OAM path option, an in-band OAM path verification option, and an in-band OAM end-to-end verification option.
本发明实施例还提供一种实现IOAM的装置,包括存储器和处理器,其中,An embodiment of the present invention further provides an apparatus for implementing an IOAM, including a memory and a processor, where
所述存储器,存储有(第一组)可执行指令;The memory stores (the first set of) executable instructions;
所述处理器,用于执行所述存储器存储的(第一组)可执行指令时,至少执行以下操作:The processor, when executing the (first set) executable instructions stored by the memory, performs at least the following operations:
扩展路由协议携带设备的带内操作管理维护IOAM能力信息;将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The extended routing protocol carries the in-band operation management and maintenance IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet and sent in the network.
本实施例的一种实现IOAM的装置可以是路由器,还可以是宽带接入服务器,交换机等设备。An apparatus for implementing an IOAM in this embodiment may be a router, or may be a broadband access server, a switch, or the like.
实施例三 Embodiment 3
图7为本发明实施例的一种实现IOAM的方法的流程图,如图7所示,本实施例的方法包括:FIG. 7 is a flowchart of a method for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 7, the method in this embodiment includes:
步骤21、接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;Step 21: Receive a routing protocol packet, and parse the IOAM capability information carried in the routing protocol packet.
步骤22、接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。Step 22: After receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
在一实施例中,对于网络为SR网络时,本发明实施例提出利用特定的MPLS(Multi-Protocol Label Switching,多协议标签交换)标签值标识段路由报文的携带IOAM数据,在MPLS标签后封装所述IOAM数据。In an embodiment, when the network is an SR network, the embodiment of the present invention proposes to use the specific MPLS (Multi-Protocol Label Switching) label value to identify the carried IOAM data of the segment routing message, after the MPLS label. Encapsulating the IOAM data.
根据本发明实施例,图8为本发明实施例的支持MPLS标签作为SR数据平面封装POT类型的IOAM的格式图,各个字段的描述如下:FIG. 8 is a format diagram of an IOAM supporting an MPLS label as an SR data plane encapsulation POT type according to an embodiment of the present invention, and each field is described as follows:
Label:MPLS标签字段,标识本SR携带有IOAM数据。该标签需要由IANA(The Internet Assigned Numbers Authority,互联网数字分配机构)分配特定的值;Label: MPLS label field, which identifies that the SR carries IOAM data. The tag needs to be assigned a specific value by the Internet Assigned Numbers Authority (IANA);
COS:优先级标识;COS: priority identifier;
S:栈底标识,当携带有IOAM数据时,本字段置1,表示本标签为最底层标签;S: The bottom label of the stack. When carrying IOAM data, this field is set to 1, indicating that the label is the lowest layer label;
TTL:生存期字段(Time to Live),用来对生存期值进行编码。与IP(Internet Protocol,因特网互联协议)报文中的TTL值功能类似,同样是提供一种防环机制;TTL: Time to Live, used to encode the lifetime value. Similar to the TTL value function in the IP (Internet Protocol) packet, it also provides an anti-ring mechanism.
Type:指示携带有POT类型的IOAM数据,该值需要由IANA分配;Type: indicates that the IOAM data of the POT type is carried, and the value needs to be allocated by the IANA;
Length:取值为18,表示本IOAM数据的长度(不包括Label,COS,S,TTL字段);Length: The value is 18, indicating the length of the IOAM data (excluding Label, COS, S, TTL fields);
RESERVED:8bits,保留字段,发送时清0,接收时忽略;RESERVED: 8bits, reserved field, cleared to 0 when sent, ignored when receiving;
F:标识位,1bit,表示哪些POT-profile(配置)是活跃的,0表示偶数POT-profile是活跃的,1表示奇数POT-profile是活跃的;F: flag bit, 1 bit, indicating which POT-profiles are active, 0 means that the even POT-profile is active, and 1 means that the odd POT-profile is active;
Flags:标志字段,暂未定义;Flags: flag field, not defined yet;
Random:64位的随机数;Random: 64-bit random number;
Cumulative:64位的累加数,该累加数在待验证路径的每个节点上更新;Cumulative: a 64-bit accumulated number that is updated on each node of the path to be verified;
如果SR网络的数据平面是IPv6转发,则IOAM POT参数以POT子-TLV的形式携带在SRH(Segment Routing Header,段路由头)的optional Type Length Value object(可选类型长度值对象)字段中。If the data plane of the SR network is IPv6, the IOAM POT parameter is carried in the optional Type Length Value object of the SRH (Segment Routing Header) in the form of a POT sub-TLV.
实施例四 Embodiment 4
图9为本发明实施例的一种实现IOAM的装置的示意图,如图9所示,本实施例的装置包括:FIG. 9 is a schematic diagram of an apparatus for implementing an IOAM according to an embodiment of the present invention. As shown in FIG. 9, the apparatus of this embodiment includes:
解析模块901,配置为接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;The parsing module 901 is configured to receive the routing protocol packet and parse the IOAM capability information carried in the routing protocol packet.
封装模块903,配置为接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。The encapsulating module 903 is configured to encapsulate the corresponding IOAM data according to the IOAM capability information after receiving the user data packet.
在一实施例中,所述封装模块903,根据所述IOAM能力信息封装相应的IOAM数据包括:使用多协议标签交换标签标识所述用户数据报文携带有IOAM数据,在所述多协议标签交换标签后封装所述IOAM数据。In an embodiment, the encapsulating module 903, according to the IOAM capability information, encapsulating the corresponding IOAM data, includes: using a multi-protocol label switching label, the user data packet carries IOAM data, and the multi-protocol label switching The IOAM data is encapsulated after the tag.
本发明实施例还提供一种实现IOAM的装置,包括存储器和处理器,其中,An embodiment of the present invention further provides an apparatus for implementing an IOAM, including a memory and a processor, where
所述存储器,存储有(第二组)可执行指令;The memory stores (the second set of) executable instructions;
所述处理器,用于执行所述存储器存储的(第二组)可执行指令,至少执行以下操作:The processor is configured to execute the (second set) executable instructions stored by the memory, and at least perform the following operations:
接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。After receiving the routing protocol packet, the IOAM capability information carried in the routing protocol packet is parsed; after receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
本发明实施例提出实现IOAM的方法不仅仅可以用于段路由网络,也适用于其他SFC,VXLAN(Virtual eXtensible Local Area Network,虚拟可扩展局域网)-GPE(Generic Protocol Extension for VXLAN,VXLAN的通用协议扩展)等支持ISIS或者OSPF路由协议通告的技术和协议,由于其扩展的方法跟段路由网络中的方法一样,在此不一一阐述。后续的实施例,也以段路由网络为例进行详细的介绍。The embodiment of the present invention provides that the method for implementing the IOAM can be used not only for the segment routing network but also for other SFCs, VXLAN (Virtual eXtensible Local Area Network)-GPE (Generic Protocol Extension for VXLAN). Extensions and other technologies and protocols that support ISIS or OSPF routing protocol advertisements. Because their methods of extension are the same as those in the segment routing network, they are not explained here. The subsequent embodiments are also described in detail by taking a segment routing network as an example.
实施例五 Embodiment 5
本发明实施例阐述使用ISIS协议通告IOAM能力属性的详细流程。Embodiments of the present invention describe a detailed flow of advertising IOAM capability attributes using the ISIS protocol.
图10中,I为ingress(进入)SR节点,负责SR报文的封装,E为egress(出口)节点,对段路由报文解封装,A、B、C、D为中间的传输SR节点,负责SR报文的传输。In Figure 10, I is an ingress SR node, which is responsible for the encapsulation of SR packets. E is an egress (egress) node, decapsulating the segment routing packets, and A, B, C, and D are intermediate transmission SR nodes. Responsible for the transmission of SR messages.
当SR节点封装LSPDU(link State Packet Data Unit,链路状态数据报文单元)时,封装ISIS路由能力TLV,其中,ISIS路由能力TLV携带本发明实施例提出的IOAM能力子-TLV,所述SR节点在封装LSPDU后,使用ISIS泛洪机制在段路由域中进行泛洪,当SR域中的所述SR节点的邻居SR路由器收到了该LDPDU后,就可以根据携带的IOAM能力子-TLV判断出所述SR路由器支持IOAM能力。When the SR node encapsulates a link state packet data unit (LSPDU), the ISIS routing capability TLV is encapsulated, where the ISIS routing capability TLV carries the IOAM capability sub-TLV proposed by the embodiment of the present invention, and the SR After the LSPDU is encapsulated, the node floods the segment routing domain by using the ISIS flooding mechanism. When the neighboring SR router of the SR node in the SR domain receives the LDPDU, it can judge according to the carried IOAM capability sub-TLV. The SR router supports the IOAM capability.
在以下一个可选的实施例中:In an optional embodiment below:
仍然以图10为例阐述本发明实施例的使用OSPF协议通告IOAM能力属性的详细流程。The detailed flow of the OSPF protocol advertised IOAM capability attribute in the embodiment of the present invention is still illustrated by using FIG. 10 as an example.
如果SR网络支持的IGP(Interior Gateway Protocol,内部网关协议)为OSPFv2协议,当段路由节点封装LSA报文时,需要封装OSPFv2路由信息不透明LSA,其中,OSPFv2路由信息不透明LSA携带本发明实施例提出的IOAM能力TLV。如果SR网络支持的IGP协议为OSPFv3协议,段路由节点在封装LSA报文时封装OSPFv3路由信息不透明LSA,其中,OSPFv3路由信息不透明LSA携带本发明实施例提出的IOAM能力TLV。If the IGP (Interior Gateway Protocol) supported by the SR network is an OSPFv2 protocol, the OSPFv2 routing information opaque LSA needs to be encapsulated in the LSA of the OSPFv2 routing information. IOAM capability TLV. If the IGP protocol supported by the SR network is the OSPFv3 protocol, the segment routing node encapsulates the OSPFv3 routing information opaque LSA when the LSA packet is encapsulated. The OSPFv3 routing information opaque LSA carries the IOAM capability TLV proposed by the embodiment of the present invention.
不管SR网络是支持OSPFv2还是OSPFv3,SR节点都使用OSPF泛洪机制在SR域中进行泛洪,当SR域中的所述SR节点的邻居SR路由器收到了该LSA报文后,就可以根据携带的IOAM能力TLV判断出所述段路由节点支持IOAM能力。Regardless of whether the SR network supports OSPFv2 or OSPFv3, the SR node uses the OSPF flooding mechanism to flood the SR domain. After the neighboring SR router of the SR node in the SR domain receives the LSA packet, it can carry it. The IOAM capability TLV determines that the segment routing node supports IOAM capabilities.
在以下一个可选的实施例中:In an optional embodiment below:
本实施例结合图10阐述本发明实施例的携带IOAM数据的段路由报文 转发流程。This embodiment describes the process of forwarding a segment routing message carrying IOAM data according to an embodiment of the present invention.
如图10中,I为进入SR节点,E为Egress SR节点,A,B,C,M,O,P为SR网络中间传输SR节点。报文在I节点上做SR封装,在E节点上解封装SR报文,中间传输SR节点根据报文封装的SID指示进行报文传输。图8中,业务希望走的路径为I-A-B-O-P-E,其中,B节点分配了前缀SID B,O节点分配邻居SID O,E节点分配了前缀SID E,并且在入口节点I上封装了IOAM数据。报文的封装的转发流程如下:As shown in FIG. 10, I is an SR node, E is an Egress SR node, and A, B, C, M, O, and P are SR network intermediate transmission SR nodes. The packet is encapsulated on the I node, and the SR message is decapsulated on the E node. The intermediate transmission SR node performs packet transmission according to the SID indication encapsulated in the packet. In Figure 8, the path that the service wants to go is I-A-B-O-P-E, where the Node B is assigned the prefix SID B, the O node is assigned the neighbor SID O, the E node is assigned the prefix SID E, and the IOAM data is encapsulated on the ingress node I. The forwarding process of packet encapsulation is as follows:
步骤S101,入口SR路由器I收到了报文P后,进行段路由报文封装,根据业务的需要,入口节点I分别封装SID E,SID O,SID B,由于需要封装IOAM POT数据,所以在SID list的后面封装特定的MPLS标签Label Y标识本SR报文携带有IOAM数据,然后在MPLS label的后面封装有IOAM报文;In step S101, after receiving the packet P, the ingress SR router 1 encapsulates the segment routing message. According to the needs of the service, the ingress node I encapsulates the SID E, the SID O, and the SID B respectively. Since the IOAM POT data needs to be encapsulated, the SID is in the SID. After the list is encapsulated with a specific MPLS label, the Label Y identifier carries the IOAM data, and then encapsulates the IOAM packet behind the MPLS label.
步骤S102,入口SR路由器I将封装好的SR报文发送到网络中,中间节点A根据报文封装的SID B将报文转发到SR节点B上;Step S102, the ingress SR router 1 sends the encapsulated SR message to the network, and the intermediate node A forwards the packet to the SR node B according to the SID B encapsulated in the packet;
步骤S103,SR节点B收到报文后,去掉外层的SID B封装,对IOAM数据进行处理和更新后,重新封装IOAM报文,然后将报文转发到节点O;Step S103, after receiving the packet, the SR node B removes the outer SID B encapsulation, processes and updates the IOAM data, re-encapsulates the IOAM packet, and then forwards the packet to the node O;
步骤S104,节点O收到报文后,去掉外层的SID O封装,对IOAM数据进行处理和更新后,重新封装IOAM报文,并转发到节点P;Step S104, after receiving the packet, the node O removes the outer SID O encapsulation, and processes and updates the IOAM data, and then re-encapsulates the IOAM packet and forwards it to the node P;
步骤S105,中间传输节点P更新IOAM数据后,根据报文封装的SID E将报文发送到节点E;Step S105, the intermediate transit node P updates the IOAM data, and sends the packet to the node E according to the SID E encapsulated in the packet;
步骤S106,SR节点E收到了报文后,解封装SR报文,发现携带有IOAM数据,解封装IOAM数据,对IOAM数据进行处理。Step S106: After receiving the packet, the SR node E decapsulates the SR message, finds that the IOAM data is carried, decapsulates the IOAM data, and processes the IOAM data.
本发明实施例以段路由网络详细描述了本发明实施例的IOAM能力通告的方法和数据转发的流程,本发明实施例的IOAM能力通告也可以应用于其他的网络,比如SFC、IPv6、VXLAN-GPE等支持ISIS/OSPF通告节点 属性和能力的网络中,在此不做一一的阐述。The IOAM capability notification method and the data forwarding process in the embodiment of the present invention are described in detail in the embodiment of the present invention. The IOAM capability advertisement in the embodiment of the present invention may also be applied to other networks, such as SFC, IPv6, and VXLAN- GPE and other networks that support ISIS/OSPF to advertise node attributes and capabilities are not elaborated here.
本发明实施例还提供一种计算机(可读)存储介质,存储有(计算机)可执行指令,所述计算机可执行指令被处理器执行时实现上述实现IOAM的方法。The embodiment of the present invention further provides a computer (readable) storage medium storing (computer) executable instructions, and the computer executable instructions are implemented by the processor to implement the foregoing method for implementing IOAM.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例,当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can 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 invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. 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.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,扩展路由协议携带设备的IOAM能力信息;将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。由此,IOAM节点可以在网络中通告其IOAM能力和IOAM属性信息,可大大增强网络的健壮性,提高网络的运维管理能力。In the embodiment of the present invention, the extended routing protocol carries the IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet, and is sent in the network. Therefore, the IOAM node can advertise its IOAM capability and IOAM attribute information in the network, which can greatly enhance the robustness of the network and improve the operation and maintenance management capability of the network.

Claims (17)

  1. 一种实现带内操作管理维护IOAM的方法,所述方法包括:A method for implementing in-band operation management and maintenance IOAM, the method comprising:
    扩展路由协议携带设备的IOAM能力信息;The extended routing protocol carries the IOAM capability information of the device;
    将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The IOAM capability information is encapsulated in a routing protocol message and sent in the network.
  2. 如权利要求1所述的方法,其中,所述扩展路由协议携带设备的IOAM能力信息,包括:The method of claim 1, wherein the extended routing protocol carries IOAM capability information of the device, including:
    所述路由协议为中间系统到中间系统ISIS协议时,扩展ISIS路由能力类型长度值TLV携带IOAM能力属性的IOAM能力子TLV信息。When the routing protocol is an intermediate system to the intermediate system ISIS protocol, the extended ISIS routing capability type length value TLV carries the IOAM capability sub-TLV information of the IOAM capability attribute.
  3. 如权利要求1所述的方法,其中,所述扩展路由协议携带设备的IOAM能力信息,包括:The method of claim 1, wherein the extended routing protocol carries IOAM capability information of the device, including:
    所述路由协议为开放式最短路径优先OSPF协议时,扩展OSPF路由信息不透明链路状态LSA通告携带IOAM能力属性的IOAM能力子TLV信息。When the routing protocol is the open shortest path first OSPF protocol, the extended OSPF routing information opaque link state LSA advertises the IOAM capability sub-TLV information carrying the IOAM capability attribute.
  4. 如权利要求1至3任一项所述的方法,其中,所述IOAM能力信息包括以下的一种或多种:The method according to any one of claims 1 to 3, wherein the IOAM capability information comprises one or more of the following:
    带内OAM路径选项,带内OAM路径验证选项,带内OAM端到端的验证选项。In-band OAM path option, in-band OAM path verification option, in-band OAM end-to-end authentication option.
  5. 如权利要求1至3任一项所述的方法,其特征在于:所述网络包括以下任一网络:A method according to any one of claims 1 to 3, wherein the network comprises any of the following networks:
    段路由网络、业务功能链网络、互联网协议的第六版网络、虚拟可扩展局域网。Segment routing network, business function chain network, sixth edition network of Internet Protocol, virtual scalable local area network.
  6. 一种实现带内操作管理维护IOAM的装置,所述装置包括:An apparatus for implementing in-band operation management and maintenance of an IOAM, the apparatus comprising:
    扩展模块,配置为扩展路由协议携带设备的IOAM能力信息;An extension module configured to extend IOAM capability information of the routing protocol carrying device;
    发送模块,配置为将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The sending module is configured to encapsulate the IOAM capability information in a routing protocol packet and send the information in the network.
  7. 如权利要求6所述的装置,其中,The apparatus of claim 6 wherein
    所述扩展模块,配置为扩展路由协议携带设备的IOAM能力信息包括:所述路由协议为中间系统到中间系统ISIS协议时,扩展ISIS路由能力类型长度值TLV携带IOAM能力属性的IOAM能力子TLV信息。The expansion module, configured to extend the IOAM capability information of the routing protocol carrying device, includes: when the routing protocol is an intermediate system to the intermediate system ISIS protocol, the extended ISIS routing capability type length value TLV carries the IOAM capability sub-TLV information of the IOAM capability attribute. .
  8. 如权利要求6所述的装置,其中,The apparatus of claim 6 wherein
    所述扩展模块,配置为扩展路由协议携带设备的IOAM能力信息,包括:所述路由协议为开放式最短路径优先OSPF协议时,扩展OSPF路由信息不透明链路状态LSA通告携带IOAM能力属性的IOAM能力子TLV信息。The expansion module is configured to extend the IOAM capability information of the routing protocol carrying device, including: when the routing protocol is an open shortest path first OSPF protocol, the OSPF routing information opaque link state LSA is advertised to carry the IOAM capability of the IOAM capability attribute. Sub-TLV information.
  9. 如权利要求6至8任一项所述的装置,其中,The apparatus according to any one of claims 6 to 8, wherein
    所述IOAM能力信息包括以下的一种或多种:带内OAM路径选项,带内OAM路径验证选项,带内OAM端到端的验证选项。The IOAM capability information includes one or more of the following: an in-band OAM path option, an in-band OAM path verification option, and an in-band OAM end-to-end authentication option.
  10. 一种实现带内操作管理维护IOAM的装置,所述装置包括存储器和处理器,其中,An apparatus for implementing in-band operation management and maintenance of an IOAM, the apparatus comprising a memory and a processor, wherein
    所述存储器,存储有可执行指令;The memory stores executable instructions;
    所述处理器,用于执行所述存储器存储的可执行指令时,至少可执行以下操作:The processor, when executing the executable instructions stored by the memory, may perform at least the following operations:
    扩展路由协议携带设备的带内操作管理维护IOAM能力信息;将所述IOAM能力信息封装在路由协议报文中,并在网络内发送。The extended routing protocol carries the in-band operation management and maintenance IOAM capability information of the device; the IOAM capability information is encapsulated in the routing protocol packet and sent in the network.
  11. 一种实现带内操作管理维护IOAM的方法,所述方法包括:A method for implementing in-band operation management and maintenance IOAM, the method comprising:
    接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;Receiving a routing protocol packet, and parsing the IOAM capability information carried in the routing protocol packet;
    接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。After receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
  12. 如权利要求11所述的方法,其中,所述根据所述IOAM能力信息 封装相应的IOAM数据,包括:The method of claim 11, wherein the encapsulating the corresponding IOAM data according to the IOAM capability information comprises:
    使用多协议标签交换标签标识所述用户数据报文携带有IOAM数据,在所述多协议标签交换标签后封装所述IOAM数据。The multi-protocol label switching label is used to identify that the user data packet carries IOAM data, and the IOAM data is encapsulated after the multi-protocol label switching label.
  13. 一种实现带内操作管理维护IOAM的装置,所述装置包括:An apparatus for implementing in-band operation management and maintenance of an IOAM, the apparatus comprising:
    解析模块,配置为接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;The parsing module is configured to receive the routing protocol packet and parse the IOAM capability information carried in the routing protocol packet;
    封装模块,配置为接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。The encapsulating module is configured to encapsulate the corresponding IOAM data according to the IOAM capability information after receiving the user data packet.
  14. 如权利要求13所述的装置,其中,The device of claim 13 wherein
    所述封装模块,配置为根据所述IOAM能力信息封装相应的IOAM数据包括:使用多协议标签交换标签标识所述用户数据报文携带有IOAM数据,在所述多协议标签交换标签后封装所述IOAM数据。The encapsulating module, configured to encapsulate the corresponding IOAM data according to the IOAM capability information, includes: using a multi-protocol label switching label, the user data packet carries IOAM data, and the multi-protocol label switching label is encapsulated IOAM data.
  15. 一种实现带内操作管理维护IOAM的装置,所述装置包括存储器和处理器;其中,An apparatus for implementing in-band operation management and maintenance of an IOAM, the apparatus comprising a memory and a processor; wherein
    所述存储器,存储有可执行指令;The memory stores executable instructions;
    所述处理器,用于执行所述存储器存储的可执行指令时,至少执行以下操作:The processor, when executing the executable instructions stored by the memory, performs at least the following operations:
    接收到路由协议报文,解析出所述路由协议报文携带的IOAM能力信息;接收到用户数据报文后,根据所述IOAM能力信息封装相应的IOAM数据。After receiving the routing protocol packet, the IOAM capability information carried in the routing protocol packet is parsed; after receiving the user data packet, the corresponding IOAM data is encapsulated according to the IOAM capability information.
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5任一项所述的实现IOAM的方法。A computer storage medium having stored therein computer executable instructions for performing the method of implementing IOAM of any one of claims 1 to 5.
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求11或12所述的实现 IOAM的方法。A computer storage medium having stored therein computer executable instructions for performing the method of implementing IOAM of claim 11 or 12.
PCT/CN2018/079956 2017-04-13 2018-03-22 Methods and devices for realizing ioam, and storage medium WO2018188464A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710241354.9A CN108737128B (en) 2017-04-13 2017-04-13 Method and device for realizing in-band operation management maintenance IOAM
CN201710241354.9 2017-04-13

Publications (1)

Publication Number Publication Date
WO2018188464A1 true WO2018188464A1 (en) 2018-10-18

Family

ID=63792320

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079956 WO2018188464A1 (en) 2017-04-13 2018-03-22 Methods and devices for realizing ioam, and storage medium

Country Status (2)

Country Link
CN (1) CN108737128B (en)
WO (1) WO2018188464A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327445A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 Message sampling method, decapsulation method, node, system and storage medium
CN112868214A (en) * 2018-11-02 2021-05-28 思科技术公司 Coordinated load transfer, OAM, recording within packets
CN113542120A (en) * 2021-06-29 2021-10-22 新华三大数据技术有限公司 Path selection method and device and computer readable storage medium
WO2021247230A1 (en) * 2020-11-10 2021-12-09 Futurewei Technologies, Inc. Edge computing data and service discovery using interior gateway protocol (igp)
CN113992497A (en) * 2021-11-03 2022-01-28 烽火通信科技股份有限公司 IOAM measurement calculation method, device, equipment and storage medium
CN114006846A (en) * 2020-07-13 2022-02-01 中国移动通信有限公司研究院 IPv6 data packet transmission method and device
CN114500163A (en) * 2020-10-23 2022-05-13 中国移动通信有限公司研究院 Communication scheduling method, device and storage medium
WO2023169543A1 (en) * 2022-03-11 2023-09-14 中兴通讯股份有限公司 Information processing method, label stack generation method, network side node, head node, controller, and storage medium
CN117278647A (en) * 2023-11-21 2023-12-22 广东优力普物联科技有限公司 Equipment discovery method, storage medium and electronic equipment

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277426B (en) * 2018-12-05 2022-08-19 中兴通讯股份有限公司 IOAM information processing method and device
CN109743340B (en) * 2019-04-04 2019-07-30 华为技术有限公司 The method and network equipment of Message processing
CN112104552B (en) * 2019-06-17 2021-12-28 华为技术有限公司 Method and device for processing message and computer storage medium
CN112448891B (en) * 2019-09-02 2022-10-04 中国电信股份有限公司 Service chain implementation method and system, service classifier and service function node
CN116634459A (en) * 2019-10-15 2023-08-22 华为技术有限公司 Method and equipment for confirming telemetry capability of stream following information
CN112866042B (en) * 2019-11-12 2023-07-18 中兴通讯股份有限公司 Network quality detection method, device, computer equipment and computer readable medium
CN110933002B (en) * 2019-11-25 2021-12-28 苏州盛科科技有限公司 Method and device for realizing switching chip of MPLS in-band detection OAM
CN112887353B (en) * 2019-11-29 2024-01-23 中国移动通信有限公司研究院 Information processing method, device, terminal and storage medium
CN117395167A (en) * 2020-01-21 2024-01-12 华为技术有限公司 Service level configuration method and device
CN112511437B (en) * 2020-04-22 2024-03-22 中兴通讯股份有限公司 Method for verifying service chain, transmitting node, forwarding node and service function node
CN113938403A (en) 2020-07-13 2022-01-14 华为技术有限公司 Capability notification method and related equipment
CN115623504A (en) * 2021-07-16 2023-01-17 华为技术有限公司 Method and device for detecting data stream
CN115514696B (en) * 2022-09-21 2023-12-08 北京世纪互联宽带数据中心有限公司 Method, device and equipment for transmitting computing power resource information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920133B1 (en) * 2000-06-07 2005-07-19 At&T Corp. Techniques for introducing in-band network management packets in multi-protocol label switching networks
CN1897497A (en) * 2006-05-16 2007-01-17 中国电信股份有限公司 Expand operation managing maintenance-ability discovery in Ethernet non-light source network
CN101420385A (en) * 2008-12-12 2009-04-29 北京邮电大学 Mechanism for implementing OAM functional interconnection between T-MPLS and matchable MPLS network
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504727B2 (en) * 2007-01-17 2013-08-06 Rockstar Consortium Us Lp Method and apparatus for interworking ethernet and MPLS networks
CN101997711B (en) * 2009-08-17 2014-12-10 中兴通讯股份有限公司 Method and packet data network (PDN) system for sending operation administration maintenance (OAM) message
CN102281194A (en) * 2011-08-01 2011-12-14 华为技术有限公司 Message transmission method and network equipment
US10187209B2 (en) * 2015-04-27 2019-01-22 Cisco Technology, Inc. Cumulative schemes for network path proof of transit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920133B1 (en) * 2000-06-07 2005-07-19 At&T Corp. Techniques for introducing in-band network management packets in multi-protocol label switching networks
CN1897497A (en) * 2006-05-16 2007-01-17 中国电信股份有限公司 Expand operation managing maintenance-ability discovery in Ethernet non-light source network
CN101420385A (en) * 2008-12-12 2009-04-29 北京邮电大学 Mechanism for implementing OAM functional interconnection between T-MPLS and matchable MPLS network
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112868214A (en) * 2018-11-02 2021-05-28 思科技术公司 Coordinated load transfer, OAM, recording within packets
CN112868214B (en) * 2018-11-02 2024-01-19 思科技术公司 Coordinated load transfer OAM records within packets
CN111327445A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 Message sampling method, decapsulation method, node, system and storage medium
CN111327445B (en) * 2018-12-17 2023-09-12 中兴通讯股份有限公司 Message sampling method, message unpacking method, node, system and storage medium
CN114006846B (en) * 2020-07-13 2023-07-21 中国移动通信有限公司研究院 IPv6 data packet transmission method and device
CN114006846A (en) * 2020-07-13 2022-02-01 中国移动通信有限公司研究院 IPv6 data packet transmission method and device
CN114500163A (en) * 2020-10-23 2022-05-13 中国移动通信有限公司研究院 Communication scheduling method, device and storage medium
WO2021247230A1 (en) * 2020-11-10 2021-12-09 Futurewei Technologies, Inc. Edge computing data and service discovery using interior gateway protocol (igp)
CN113542120A (en) * 2021-06-29 2021-10-22 新华三大数据技术有限公司 Path selection method and device and computer readable storage medium
CN113992497B (en) * 2021-11-03 2023-05-26 烽火通信科技股份有限公司 IOAM measurement calculation method, device, equipment and storage medium
CN113992497A (en) * 2021-11-03 2022-01-28 烽火通信科技股份有限公司 IOAM measurement calculation method, device, equipment and storage medium
WO2023169543A1 (en) * 2022-03-11 2023-09-14 中兴通讯股份有限公司 Information processing method, label stack generation method, network side node, head node, controller, and storage medium
CN117278647A (en) * 2023-11-21 2023-12-22 广东优力普物联科技有限公司 Equipment discovery method, storage medium and electronic equipment
CN117278647B (en) * 2023-11-21 2024-02-27 广东优力普物联科技有限公司 Equipment discovery method, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108737128A (en) 2018-11-02
CN108737128B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
WO2018188464A1 (en) Methods and devices for realizing ioam, and storage medium
US10581732B2 (en) Target FEC (forwarding equivalence class) stack based FEC query in segment routing environments
US11050664B2 (en) Encapsulation method, device and node
US9444677B2 (en) Scalable edge node protection using IPv6 segment routing extension header
JP5992602B2 (en) System and method for using label distribution protocol (LDP) in IPv6 networks
WO2016198015A1 (en) Packet transmission method, apparatus, and system
WO2016188501A1 (en) Method for implementing bit index explicit replication and bit-forwarding router
US11743204B2 (en) Tunnel establishment method, apparatus, and system
WO2017036233A1 (en) Sr forwarding entry generation method and apparatus
WO2015192501A1 (en) Address information publishing method and apparatus
WO2018082652A1 (en) Information transmission method, apparatus and system and apparatus
CN110896379B (en) Message sending method, binding relationship notification method, device and storage medium
CN113452610B (en) Seamless end-to-end segmented routing method across metropolitan area network and area border router
WO2015184771A1 (en) Method and node device for operation, administration, and maintenance of service function chaining
US9049142B1 (en) Method and apparatus to enable protection for selective traffic in an MPLS network
CN114650256A (en) Message processing method, node and computer readable storage medium
CN107786442B (en) Metadata transmission method and device
WO2018059290A1 (en) Parameter notification and obtaining methods and devices, and storage medium
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
US11888722B2 (en) Route advertisement method, device, and system
WO2017162202A1 (en) Link state information processing
WO2022042610A1 (en) Information processing method, network controller, node and computer-readable storage medium
WO2022188488A1 (en) Path establishment method and apparatus, node and computer-readable storage medium
US11570086B2 (en) Fast reroute for BUM traffic in ethernet virtual private networks

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

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

Country of ref document: EP

Kind code of ref document: A1