CN103152205A - Stream-index-based operation administration and maintenance (OAM) processing method and device - Google Patents

Stream-index-based operation administration and maintenance (OAM) processing method and device Download PDF

Info

Publication number
CN103152205A
CN103152205A CN2013100960124A CN201310096012A CN103152205A CN 103152205 A CN103152205 A CN 103152205A CN 2013100960124 A CN2013100960124 A CN 2013100960124A CN 201310096012 A CN201310096012 A CN 201310096012A CN 103152205 A CN103152205 A CN 103152205A
Authority
CN
China
Prior art keywords
frame
oam
configuration
processing
stream index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100960124A
Other languages
Chinese (zh)
Other versions
CN103152205B (en
Inventor
王婷婷
黄元波
李勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Binary Semiconductor Co ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201310096012.4A priority Critical patent/CN103152205B/en
Publication of CN103152205A publication Critical patent/CN103152205A/en
Application granted granted Critical
Publication of CN103152205B publication Critical patent/CN103152205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a stream-index-based operation administration and maintenance (OAM) processing method and device, and relates to the field of communication. The OAM processing method comprises the following steps of: extracting a characteristic field of each OAM frame, configuring a stream index distribution table of each OAM frame, and searching the corresponding stream index distribution table according to the characteristic field to obtain a corresponding stream index serial number; configuring an OAM processing index distribution table, and querying the OAM processing index distribution table according to the corresponding stream index serial number of each OAM frame to obtain an OAM processing index serial number; configuring an OAM processing configuration table, wherein the OAM processing table comprises the processing configuration of a connectivity check frame, the processing configuration of a loop-back frame, the processing configuration of a chain tracking frame, the processing configuration of a performance measurement frame and the processing configuration of other types of frame; and performing hardware processing on the connectivity check frame. By the method and the device, resources of the OAM processing device can be saved, and the flexibility of resource allocation and the flexibility of software code implementation are improved.

Description

OAM processing method and device based on stream index
Technical field
The present invention relates to the communications field, particularly relate to a kind of OAM(Operation Administration and Maintenance based on stream index, operation, management, maintenance) processing method and device.
Background technology
Actual needs according to the carrier network operation, usually the management work with network is divided into 3 large classes: operate (Operation), management (Administration), safeguard (Maintenance), be OAM, mainly complete prediction, planning and configuration effort that daily network and business are carried out, and the regular job activity that the test of network and business thereof and fault management etc. are carried out.
PTN(Packet Transport Network, Packet Transport Network) as a kind of transmission network, support the two-way point-to-point interface channel of the multiple group-based reciprocal exchange of business, have the various large or fine granule business of being fit to, networking capability end to end, provide and be more suitable for IP(Internet Protocol, Internet protocol) " flexibility " transmission pipeline of traffic performance, and can utilize various bottom transmission channels, SDH(Synchronous Digital Hierarchy for example, synchronous digital hierarchy)/Ethernet(Ethernet)/OTN(Optical Transport Network, optical transfer network).
PTN has perfect OAM mechanism, has simultaneously multiple OAM agreement for the different application scene.for example IEEE802.3ah is used for the maintenance of ethernet port aspect, ITU-T(International Telecommunication Union Telecommunication Standardization Sector, standardization department of international telecommunication union telecommunication) IETF(Internet Engineering Task Force, Internet engineering duty group) RFC(Request For Comments, the request comment) the BFD(Bidirectional Forwarding Detection of 5880 definition, the two-way converting detection) generally be used for the maintenance of IP operation, IEEE(Institute of Electrical and Electronics Engineers, IEEE-USA) OAM that Y.1731 defines of 802.1ag and ITU-T is used for the maintenance of Ethernet service, the BFD CC(Continuity Check of IETF RFC6428 definition, connectivity checks) function is used for MPLS-TP(Multi-Protocol Label Switching-Transport Profile, the multiprotocol label label switched) maintenance of network.
Different OAM agreements has all defined same or similar function, and these OAM(Operation Administration Maintenance)s include detection of connectivity, Connectivity Verification, link tracing, performance monitoring etc.For example, the function that is used for carrying out between distinct device detection of connectivity is defined as: if do not receive OAM protocol frame with the other side's identification information within a period of time, think interruption to have occurred with being connected of the other side, should provide corresponding indication information to opposite end or network management system this moment; If receive correct OAM protocol frame, remove aforementioned alarm.This function is two layers of exchange, and the definition in the OAM agreement in three layers of route and MPLS-TP is substantially similar.
The OAM protocol definition several frequently seen OAM frame format, CCM(Continuity Check Message wherein, connectivity checks information) the MEP(Maintenance association End Point of frame, Maintenance Point) id field and BFD CC frame ' My Discriminator ' field is OAM frame identification information.
Be in the equipment of different levels of transport network to the demand property of there are differences of OAM, so generally there are a plurality of OAM processing unit in device interior.For example, there is different processing unit in device interior, is respectively used to the processing of MPLS-TP BFD CC frame of processing, IETF RFC6428 definition of the CCM frame of IEEE802.1ag definition and the processing of IETF RFC5880BFD protocol frame.
In addition, under different application scenarioss, equipment is differentiated to the degree of support of various OAM agreements.For example, equipment as the access point of PTN network, may need to support the MA(Maintenance Association of 512 802.1ag definition, maintenance field) the reciprocity Maintenance Point of and 2048 reciprocity MEP and a small amount of MPLS-TP (MEP of IETF RFC5317 definition), but the equipment as the main switching node of PTN network, need to support the reciprocity Maintenance Point of 4K MPLS-TP, and the OAM(Operation Administration Maintenance) of IEEE802.1ag protocol definition is only needed a small amount of support.If satisfy simultaneously above-mentioned requirements, to tackle variety of protocol and all design according to the highest support, this processing mode is wasted the resource of OAM processing unit very much, and flexibility is relatively poor.
Summary of the invention
The objective of the invention is in order to overcome the deficiency of above-mentioned background technology, a kind of OAM processing method and device based on stream index is provided, the resource that can save the OAM processing unit improves the flexibility of resource distribution and the flexibility of software code realization.
OAM processing method based on stream index provided by the invention comprises the following steps:
The feature field of S1, extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame;
The stream index allocation table of S2, configuration ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame is searched corresponding stream index allocation table based on the feature field of various OAM frames, obtains corresponding stream index numbering;
S3: configuration OAM processes the index assignment table, and the stream index numbering inquiry OAM corresponding according to various OAM frames processes the index assignment table, obtains OAM and processes index number;
S4, configuration OAM processing configuration table, OAM processing list comprise the processing configuration of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types;
The processing configuration of described connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment was supported the connectivity checks function, be defined as type 2: hardware handles forwarded step S5 to;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed;
The processing configuration of described loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional;
S5, the connectivity checks frame is carried out hardware handles: the local configuration of stream index numbering inquiry that obtains according to step S2, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
On the basis of technique scheme, the feature field of the frame of Ethernet OAM described in step S1 is the input port of virtual LAN VLAN sign and this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries.
On the basis of technique scheme, described connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
On the basis of technique scheme, when described OAM processing method was used in the PTN CE equipment of 24 ports, the numbering of 24 ports was followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) the one OAM frame is from the IP BFD frame of No. 1 port input, carries the first frame identification, and the stream index allocation table according to the first frame identification inquiry IP BFD frame obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1ag CCM frame from No. 1 port input, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(3) the 3rd OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 1 port input, carry a MPLS label, the one MPLS label or a MPLS label+first port are formed keyword, according to the stream index allocation table of keyword query MPLS OAM frame, obtain the 3rd stream index numbering;
(4) the 4th OAM frames are from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition Y.1731, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(5) the 5th OAM frames are from the ITU-T of No. 2 ports input frame Y.1731CCM, carry the 2nd VLAN label, the second port 2 and the 2nd VLAN label are formed keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain the 4th stream index numbering;
(6) the 6th OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 2 port inputs, carry the 2nd MPLS label, the 2nd MPLS label or the 2nd MPLS label+second port are formed keyword, stream index allocation table according to keyword query MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) the 7th OAM frames are the IP BFD frame from No. 1 port input, carry the second frame identification, the stream index allocation table according to the second frame identification inquiry IP BFD frame does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandon this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
The first configuration entry: the CCM/CC/BFD frame is configured to Second Type: hardware handles all is configured to the first kind with the other types frame: be forwarded to designated port;
The second configuration entry: all types frame all is configured to the first kind: be forwarded to designated port;
The 3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, the other types frame is configured to the 3rd type: the normal forwarding;
The first configuration entry and the second configuration entry are typical MEP configuration, and the 3rd configuration entry is typical IEEE802.1ag MIP configuration;
To first-class index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the second configuration entry is forwarded to designated port with an OAM frame;
To the second index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 2nd OAM frame; The 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 5th OAM frame;
Need to carry out the OAM frame of hardware handles in correspondence second index number, the 3rd stream index numbering, the 4th stream index numbering, unify to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
The present invention also provides a kind of OAM processing unit based on stream index for above-mentioned OAM processing method, comprises that OAM frame identification module, OAM frame forward the behavior enquiry module, the OAM frame is processed behavior enquiry module, OAM frame hardware processing module, wherein:
Described OAM frame identification module is used for: the OAM frame of identification variety of protocol regulation, and the feature field of extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame sends to the OAM frame with various OAM frames and forwards the behavior enquiry module;
Described OAM frame forwards the behavior enquiry module, is used for: the OAM frame that receives is used as common Frame, determines its forwarding behavior, the OAM frame is forwarded to the OAM frame processes the behavior enquiry module;
Described OAM frame is processed the behavior enquiry module: be used for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frames, the processing behavior of searching various OAM frames in described stream index allocation table, OAM processing index assignment table, OAM processing configuration table;
Described OAM frame hardware processing module, be used for: the connectivity checks frame is carried out hardware handles: according to the local configuration of stream index numbering inquiry, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
On the basis of technique scheme, described OAM frame is processed the behavior enquiry module and is comprised Ethernet OAM stream index configuration submodule, MPLS OAM stream index configuration submodule, IP BFD stream index configuration submodule, OAM frame processing configuration search index submodule, OAM frame processing configuration inquiry submodule, wherein:
Described Ethernet OAM stream index configuration submodule, be used for: the feature field that extracts the Ethernet OAM frame, and composition keyword KEY, the stream index allocation table of configuration ethernet OAM frame, searched the stream index allocation table of Ethernet OAM frame by keyword KEY, obtain OAM stream index numbering, and send to OAM frame processing configuration search index submodule;
Described MPLS OAM stream index configuration submodule, be used for: the feature field that extracts MPLS OAM frame, and composition keyword KEY, the stream index allocation table of configuration MPLS OAM frame, searched the stream index allocation table of MPLS OAM frame by keyword KEY, obtain MPLSOAM stream index numbering, and send to OAM frame processing configuration search index submodule;
Described IP BFD stream index configuration submodule, be used for: the feature field that extracts IP BFD frame, and composition keyword KEY, the stream index allocation table of configuration of IP BFD frame, searched the stream index allocation table of IP BFD frame by keyword KEY, obtain IP BFD stream index numbering, and send to OAM frame processing configuration search index submodule;
Described OAM frame processing configuration search index submodule, be used for: configuration OAM processes the index assignment table, and according to the OAM stream index numbering that receives, inquiry OAM processes the index assignment table, obtain OAM and process index number, OAM is processed index number send to OAM frame processing configuration inquiry submodule;
Described OAM frame processing configuration inquiry submodule, be used for: configuration OAM processing configuration table, OAM processing list comprise the processing configuration of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types; According to the OAM processing configuration index number that receives, inquiry OAM processing configuration table obtains corresponding OAM processing configuration, and according to this OAM processing configuration, to the OAM frame forward, hardware handles or processed by plug-in FPGA.
On the basis of technique scheme, described connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
On the basis of technique scheme, the processing configuration of described connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment is supported the connectivity checks function, be defined as type 2: hardware handles;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed;
The processing configuration of described loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional.
On the basis of technique scheme, the feature field of described Ethernet OAM frame is the input port of virtual LAN VLAN sign and this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries.
On the basis of technique scheme, when described OAM processing unit was used in the PTN CE equipment of 24 ports, the numbering of 24 ports was followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) the one OAM frame is from the IP BFD frame of No. 1 port input, carries the first frame identification, and the stream index allocation table according to the first frame identification inquiry IP BFD frame obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1ag CCM frame from No. 1 port input, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(3) the 3rd OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 1 port input, carry a MPLS label, the one MPLS label or a MPLS label+first port are formed keyword, according to the stream index allocation table of keyword query MPLS OAM frame, obtain the 3rd stream index numbering;
(4) the 4th OAM frames are from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition Y.1731, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(5) the 5th OAM frames are from the ITU-T of No. 2 ports input frame Y.1731CCM, carry the 2nd VLAN label, the second port 2 and the 2nd VLAN label are formed keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain the 4th stream index numbering;
(6) the 6th OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 2 port inputs, carry the 2nd MPLS label, the 2nd MPLS label or the 2nd MPLS label+second port are formed keyword, stream index allocation table according to keyword query MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) the 7th OAM frames are the IP BFD frame from No. 1 port input, carry the second frame identification, the stream index allocation table according to the second frame identification inquiry IP BFD frame does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandon this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
The first configuration entry: the CCM/CC/BFD frame is configured to Second Type: hardware handles all is configured to the first kind with the other types frame: be forwarded to designated port;
The second configuration entry: all types frame all is configured to the first kind: be forwarded to designated port;
The 3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, the other types frame is configured to the 3rd type: the normal forwarding;
The first configuration entry and the second configuration entry are typical MEP configuration, and the 3rd configuration entry is typical IEEE802.1ag MIP configuration;
To first-class index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the second configuration entry is forwarded to designated port with an OAM frame;
To the second index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 2nd OAM frame; The 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 5th OAM frame;
Need to carry out the OAM frame of hardware handles in correspondence second index number, the 3rd stream index numbering, the 4th stream index numbering, unify to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
Compared with prior art, advantage of the present invention is as follows:
The present invention is based on the OAM stream index and come allocation process logical resource and storage resources, can save the resource of OAM processing unit, improve the flexibility of resource distribution and the flexibility of software code realization.
Description of drawings
Fig. 1 is based on the structured flowchart of the OAM processing unit of stream index in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Part technical term in the embodiment of the present invention is defined as follows:
The maintaining end point of MEP:OAM protocol definition.
The Maintenance Intermediate Point of MIP:OAM protocol definition.
The stream index numbering: the OAM frame is searched the stream index that the obtains numbering of stream index allocation list according to feature field, each stream index numbering is inner unique at device, according to the difference of stream index numbering numerical value, can be expressed as stream index numbering 1, stream index numbering 2, stream index numbering 3 etc.
Frame identification: the identification field of the IP BFD protocol frame of IETF RFC5880 definition according to the difference of identification field numerical value, can be expressed as frame identification 1, frame identification 2, frame identification 3 etc.
The MPLS label: the forwarding label of MPLS/MPLS-TP data or OAM frame according to the difference of MPLS label numerical value, can be expressed as MPLS label 1, MPLS label 2, MPLS label 3 etc.
The embodiment of the present invention provides a kind of OAM processing method based on stream index, comprises the following steps:
The feature field of the various OAM frames such as S1, extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame: for example, the feature field of Ethernet OAM frame is VLAN(Virtual Local Area Network, VLAN) sign and the input port of this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries.
The stream index allocation table of the various OAM frames such as S2, configuration ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame is searched corresponding stream index allocation table based on the feature field of various OAM frames, obtains corresponding stream index numbering;
S3: configuration OAM processes the index assignment table, and the stream index numbering inquiry OAM corresponding according to various OAM frames processes the index assignment table, obtains OAM and processes index number;
S4, configuration OAM processing configuration table, OAM processing list comprise the processing configuration etc. of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types.
The connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
The processing configuration of connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment was supported the connectivity checks function, can be defined as type 2: hardware handles forwarded step S5 to;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed.
The processing configuration of loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional.The processing configuration of the definition of above-mentioned processing configuration and connectivity checks frame is similar, has very large flexibility, and MEP, MIP(Maintenance domain Intermediate Point, Maintenance Intermediate Point can be used for be distinguished in this configuration) to the different disposal of OAM frame.
S5, the connectivity checks frame is carried out hardware handles: the local configuration of stream index numbering inquiry that obtains according to step S2, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
Above-mentioned OAM processing method is used in the PTN CE(Custom Edge of 24 ports, user's incoming end) in equipment the time, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) from the IP BFD frame (OAM frame 1) of No. 1 port input, carry frame identification 1, the stream index allocation table according to frame identification 1 inquiry IP BFD frame obtains stream index numbering 1;
(2) from the IEEE802.1ag CCM frame (OAM frame 2) of No. 1 port input, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, the stream index allocation table according to keyword KEY inquiry Ethernet OAM frame obtains stream index numbering 2;
(3) from the MPLS-TP CC frame (OAM frame 3) of the IETF RFC6428 definition of No. 1 port input, carry MPLS label 1, MPLS label 1 or MPLS label 1+ port one are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS OAM frame obtains stream index numbering 3;
(4) from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition (OAM frame 4) Y.1731, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry Ethernet OAM frame obtains stream index numbering 2;
(5) from the ITU-T of No. 2 ports input frame (OAM frame 5) Y.1731CCM, carry VLAN label 2, port 2 and VLAN label 2 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry Ethernet OAM frame obtains stream index numbering 4;
(6) from the MPLS-TP CC frame (OAM frame 6) of the IETF RFC6428 definition of No. 2 ports input, carry MPLS label 2, MPLS label 2 or MPLS label 2+ port 2 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) from the IP BFD frame (OAM frame 7) of No. 1 port input, carry frame identification 2, the stream index allocation table according to frame identification 2 inquiry IP BFD frames does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandons this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards.
There is following configuration in OAM processing configuration table:
Configuration entry 1: the CCM/CC/BFD frame is configured to ' type 2(hardware handles) ', the other types frame all is configured to ' Class1 (being forwarded to designated port) ';
Configuration entry 2: all types frame all is configured to ' Class1 (being forwarded to designated port) ';
Configuration entry 3: loopback frame and link tracing frame are configured to ' Class1 (being forwarded to designated port) ', the other types frame are configured to ' type 3: the normal forwarding ';
Configuration entry 1 and configuration entry 2 are typical MEP configuration, and configuration entry 3 is typical IEEE802.1ag MIP configuration.
Convection current index number 1, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 2 is forwarded to designated port with OAM frame 1;
Convection current index number 2, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 2; OAM frame 4 is forwarded to designated port;
Convection current index number 3, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 3;
Convection current index number 4, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 5;
Corresponding stream index is numbered the OAM frame that needs to carry out hardware handles in 2,3,4, unifies to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
The embodiment of the present invention can be OAM stream with the OAM frame definition of separate sources and encapsulation, and adopt unified stream index to distinguish these OAM frames, and then based on to OAM stream be configured to OAM frame allocation process resource, and change processing mode to the OAM frame by the configuration that changes stream index.
Shown in Figure 1, the embodiment of the present invention provides a kind of OAM processing unit based on stream index be used to realizing above-mentioned OAM processing method, comprise that OAM frame identification module, OAM frame forward the behavior enquiry module, the OAM frame is processed behavior enquiry module, OAM frame hardware processing module, wherein:
OAM frame identification module is used for: the OAM frame of identification variety of protocol regulation, and the feature field of the various OAM frames such as extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame sends to the OAM frame with various OAM frames and forwards the behavior enquiry module; The feature field of Ethernet OAM frame is VLAN(Virtual Local Area Network, VLAN) sign and the input port of this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries;
The OAM frame forwards the behavior enquiry module, is used for: the OAM frame that receives is used as common Frame, determines its forwarding behavior, the OAM frame is forwarded to the OAM frame processes the behavior enquiry module;
The OAM frame is processed the behavior enquiry module: be used for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frames, the processing behavior of searching various OAM frames in stream index allocation table, OAM processing index assignment table, OAM processing configuration table;
OAM frame hardware processing module, be used for: the connectivity checks frame is carried out hardware handles: inquire about local configuration according to the stream index numbering that step S2 obtains, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
The OAM frame is processed the behavior enquiry module and is comprised Ethernet OAM stream index configuration submodule, MPLS OAM stream index configuration submodule, IP BFD stream index configuration submodule, OAM frame processing configuration search index submodule, OAM frame processing configuration inquiry submodule, wherein:
Ethernet OAM stream index configuration submodule, be used for: the feature field that extracts the Ethernet OAM frame, and composition keyword KEY, the stream index allocation table of configuration ethernet OAM frame, searched the stream index allocation table of Ethernet OAM frame by keyword KEY, obtain OAM stream index numbering, and send to OAM frame processing configuration search index submodule;
MPLS OAM stream index configuration submodule, be used for: the feature field that extracts MPLS OAM frame, and composition keyword KEY, the stream index allocation table of configuration MPLS OAM frame, searched the stream index allocation table of MPLS OAM frame by keyword KEY, obtain MPLS OAM stream index numbering, and send to OAM frame processing configuration search index submodule;
IP BFD stream index configuration submodule, be used for: the feature field that extracts IP BFD frame, and composition keyword KEY, the stream index allocation table of configuration of IP BFD frame, searched the stream index allocation table of IP BFD frame by keyword KEY, obtain IP BFD stream index numbering, and send to OAM frame processing configuration search index submodule;
OAM frame processing configuration search index submodule, be used for: configuration OAM processes the index assignment table, and according to the OAM stream index numbering that receives, inquiry OAM processes the index assignment table, obtain OAM and process index number, OAM is processed index number send to OAM frame processing configuration inquiry submodule;
OAM frame processing configuration inquiry submodule, be used for: configuration OAM processing configuration table, OAM processing list comprise the processing configuration etc. of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types; According to the OAM processing configuration index number that receives, inquiry OAM processing configuration table obtains corresponding OAM processing configuration, and according to this OAM processing configuration, to the OAM frame forward, hardware handles or processed by plug-in FPGA.
The connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
The processing configuration of connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment is supported the connectivity checks function, can be defined as type 2: hardware handles;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed.
The processing configuration of loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional.The processing configuration of the definition of above-mentioned processing configuration and connectivity checks frame is similar, has very large flexibility, and this configuration can be used for distinguishing MEP, MIP to the different disposal of OAM frame.
Above-mentioned OAM processing method is used in the PTN CE(Custom Edge of 24 ports, user's incoming end) in equipment the time, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) from the IP BFD frame (OAM frame 1) of No. 1 port input, carry frame identification 1, the stream index allocation table according to frame identification 1 inquiry IP BFD frame obtains stream index numbering 1;
(2) from the IEEE802.1ag CCM frame (OAM frame 2) of No. 1 port input, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, the stream index allocation table according to keyword KEY inquiry Ethernet OAM frame obtains stream index numbering 2;
(3) from the MPLS-TP CC frame (OAM frame 3) of the IETF RFC6428 definition of No. 1 port input, carry MPLS label 1, MPLS label 1 or MPLS label 1+ port one are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS OAM frame obtains stream index numbering 3;
(4) from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition (OAM frame 4) Y.1731, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry Ethernet OAM frame obtains stream index numbering 2;
(5) from the ITU-T of No. 2 ports input frame (OAM frame 5) Y.1731CCM, carry VLAN label 2, port 2 and VLAN label 2 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry Ethernet OAM frame obtains stream index numbering 4;
(6) from the MPLS-TP CC frame (OAM frame 6) of the IETF RFC6428 definition of No. 2 ports input, carry MPLS label 2, MPLS label 2 or MPLS label 2+ port 2 are formed keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) from the IP BFD frame (OAM frame 7) of No. 1 port input, carry frame identification 2, the stream index allocation table according to frame identification 2 inquiry IP BFD frames does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandons this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards.
There is following configuration in OAM processing configuration table:
Configuration entry 1: the CCM/CC/BFD frame is configured to ' type 2(hardware handles) ', the other types frame all is configured to ' Class1 (being forwarded to designated port) ';
Configuration entry 2: all types frame all is configured to ' Class1 (being forwarded to designated port) ';
Configuration entry 3: loopback frame and link tracing frame are configured to ' Class1 (being forwarded to designated port) ', the other types frame are configured to ' type 3: the normal forwarding ';
Configuration entry 1 and configuration entry 2 are typical MEP configuration, and configuration entry 3 is typical IEEE802.1ag MIP configuration.
Convection current index number 1, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 2 is forwarded to designated port with OAM frame 1;
Convection current index number 2, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 2; OAM frame 4 is forwarded to designated port;
Convection current index number 3, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 3;
Convection current index number 4, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding configuration entry 1 is carried out hardware handles to OAM frame 5;
Corresponding stream index is numbered the OAM frame that needs to carry out hardware handles in 2,3,4, unifies to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
According to application scenarios, if need to provide more support to the OAM frame that Y.1731 IEEE802.1ag and ITU-T define, can distribute more stream index numbering for Ethernet OAM, namely keep more stream index number entry in Ethernet OAM stream index allocation table.If need to provide more support to MPLS-TP BFD CC, the more correspondence of reservation is banishd and is put entry in MPLS OAM stream index allocation table.
In addition, the processing of MPLS-TP BFD CC frame and the processing of IP BFD frame are similar, can shield both difference by stream index mechanism, the unified processing.The identification of various OAM frames, MPLS forward, IP layer route, two layers of bridge joint and the forwarding of the OAM frame that do not inquire stream index is prior art.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, these modifications and modification are also within protection scope of the present invention.
The prior art that the content of not describing in detail in specification is known to the skilled person.

Claims (10)

1. the OAM processing method based on stream index, is characterized in that, comprises the following steps:
The feature field of S1, extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame;
The stream index allocation table of S2, configuration ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame is searched corresponding stream index allocation table based on the feature field of various OAM frames, obtains corresponding stream index numbering;
S3: configuration OAM processes the index assignment table, and the stream index numbering inquiry OAM corresponding according to various OAM frames processes the index assignment table, obtains OAM and processes index number;
S4, configuration OAM processing configuration table, OAM processing list comprise the processing configuration of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types;
The processing configuration of described connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment was supported the connectivity checks function, be defined as type 2: hardware handles forwarded step S5 to;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed;
The processing configuration of described loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional;
S5, the connectivity checks frame is carried out hardware handles: the local configuration of stream index numbering inquiry that obtains according to step S2, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
2. the OAM processing method based on stream index as claimed in claim 1 is characterized in that: the feature field of the frame of Ethernet OAM described in step S1 is the input port of virtual LAN VLAN sign and this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries.
3. the OAM processing method based on stream index as claimed in claim 1 is characterized in that: described connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
4. the OAM processing method based on stream index as described in any one in claims 1 to 3, it is characterized in that: when described OAM processing method is used in the PTN CE equipment of 24 ports, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) the one OAM frame is from the IP BFD frame of No. 1 port input, carries the first frame identification, and the stream index allocation table according to the first frame identification inquiry IP BFD frame obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1ag CCM frame from No. 1 port input, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(3) the 3rd OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 1 port input, carry a MPLS label, the one MPLS label or a MPLS label+first port are formed keyword, according to the stream index allocation table of keyword query MPLS OAM frame, obtain the 3rd stream index numbering;
(4) the 4th OAM frames are from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition Y.1731, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(5) the 5th OAM frames are from the ITU-T of No. 2 ports input frame Y.1731CCM, carry the 2nd VLAN label, the second port 2 and the 2nd VLAN label are formed keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain the 4th stream index numbering;
(6) the 6th OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 2 port inputs, carry the 2nd MPLS label, the 2nd MPLS label or the 2nd MPLS label+second port are formed keyword, stream index allocation table according to keyword query MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) the 7th OAM frames are the IP BFD frame from No. 1 port input, carry the second frame identification, the stream index allocation table according to the second frame identification inquiry IP BFD frame does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandon this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
The first configuration entry: the CCM/CC/BFD frame is configured to Second Type: hardware handles all is configured to the first kind with the other types frame: be forwarded to designated port;
The second configuration entry: all types frame all is configured to the first kind: be forwarded to designated port;
The 3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, the other types frame is configured to the 3rd type: the normal forwarding;
The first configuration entry and the second configuration entry are typical MEP configuration, and the 3rd configuration entry is typical IEEE802.1ag MIP configuration;
To first-class index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the second configuration entry is forwarded to designated port with an OAM frame;
To the second index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 2nd OAM frame; The 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 5th OAM frame;
Need to carry out the OAM frame of hardware handles in correspondence second index number, the 3rd stream index numbering, the 4th stream index numbering, unify to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
5. OAM processing unit based on stream index that is used for realizing the described OAM processing method of claim 1 to 4 any one, it is characterized in that: comprise that OAM frame identification module, OAM frame forward the behavior enquiry module, the OAM frame is processed behavior enquiry module, OAM frame hardware processing module, wherein:
Described OAM frame identification module is used for: the OAM frame of identification variety of protocol regulation, and the feature field of extraction Ethernet OAM frame, MPLS-TP OAM frame, IP BFD frame sends to the OAM frame with various OAM frames and forwards the behavior enquiry module;
Described OAM frame forwards the behavior enquiry module, is used for: the OAM frame that receives is used as common Frame, determines its forwarding behavior, the OAM frame is forwarded to the OAM frame processes the behavior enquiry module;
Described OAM frame is processed the behavior enquiry module: be used for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frames, the processing behavior of searching various OAM frames in described stream index allocation table, OAM processing index assignment table, OAM processing configuration table;
Described OAM frame hardware processing module, be used for: the connectivity checks frame is carried out hardware handles: according to the local configuration of stream index numbering inquiry, and whether more local configuration is consistent with the information that frame carries, if inconsistent, illustrate that this connectivity checks frame is not from predefined transmit leg, abandon this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from predefined transmit leg, preserve the timestamp when receiving this connectivity checks frame, this timestamp is for detection of " losing the connectivity alarm ", if do not receive again predefined connectivity checks frame the detection time of setting after section, think to connect to occur interrupting, report and alarm information is to CPU.
6. the OAM processing unit based on stream index as claimed in claim 5, it is characterized in that: described OAM frame is processed the behavior enquiry module and is comprised Ethernet OAM stream index configuration submodule, MPLS OAM stream index configuration submodule, IP BFD stream index configuration submodule, OAM frame processing configuration search index submodule, OAM frame processing configuration inquiry submodule, wherein:
Described Ethernet OAM stream index configuration submodule, be used for: the feature field that extracts the Ethernet OAM frame, and composition keyword KEY, the stream index allocation table of configuration ethernet OAM frame, searched the stream index allocation table of Ethernet OAM frame by keyword KEY, obtain OAM stream index numbering, and send to OAM frame processing configuration search index submodule;
Described MPLS OAM stream index configuration submodule, be used for: the feature field that extracts MPLS OAM frame, and composition keyword KEY, the stream index allocation table of configuration MPLS OAM frame, searched the stream index allocation table of MPLS OAM frame by keyword KEY, obtain MPLSOAM stream index numbering, and send to OAM frame processing configuration search index submodule;
Described IP BFD stream index configuration submodule, be used for: the feature field that extracts IP BFD frame, and composition keyword KEY, the stream index allocation table of configuration of IP BFD frame, searched the stream index allocation table of IP BFD frame by keyword KEY, obtain IP BFD stream index numbering, and send to OAM frame processing configuration search index submodule;
Described OAM frame processing configuration search index submodule, be used for: configuration OAM processes the index assignment table, and according to the OAM stream index numbering that receives, inquiry OAM processes the index assignment table, obtain OAM and process index number, OAM is processed index number send to OAM frame processing configuration inquiry submodule;
Described OAM frame processing configuration inquiry submodule, be used for: configuration OAM processing configuration table, OAM processing list comprise the processing configuration of the frame of the processing configuration of processing configuration, performance measurement frame of processing configuration, the link tracing frame of processing configuration, the loopback frame of connectivity checks frame and other types; According to the OAM processing configuration index number that receives, inquiry OAM processing configuration table obtains corresponding OAM processing configuration, and according to this OAM processing configuration, to the OAM frame forward, hardware handles or processed by plug-in FPGA.
7. the OAM processing unit based on stream index as claimed in claim 5 is characterized in that: described connectivity checks frame comprises CC frame in the MPLS-TP OAM of CCM frame in the Ethernet OAM that Y.1731 IEEE802.1ag and ITU-T define, IETF RFC6428 definition and the IP BFD frames of IETF RFC5881 and 5883 definition.
8. the OAM processing unit based on stream index as claimed in claim 5, it is characterized in that: the processing configuration of described connectivity checks frame is defined as following 4 types:
(1) do not enable or equipment when not supporting the connectivity checks function as the user, be defined as type 0: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize the connectivity checks function, be defined as Class1: forward this connectivity checks frame to designated port;
(3) when equipment is supported the connectivity checks function, be defined as type 2: hardware handles;
(4) when the user is configured to MIP, be defined as type 3: the normal forwarding, this connectivity checks frame is not processed;
The processing configuration of described loopback frame is used for defining the processing type of loopback message and response OAM frame, the processing configuration of link tracing frame is used for defining the processing type of path trace message and response OAM frame, the processing configuration of performance measurement frame is used for defining the processing type of measuring class OAM frame, and the processing configuration of the frame of other types is used for the processing behavior of the OAM frame outside the definite division aforementioned functional.
9. the OAM processing unit based on stream index as claimed in claim 5 is characterized in that: the feature field of described Ethernet OAM frame is the input port of virtual LAN VLAN sign and this Ethernet OAM frame; The feature field of MPLS-TP OAM frame is the input port of MPLS-TP label and this MPLS-TP OAM frame; The feature field of IP BFD frame is the opposite end identification field that the BFD protocol frame carries.
10. the OAM processing unit based on stream index as described in any one in claim 5 to 9, it is characterized in that: when described OAM processing unit is used in the PTN CE equipment of 24 ports, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) the one OAM frame is from the IP BFD frame of No. 1 port input, carries the first frame identification, and the stream index allocation table according to the first frame identification inquiry IP BFD frame obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1ag CCM frame from No. 1 port input, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(3) the 3rd OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 1 port input, carry a MPLS label, the one MPLS label or a MPLS label+first port are formed keyword, according to the stream index allocation table of keyword query MPLS OAM frame, obtain the 3rd stream index numbering;
(4) the 4th OAM frames are from the ITU-T of No. 1 port input Time delay measurement message frame of protocol definition Y.1731, carry a VLAN label, the first port and a VLAN label are formed keyword, and the stream index allocation table according to keyword query Ethernet OAM frame obtains the second index number;
(5) the 5th OAM frames are from the ITU-T of No. 2 ports input frame Y.1731CCM, carry the 2nd VLAN label, the second port 2 and the 2nd VLAN label are formed keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain the 4th stream index numbering;
(6) the 6th OAM frames are the MPLS-TP CC frame from the IETF RFC6428 definition of No. 2 port inputs, carry the 2nd MPLS label, the 2nd MPLS label or the 2nd MPLS label+second port are formed keyword, stream index allocation table according to keyword query MPLS OAM frame, do not inquire any stream index information, this MPLS-TP CC frame is used as common Frame forwards;
(7) the 7th OAM frames are the IP BFD frame from No. 1 port input, carry the second frame identification, the stream index allocation table according to the second frame identification inquiry IP BFD frame does not inquire the stream index configuration information, if this IP BFD frame is single-hop BFD frame, abandon this IP BFD frame; If this IP BFD frame is multi-hop BFD frame, this IP BFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
The first configuration entry: the CCM/CC/BFD frame is configured to Second Type: hardware handles all is configured to the first kind with the other types frame: be forwarded to designated port;
The second configuration entry: all types frame all is configured to the first kind: be forwarded to designated port;
The 3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, the other types frame is configured to the 3rd type: the normal forwarding;
The first configuration entry and the second configuration entry are typical MEP configuration, and the 3rd configuration entry is typical IEEE802.1ag MIP configuration;
To first-class index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the second configuration entry is forwarded to designated port with an OAM frame;
To the second index number, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 2nd OAM frame; The 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, OAM processes index assignment table and OAM processing configuration table by inquiry, and corresponding the first configuration entry is carried out hardware handles to the 5th OAM frame;
Need to carry out the OAM frame of hardware handles in correspondence second index number, the 3rd stream index numbering, the 4th stream index numbering, unify to process in OAM frame hardware processing module, and according to the stream index numbering, report and alarm information or preservation process state information.
CN201310096012.4A 2013-03-22 2013-03-22 Based on OAM processing method and the device of stream index Active CN103152205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310096012.4A CN103152205B (en) 2013-03-22 2013-03-22 Based on OAM processing method and the device of stream index

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310096012.4A CN103152205B (en) 2013-03-22 2013-03-22 Based on OAM processing method and the device of stream index

Publications (2)

Publication Number Publication Date
CN103152205A true CN103152205A (en) 2013-06-12
CN103152205B CN103152205B (en) 2016-02-10

Family

ID=48550080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310096012.4A Active CN103152205B (en) 2013-03-22 2013-03-22 Based on OAM processing method and the device of stream index

Country Status (1)

Country Link
CN (1) CN103152205B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825776A (en) * 2014-02-11 2014-05-28 烽火通信科技股份有限公司 OAM package sending automatic detection apparatus and method
WO2015070608A1 (en) * 2013-11-15 2015-05-21 中兴通讯股份有限公司 Oam performance monitoring method and apparatus
WO2015117377A1 (en) * 2014-07-18 2015-08-13 中兴通讯股份有限公司 Network connectivity verification method and device, and computer-readable storage medium
CN104980293A (en) * 2014-04-02 2015-10-14 深圳市中兴微电子技术有限公司 Method and device for quickly transmitting and detecting OAM message
CN105530115A (en) * 2014-10-23 2016-04-27 华为技术有限公司 Method and device for realizing operation management and maintenance function
CN107179970A (en) * 2017-05-18 2017-09-19 烽火通信科技股份有限公司 Extensive OAM detecting systems and method in a kind of distributed apparatus
CN108206746A (en) * 2016-12-16 2018-06-26 华为技术有限公司 A kind of network transmission control method and relevant device
CN108551407A (en) * 2018-06-14 2018-09-18 烽火通信科技股份有限公司 A kind of processing method and system of Operations, Administration and Maintenance OAM message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471813A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Configuration method, system and equipment for implementing domain-striding maintenance management
CN102299815A (en) * 2010-06-22 2011-12-28 华为技术有限公司 Configuration method and node of OAM (operation, administration and maintenance)
US8717906B2 (en) * 2009-05-01 2014-05-06 Hitachi Metals, Ltd. Network relay device, network, and network maintenance and operation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471813A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Configuration method, system and equipment for implementing domain-striding maintenance management
US8717906B2 (en) * 2009-05-01 2014-05-06 Hitachi Metals, Ltd. Network relay device, network, and network maintenance and operation method
CN102299815A (en) * 2010-06-22 2011-12-28 华为技术有限公司 Configuration method and node of OAM (operation, administration and maintenance)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015070608A1 (en) * 2013-11-15 2015-05-21 中兴通讯股份有限公司 Oam performance monitoring method and apparatus
CN103825776B (en) * 2014-02-11 2017-02-01 烽火通信科技股份有限公司 OAM package sending automatic detection apparatus and method
CN103825776A (en) * 2014-02-11 2014-05-28 烽火通信科技股份有限公司 OAM package sending automatic detection apparatus and method
CN104980293A (en) * 2014-04-02 2015-10-14 深圳市中兴微电子技术有限公司 Method and device for quickly transmitting and detecting OAM message
CN104980293B (en) * 2014-04-02 2019-05-31 深圳市中兴微电子技术有限公司 A kind of OAM message is quickly sent and the method and device of detection processing
WO2015117377A1 (en) * 2014-07-18 2015-08-13 中兴通讯股份有限公司 Network connectivity verification method and device, and computer-readable storage medium
CN105530115A (en) * 2014-10-23 2016-04-27 华为技术有限公司 Method and device for realizing operation management and maintenance function
US20170222864A1 (en) * 2014-10-23 2017-08-03 Huawei Technologies Co., Ltd. Method and Apparatus for Implementing Operation, Administration, and Maintenance Function
WO2016062165A1 (en) * 2014-10-23 2016-04-28 华为技术有限公司 Method and apparatus for implementing operations, administration and maintenance function
CN105530115B (en) * 2014-10-23 2019-10-22 华为技术有限公司 A kind of method and device for realizing operation management maintainance function
US10862735B2 (en) * 2014-10-23 2020-12-08 Huawei Technologies Co., Ltd. Method and apparatus for implementing operation, administration, and maintenance function
CN108206746A (en) * 2016-12-16 2018-06-26 华为技术有限公司 A kind of network transmission control method and relevant device
CN107179970A (en) * 2017-05-18 2017-09-19 烽火通信科技股份有限公司 Extensive OAM detecting systems and method in a kind of distributed apparatus
WO2018209915A1 (en) * 2017-05-18 2018-11-22 烽火通信科技股份有限公司 Large-scale oam detection system and method in distributed devices
CN107179970B (en) * 2017-05-18 2019-12-24 烽火通信科技股份有限公司 Large-scale OAM detection system and method in distributed equipment
CN108551407A (en) * 2018-06-14 2018-09-18 烽火通信科技股份有限公司 A kind of processing method and system of Operations, Administration and Maintenance OAM message

Also Published As

Publication number Publication date
CN103152205B (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN103152205B (en) Based on OAM processing method and the device of stream index
US9769054B2 (en) Network topology discovery method and system
EP3139560B1 (en) Packet processing method, device and computer storage medium
US20150195169A1 (en) Method, Device, and System for Measuring Network Packet Loss
US9515845B2 (en) Utility communication method and system
CN101599862B (en) Method and device for allocating transport-multiprotocol label switching and ring network protecting maintenance entity groups
CN103281247B (en) The general method for routing of a kind of data center network and system
US8462636B2 (en) Systems and methods for communication of management traffic over link aggregation group interface for a network element with distributed architecture
CN104518967A (en) Routing method, equipment and system
CN102185780B (en) OAM message processing method and device
US20140293798A1 (en) Mpls-tp network and link trace method thereof
KR20100080536A (en) Carrier network connection device and carrier network
CN103780425A (en) A method and a controller device for configuring a software-defined network
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN105472486A (en) Processing method for preventing routing loop of PON access system
CN105634935A (en) Device and method for detecting service layer signal failure
CN104429022A (en) Connectivity fault management in communication network
CN104618150A (en) Business configuration method and system under two layer-to-three layer business scene of PTN
CN103532742A (en) Collocation method of full layer 2 business in IPRAN (Internet Protocol Radio Access Network) complex scene
US9184986B2 (en) Method and apparatus for optimizing and scaling control plane traffic in carrier ethernet transport networks
CN110380966A (en) A kind of method and its relevant device finding forward-path
CN104135392A (en) Dual-node ring route OAM data protecting method
CN109525492B (en) IP data backup transmission method independent of routing protocol or algorithm
CN101895409B (en) Method, device and system for processing operation, administration and maintenance mechanism in multipath domain
CN114745227B (en) Electric power business network slicing time delay calculation method and device based on FlexE and SPN technologies

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170606

Address after: 430074, Hubei Wuhan East Lake Development Zone, Kanto Industrial Park, beacon Road, optical communications building, industrial building, two floor

Patentee after: Wuhan flying Microelectronics Technology Co., Ltd.

Address before: China Science and Technology Park Dongxin road East Lake Development Zone 430074 Hubei Province, Wuhan City, No. 5

Patentee before: Fenghuo Communication Science &. Technology Co., Ltd.

TR01 Transfer of patent right

Effective date of registration: 20170804

Address after: 430000 East Lake high tech Development Zone, Hubei Province, No. 6, No., high and new technology development zone, No. four

Co-patentee after: Wuhan flying Microelectronics Technology Co., Ltd.

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074, Hubei Wuhan East Lake Development Zone, Kanto Industrial Park, beacon Road, optical communications building, industrial building, two floor

Patentee before: Wuhan flying Microelectronics Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210726

Address after: 430074 second floor, optical communication building, Fenghuo Road, Guandong Industrial Park, Donghu Development Zone, Wuhan City, Hubei Province

Patentee after: WUHAN FISILINK MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: 430000 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province

Patentee before: FIBERHOME TELECOMMUNICATION TECHNOLOGIES Co.,Ltd.

Patentee before: WUHAN FISILINK MICROELECTRONICS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220602

Address after: 430000 Room 403, 4th floor, Optics Valley Science and technology building, No. 770, Gaoxin Avenue, Wuhan East Lake New Technology Development Zone, Wuhan City, Hubei Province kjdsa2022006 (Wuhan area of the free trade zone)

Patentee after: Wuhan binary semiconductor Co.,Ltd.

Address before: 430074 second floor, optical communication building, Fenghuo Road, Guandong Industrial Park, Donghu Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN FISILINK MICROELECTRONICS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right