CN103152205B - Based on OAM processing method and the device of stream index - Google Patents

Based on OAM processing method and the device of stream index Download PDF

Info

Publication number
CN103152205B
CN103152205B CN201310096012.4A CN201310096012A CN103152205B CN 103152205 B CN103152205 B CN 103152205B CN 201310096012 A CN201310096012 A CN 201310096012A CN 103152205 B CN103152205 B CN 103152205B
Authority
CN
China
Prior art keywords
frame
oam
configuration
stream index
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.)
Active
Application number
CN201310096012.4A
Other languages
Chinese (zh)
Other versions
CN103152205A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of OAM processing method based on stream index and device, relate to the communications field, this OAM processing method is: the feature field extracting various OAM frame, configure the stream index allocation table of various OAM frame, search corresponding stream index allocation table according to feature field, obtain corresponding stream index numbering; Configuration OAM process index assignment table, the stream index numbering inquiry OAM process index assignment table corresponding according to various OAM frame, obtains OAM process index number; Configuration OAM processing configuration table, OAM processing list comprises the processing configuration of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types; Hardware handles is carried out to connectivity checks frame.The present invention can save the resource of OAM processing unit, improves the flexibility of Resourse Distribute and the flexibility of software code realization.

Description

Based on OAM processing method and the device of stream index
Technical field
The present invention relates to the communications field, particularly relate to a kind of OAM based on stream index (OperationAdministrationandMaintenance, operation, management, maintenance) processing method and device.
Background technology
According to the actual needs of carrier network operation, usually the management work of network is divided into 3 large classes: operate (Operation), management (Administration), safeguard (Maintenance), i.e. OAM, mainly complete commodity network and business are carried out prediction, planning and configuration effort, and to the regular job activity that the test and fault management etc. of network and business thereof are carried out.
PTN (PacketTransportNetwork, Packet Transport Network) transmit network as a kind of, support the multiple two-way point-to-point interface channel based on packet switching service, there is applicable various large or fine granule business, networking capability end to end, provide and be more suitable for IP (InternetProtocol, Internet protocol) " flexibility " transmission pipeline of traffic performance, and various bottom transmission channel can be utilized, such as SDH (SynchronousDigitalHierarchy, synchronous digital hierarchy)/Ethernet (Ethernet)/OTN (OpticalTransportNetwork, optical transfer network).
PTN has perfect OAM mechanism, there is the multiple OAM agreement for different application scene simultaneously.Such as IEEE802.3ah is used for the maintenance of ethernet port aspect, ITU-T (InternationalTelecommunicationUnionTelecommunicationStan dardizationSector, standardization department of international telecommunication union telecommunication) IETF (InternetEngineeringTaskForce, Internet engineering duty group) RFC (RequestForComments, request comment) the 5880 BFD (BidirectionalForwardingDetection defined, two-way converting detects) be generally used for the maintenance of IP operation, IEEE (InstituteofElectricalandElectronicsEngineers, IEEE-USA) OAM of 802.1ag and ITU-TY.1731 definition is used for the maintenance of Ethernet service, BFDCC (the ContinuityCheck of IETFRFC6428 definition, connectivity checks) function be used for MPLS-TP (Multi-ProtocolLabelSwitching-TransportProfile, multiprotocol label label switched) maintenance of network.
Different OAM agreements both defines same or similar function, and these OAM(Operation Administration Maintenance)s include detection of connectivity, Connectivity Verification, link tracing, performance monitoring etc.Such as, function for carrying out detection of connectivity between distinct device is defined as: if do not receive the OAM protocol frame with the other side's identification information within a period of time, then think and occurred interruption with the connection of the other side, now should provide corresponding indication information to opposite end or network management system; If receive correct OAM protocol frame, then remove aforementioned alarm.This function is at Layer2 switching, and the definition in the OAM agreement in three layers of route and MPLS-TP is substantially similar.
The several frequently seen OAM frame format of OAM protocol definition, wherein CCM (ContinuityCheckMessage, connectivity checks information) MEP (MaintenanceassociationEndPoint, the Maintenance Point) id field of frame and ' MyDiscriminator ' field of BFDCC frame be OAM frame identification information.
Be in demand the there are differences property of equipment to OAM of the different levels of transport network, so device interior generally exists multiple OAM processing unit.Such as, there is different processing unit in device interior, be respectively used to IEEE802.1ag definition CCM frame process, IETFRFC6428 definition the process of MPLS-TPBFDCC frame and the process of IETFRFC5880BFD protocol frame.
In addition, under different application scenarioss, the degree of support of equipment to various OAM agreement is differentiated.Such as, as the equipment of the access point of PTN network, then may need the MA (MaintenanceAssociation of support 512 802.1ag definition, maintenance field) and the reciprocity Maintenance Point (MEP of IETFRFC5317 definition) of 2048 reciprocity MEP and a small amount of MPLS-TP, but the equipment of the main switching node as PTN network, then need the reciprocity Maintenance Point supporting 4K MPLS-TP, and a small amount of support is only needed to the OAM(Operation Administration Maintenance) of IEEE802.1ag protocol definition.If will meet above-mentioned requirements simultaneously, then tackle various agreement and all design according to the highest support, this processing mode wastes the resource of OAM processing unit very much, and flexibility is poor.
Summary of the invention
The object of the invention is the deficiency in order to overcome above-mentioned background technology, a kind of OAM processing method based on stream index and device being provided, the resource of OAM processing unit can be saved, improve the flexibility of Resourse Distribute 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-TPOAM frame, IPBFD frame;
The stream index allocation table of S2, configuration ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, the feature field based on various OAM frame searches corresponding stream index allocation table, obtains corresponding stream index numbering;
S3: configuration OAM process index assignment table, the stream index numbering inquiry OAM process index assignment table corresponding according to various OAM frame, obtains OAM process index number;
S4, configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types;
The processing configuration of described connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, be defined as type 2: hardware handles, forward step S5 to;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed;
The processing configuration of described loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is used for the process behavior of the OAM frame outside the aforementioned function of definite division;
S5, hardware handles is carried out to connectivity checks frame: the local configuration of stream index numbering inquiry obtained according to step S2, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and 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 mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries.
On the basis of technique scheme, described connectivity checks frame comprise IEEE802.1ag and ITU-TY.1731 definition Ethernet OAM in CCM frame, IETFRFC6428 definition MPLS-TPOAM in CC frame and IETFRFC5881 and 5883 definition IPBFD frame.
On the basis of technique scheme, when described OAM processing method is used in the PTNCE 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 the IPBFD frame from No. 1 port input, carries the first frame identification, according to the stream index allocation table of the first frame identification inquiry IPBFD frame, obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1agCCM frame from No. 1 port input, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(3) the 3rd OAM frames are the MPLS-TPCC frame of the IETFRFC6428 definition from No. 1 port input, carry the first MPLS label, by the first MPLS label or the first MPLS label+the first port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, obtain the 3rd stream index numbering;
The Time delay measurement message frame of the ITU-TY.1731 protocol definition that (4) the 4th OAM frames input from No. 1 port, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(5) the 5th OAM frames are the ITU-TY.1731CCM frame from No. 2 port inputs, carry the 2nd VLAN label, by the second port 2 and the 2nd VLAN label composition 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-TPCC frame of the IETFRFC6428 definition from No. 2 port inputs, carry the second MPLS label, by the second MPLS label or the second MPLS label+the second port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) the 7th OAM frames are the IPBFD frame from No. 1 port input, carry the second frame identification, according to the stream index allocation table of the second frame identification inquiry IPBFD frame, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
First configuration entry: CCM/CC/BFD frame is configured to Second Type: hardware handles, other types frame is all configured to the first kind: be forwarded to designated port;
Second configuration entry: all types frame is all configured to the first kind: be forwarded to designated port;
3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, other types frame are configured to the 3rd type: normally forward;
First configuration entry and the second configuration entry are that typical MEP configures, and the 3rd configuration entry is that typical IEEE802.1agMIP configures;
To first-class index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding second configuration entry, be then forwarded to designated port by an OAM frame;
To second index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 2nd OAM frame; 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 5th OAM frame;
Need the OAM frame carrying out hardware handles in corresponding second index number, the 3rd stream index numbering, the 4th stream index numbering, carry out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving state information.
The present invention also provides a kind of OAM processing unit based on stream index for above-mentioned OAM processing method, comprises OAM frame identification module, OAM frame forwards behavior enquiry module, OAM frame process behavior enquiry module, OAM frame hardware processing module, wherein:
Described OAM frame identification module, for: identify the OAM frame that various agreement specifies, extract the feature field of Ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, various OAM frame is sent to OAM frame and forwards behavior enquiry module;
Described OAM frame forwards behavior enquiry module, for: the OAM frame of reception is used as common Frame, determines its forwarding behavior, OAM frame is forwarded to OAM frame process behavior enquiry module;
Described OAM frame process behavior enquiry module: for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frame, in described stream index allocation table, OAM process index assignment table, OAM processing configuration table, search the process behavior of various OAM frame;
Described OAM frame hardware processing module, for: hardware handles is carried out to connectivity checks frame: according to the local configuration of stream index numbering inquiry, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and occur interrupting, report and alarm information is to CPU.
On the basis of technique scheme, described OAM frame process behavior enquiry module comprises Ethernet OAM stream index configuration submodule, MPLSOAM stream index configuration submodule, IPBFD 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, for: the feature field extracting Ethernet OAM frame, and form keyword KEY, the stream index allocation table of configuration ethernet OAM frame, the stream index allocation table of Ethernet OAM frame is searched by keyword KEY, obtain OAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described MPLSOAM stream index configuration submodule, for: the feature field extracting MPLS-TPOAM frame, and form keyword KEY, the stream index allocation table of configuration MPLS-TPOAM frame, the stream index allocation table of MPLS-TPOAM frame is searched by keyword KEY, obtain MPLSOAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described IPBFD stream index configuration submodule, for: the feature field extracting IPBFD frame, and form keyword KEY, the stream index allocation table of configuration of IP BFD frame, the stream index allocation table of IPBFD frame is searched by keyword KEY, obtain IPBFD stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described OAM frame processing configuration search index submodule, for: configuration OAM process index assignment table, according to the OAM stream index numbering received, inquiry OAM process index assignment table, obtain OAM process index number, OAM process index number is sent to OAM frame processing configuration inquiry submodule;
Described OAM frame processing configuration inquiry submodule, for configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types; According to the OAM processing configuration index number received, inquiry OAM processing configuration table, obtains corresponding OAM processing configuration, and according to this OAM processing configuration, OAM frame is forwarded, hardware handles or by plug-in FPGA process.
On the basis of technique scheme, described connectivity checks frame comprise IEEE802.1ag and ITU-TY.1731 definition Ethernet OAM in CCM frame, IETFRFC6428 definition MPLS-TPOAM in CC frame and IETFRFC5881 and 5883 definition IPBFD frame.
On the basis of technique scheme, the processing configuration of described connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, type 2 is defined as: hardware handles;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed;
The processing configuration of described loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is then for the process behavior of the OAM frame outside the aforementioned function of definite division.
On the basis of technique scheme, the feature field of described Ethernet OAM frame is the input port of virtual LAN VLAN mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries.
On the basis of technique scheme, when described OAM processing unit is used in the PTNCE 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 the IPBFD frame from No. 1 port input, carries the first frame identification, according to the stream index allocation table of the first frame identification inquiry IPBFD frame, obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1agCCM frame from No. 1 port input, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(3) the 3rd OAM frames are the MPLS-TPCC frame of the IETFRFC6428 definition from No. 1 port input, carry the first MPLS label, by the first MPLS label or the first MPLS label+the first port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, obtain the 3rd stream index numbering;
The Time delay measurement message frame of the ITU-TY.1731 protocol definition that (4) the 4th OAM frames input from No. 1 port, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(5) the 5th OAM frames are the ITU-TY.1731CCM frame from No. 2 port inputs, carry the 2nd VLAN label, by the second port 2 and the 2nd VLAN label composition 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-TPCC frame of the IETFRFC6428 definition from No. 2 port inputs, carry the second MPLS label, by the second MPLS label or the second MPLS label+the second port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) the 7th OAM frames are the IPBFD frame from No. 1 port input, carry the second frame identification, according to the stream index allocation table of the second frame identification inquiry IPBFD frame, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
First configuration entry: CCM/CC/BFD frame is configured to Second Type: hardware handles, other types frame is all configured to the first kind: be forwarded to designated port;
Second configuration entry: all types frame is all configured to the first kind: be forwarded to designated port;
3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, other types frame are configured to the 3rd type: normally forward;
First configuration entry and the second configuration entry are that typical MEP configures, and the 3rd configuration entry is that typical IEEE802.1agMIP configures;
To first-class index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding second configuration entry, be then forwarded to designated port by an OAM frame;
To second index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 2nd OAM frame; 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 5th OAM frame;
Need the OAM frame carrying out hardware handles in corresponding second index number, the 3rd stream index numbering, the 4th stream index numbering, carry out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving state information.
Compared with prior art, advantage of the present invention is as follows:
The present invention is based on OAM stream index and come allocation process logical resource and storage resources, the resource of OAM processing unit can be saved, improve the flexibility of Resourse Distribute and the flexibility of software code realization.
Accompanying drawing explanation
Fig. 1 is the structured flowchart based on the OAM processing unit of stream index in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
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.
Stream index is numbered: OAM frame searches the stream index the obtained 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, stream index numbering 1, stream index numbering 2, stream index numbering 3 etc. can be expressed as.
The identification field of the IPBFD protocol frame that frame identification: IETFRFC5880 defines, according to the difference of identification field numerical value, can be expressed as frame identification 1, frame identification 2, frame identification 3 etc.
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-TPOAM frame, IPBFD frame: such as, the feature field of Ethernet OAM frame is the input port of VLAN (VirtualLocalAreaNetwork, VLAN) mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries.
The stream index allocation table of the various OAM frames such as S2, configuration ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, the feature field based on various OAM frame searches corresponding stream index allocation table, obtains corresponding stream index numbering;
S3: configuration OAM process index assignment table, the stream index numbering inquiry OAM process index assignment table corresponding according to various OAM frame, obtains OAM process index number;
S4, configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration etc. of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types.
Connectivity checks frame comprise IEEE802.1ag and ITU-TY.1731 definition Ethernet OAM in CCM frame, IETFRFC6428 definition MPLS-TPOAM in CC frame and IETFRFC5881 and 5883 definition IPBFD frame.
The processing configuration of connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, type 2 can be defined as: hardware handles, forward step S5 to;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed.
The processing configuration of loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is then for the process behavior of the OAM frame outside the aforementioned function of definite division.The definition of above-mentioned processing configuration and the processing configuration of connectivity checks frame similar, there is very large flexibility, and this configuration may be used for distinguishing MEP, MIP (MaintenancedomainIntermediatePoint, the Maintenance Intermediate Point) different disposal to OAM frame.
S5, hardware handles is carried out to connectivity checks frame: the local configuration of stream index numbering inquiry obtained according to step S2, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and occur interrupting, report and alarm information is to CPU.
When above-mentioned OAM processing method is used in PTNCE (CustomEdge, the user's incoming end) equipment of 24 ports, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) from the IPBFD frame (OAM frame 1) of No. 1 port input, carry frame identification 1, inquire about the stream index allocation table of IPBFD frame according to frame identification 1, obtain stream index numbering 1;
(2) from the IEEE802.1agCCM frame (OAM frame 2) of No. 1 port input, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, according to the stream index allocation table that keyword KEY inquires about Ethernet OAM frame, obtains stream index numbering 2;
(3) from the MPLS-TPCC frame (OAM frame 3) of the IETFRFC6428 definition of No. 1 port input, carry MPLS label 1, by MPLS label 1 or MPLS label 1+ port one composition keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS-TPOAM frame, obtains stream index numbering 3;
(4) from the Time delay measurement message frame (OAM frame 4) of the ITU-TY.1731 protocol definition of No. 1 port input, 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-TY.1731CCM frame (OAM frame 5) of No. 2 port inputs, 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-TPCC frame (OAM frame 6) of the IETFRFC6428 definition of No. 2 port inputs, 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-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) from the IPBFD frame (OAM frame 7) of No. 1 port input, carry frame identification 2, inquire about the stream index allocation table of IPBFD frame according to frame identification 2, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards.
There is following configuration in OAM processing configuration table:
Configuration entry 1: CCM/CC/BFD frame is configured to ' type 2 (hardware handles) ', is all configured to other types frame ' Class1 (being forwarded to designated port) ';
Configuration entry 2: all types frame is all 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) ', be configured to by other types frame ' type 3: normally forward ';
Configuration entry 1 and configuration entry 2 are that typical MEP configures, and configuration entry 3 is that typical IEEE802.1agMIP configures.
Convection current index number 1, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 2, be then forwarded to designated port by OAM frame 1;
Convection current index number 2, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 2; OAM frame 4 is forwarded to designated port;
Convection current index number 3, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 3;
Convection current index number 4, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 5;
Corresponding stream index is numbered in 2,3,4 the OAM frame needing to carry out hardware handles, carries out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving state information.
The OAM frame definition of separate sources and encapsulation can be OAM stream by the embodiment of the present invention, and adopt unified stream index to distinguish these OAM frames, and then be configured to OAM frame allocation process resource based on what flow OAM, and change the processing mode to OAM frame by the configuration changing stream index.
Shown in Figure 1, the embodiment of the present invention provides a kind of OAM processing unit based on stream index for realizing above-mentioned OAM processing method, comprise OAM frame identification module, OAM frame forwards behavior enquiry module, OAM frame process behavior enquiry module, OAM frame hardware processing module, wherein:
OAM frame identification module, for: identify the OAM frame that various agreement specifies, extract the feature field of the various OAM frames such as Ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, various OAM frame is sent to OAM frame and forwards behavior enquiry module; The feature field of Ethernet OAM frame is the input port of VLAN (VirtualLocalAreaNetwork, VLAN) mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries;
OAM frame forwards behavior enquiry module, for: the OAM frame of reception is used as common Frame, determines its forwarding behavior, OAM frame is forwarded to OAM frame process behavior enquiry module;
OAM frame process behavior enquiry module: for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frame, in stream index allocation table, OAM process index assignment table, OAM processing configuration table, search the process behavior of various OAM frame;
OAM frame hardware processing module, for: hardware handles is carried out to connectivity checks frame: the local configuration of stream index numbering inquiry obtained according to step S2, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and occur interrupting, report and alarm information is to CPU.
OAM frame process behavior enquiry module comprises Ethernet OAM stream index configuration submodule, MPLSOAM stream index configuration submodule, IPBFD stream index configuration submodule, OAM frame processing configuration search index submodule, OAM frame processing configuration inquiry submodule, wherein:
Ethernet OAM stream index configuration submodule, for: the feature field extracting Ethernet OAM frame, and form keyword KEY, the stream index allocation table of configuration ethernet OAM frame, the stream index allocation table of Ethernet OAM frame is searched by keyword KEY, obtain OAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
MPLSOAM stream index configuration submodule, for: the feature field extracting MPLS-TPOAM frame, and form keyword KEY, the stream index allocation table of configuration MPLS-TPOAM frame, the stream index allocation table of MPLS-TPOAM frame is searched by keyword KEY, obtain MPLSOAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
IPBFD stream index configuration submodule, for: the feature field extracting IPBFD frame, and form keyword KEY, the stream index allocation table of configuration of IP BFD frame, the stream index allocation table of IPBFD frame is searched by keyword KEY, obtain IPBFD stream index numbering, and be sent to OAM frame processing configuration search index submodule;
OAM frame processing configuration search index submodule, for: configuration OAM process index assignment table, according to the OAM stream index numbering received, inquiry OAM process index assignment table, obtain OAM process index number, OAM process index number is sent to OAM frame processing configuration inquiry submodule;
OAM frame processing configuration inquiry submodule, for configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration etc. of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types; According to the OAM processing configuration index number received, inquiry OAM processing configuration table, obtains corresponding OAM processing configuration, and according to this OAM processing configuration, OAM frame is forwarded, hardware handles or by plug-in FPGA process.
Connectivity checks frame comprise IEEE802.1ag and ITU-TY.1731 definition Ethernet OAM in CCM frame, IETFRFC6428 definition MPLS-TPOAM in CC frame and IETFRFC5881 and 5883 definition IPBFD frame.
The processing configuration of connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, type 2 can be defined as: hardware handles;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed.
The processing configuration of loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is then for the process behavior of the OAM frame outside the aforementioned function of definite division.The definition of above-mentioned processing configuration and the processing configuration of connectivity checks frame similar, there is very large flexibility, and this configuration may be used for distinguish MEP, MIP to the different disposal of OAM frame.
When above-mentioned OAM processing method is used in PTNCE (CustomEdge, the user's incoming end) equipment of 24 ports, the numbering of 24 ports is followed successively by 1,2 ... 24, OAM processing procedure is as follows:
(1) from the IPBFD frame (OAM frame 1) of No. 1 port input, carry frame identification 1, inquire about the stream index allocation table of IPBFD frame according to frame identification 1, obtain stream index numbering 1;
(2) from the IEEE802.1agCCM frame (OAM frame 2) of No. 1 port input, carry VLAN label 1, port one and VLAN label 1 are formed keyword KEY, according to the stream index allocation table that keyword KEY inquires about Ethernet OAM frame, obtains stream index numbering 2;
(3) from the MPLS-TPCC frame (OAM frame 3) of the IETFRFC6428 definition of No. 1 port input, carry MPLS label 1, by MPLS label 1 or MPLS label 1+ port one composition keyword KEY, according to keyword KEY, the stream index allocation table of inquiry MPLS-TPOAM frame, obtains stream index numbering 3;
(4) from the Time delay measurement message frame (OAM frame 4) of the ITU-TY.1731 protocol definition of No. 1 port input, 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-TY.1731CCM frame (OAM frame 5) of No. 2 port inputs, 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-TPCC frame (OAM frame 6) of the IETFRFC6428 definition of No. 2 port inputs, 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-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) from the IPBFD frame (OAM frame 7) of No. 1 port input, carry frame identification 2, inquire about the stream index allocation table of IPBFD frame according to frame identification 2, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards.
There is following configuration in OAM processing configuration table:
Configuration entry 1: CCM/CC/BFD frame is configured to ' type 2 (hardware handles) ', is all configured to other types frame ' Class1 (being forwarded to designated port) ';
Configuration entry 2: all types frame is all 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) ', be configured to by other types frame ' type 3: normally forward ';
Configuration entry 1 and configuration entry 2 are that typical MEP configures, and configuration entry 3 is that typical IEEE802.1agMIP configures.
Convection current index number 1, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 2, be then forwarded to designated port by OAM frame 1;
Convection current index number 2, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 2; OAM frame 4 is forwarded to designated port;
Convection current index number 3, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 3;
Convection current index number 4, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding configuration entry 1, then carry out hardware handles to OAM frame 5;
Corresponding stream index is numbered in 2,3,4 the OAM frame needing to carry out hardware handles, carries out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving state information.
According to application scenarios, if need to provide more support to the OAM frame of IEEE802.1ag and ITU-TY.1731 definition, then can distribute more stream index numbering for Ethernet OAM, namely in Ethernet OAM stream index allocation table, retain more stream index number entry.If need to provide more support to MPLS-TPBFDCC, then in MPLSOAM stream index allocation table, retain more correspondence banish and put entry.
In addition, the process of MPLS-TPBFDCC frame and the process of IPBFD frame similar, both difference can be shielded by stream index mechanism, unified process.Identification, the MPLS of various OAM frame forward, IP layer route, and two layers of bridge joint and the forwarding to the OAM frame not inquiring stream index are prior art.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these amendments and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then these revise and modification also within protection scope of the present invention.
The prior art that the content do not described in detail in specification is known to the skilled person.

Claims (10)

1., based on an OAM processing method for stream index, it is characterized in that, comprise the following steps:
The feature field of S1, extraction Ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame;
The stream index allocation table of S2, configuration ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, the feature field based on various OAM frame searches corresponding stream index allocation table, obtains corresponding stream index numbering;
S3: configuration OAM process index assignment table, the stream index numbering inquiry OAM process index assignment table corresponding according to various OAM frame, obtains OAM process index number;
S4, configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types;
The processing configuration of described connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, be defined as type 2: hardware handles, forward step S5 to;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed;
The processing configuration of described loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is used for the process behavior of the OAM frame outside the aforementioned function of definite division;
S5, hardware handles is carried out to connectivity checks frame: the local configuration of stream index numbering inquiry obtained according to step S2, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and occur interrupting, report and alarm information is to CPU.
2. as claimed in claim 1 based on the OAM processing method of stream index, it 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 mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries.
3. as claimed in claim 1 based on the OAM processing method of stream index, it is characterized in that: described connectivity checks frame comprises the IPBFD frame of CC frame in the MPLS-TPOAM of CCM frame in the Ethernet OAM of IEEE802.1ag and ITU-TY.1731 definition, IETFRFC6428 definition and IETFRFC5881 and 5883 definition.
4. as claimed any one in claims 1 to 3 based on the OAM processing method of stream index, it is characterized in that: when described OAM processing method is used in the PTNCE 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 the IPBFD frame from No. 1 port input, carries the first frame identification, according to the stream index allocation table of the first frame identification inquiry IPBFD frame, obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1agCCM frame from No. 1 port input, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(3) the 3rd OAM frames are the MPLS-TPCC frame of the IETFRFC6428 definition from No. 1 port input, carry the first MPLS label, by the first MPLS label or the first MPLS label+the first port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, obtain the 3rd stream index numbering;
The Time delay measurement message frame of the ITU-TY.1731 protocol definition that (4) the 4th OAM frames input from No. 1 port, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(5) the 5th OAM frames are the ITU-TY.1731CCM frame from No. 2 port inputs, carry the 2nd VLAN label, by the second port 2 and the 2nd VLAN label composition 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-TPCC frame of the IETFRFC6428 definition from No. 2 port inputs, carry the second MPLS label, by the second MPLS label or the second MPLS label+the second port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) the 7th OAM frames are the IPBFD frame from No. 1 port input, carry the second frame identification, according to the stream index allocation table of the second frame identification inquiry IPBFD frame, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
First configuration entry: CCM/CC/BFD frame is configured to Second Type: hardware handles, other types frame is all configured to the first kind: be forwarded to designated port;
Second configuration entry: all types frame is all configured to the first kind: be forwarded to designated port;
3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, other types frame are configured to the 3rd type: normally forward;
First configuration entry and the second configuration entry are that typical MEP configures, and the 3rd configuration entry is that typical IEEE802.1agMIP configures;
To first-class index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding second configuration entry, be then forwarded to designated port by an OAM frame;
To second index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 2nd OAM frame; 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 5th OAM frame;
Need the OAM frame carrying out hardware handles in corresponding second index number, the 3rd stream index numbering, the 4th stream index numbering, carry out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving state information.
5. one kind for realizing the OAM processing unit based on stream index of OAM processing method according to any one of Claims 1-4, it is characterized in that: comprise OAM frame identification module, OAM frame forwards behavior enquiry module, OAM frame process behavior enquiry module, OAM frame hardware processing module, wherein:
Described OAM frame identification module, for: identify the OAM frame that various agreement specifies, extract the feature field of Ethernet OAM frame, MPLS-TPOAM frame, IPBFD frame, various OAM frame is sent to OAM frame and forwards behavior enquiry module;
Described OAM frame forwards behavior enquiry module, for: the OAM frame of reception is used as common Frame, determines its forwarding behavior, OAM frame is forwarded to OAM frame process behavior enquiry module;
Described OAM frame process behavior enquiry module: for: configuration flow index assignment table, OAM process index assignment table, OAM processing configuration table, according to the feature field of various OAM frame, in described stream index allocation table, OAM process index assignment table, OAM processing configuration table, search the process behavior of various OAM frame;
Described OAM frame hardware processing module, for: hardware handles is carried out to connectivity checks frame: according to the local configuration of stream index numbering inquiry, and whether the information that more local configuration and frame carry is consistent, if inconsistent, illustrating that this connectivity checks frame is not the transmit leg from presetting, abandoning this connectivity checks frame or report and alarm information to CPU; If consistent, illustrate that this connectivity checks frame is from the transmit leg preset, preserve timestamp when receiving this connectivity checks frame, this timestamp is used for detecting " losing connectivity alarm ", if the detection time of setting does not receive the connectivity checks frame preset after section again, then think to connect and occur interrupting, report and alarm information is to CPU.
6. as claimed in claim 5 based on the OAM processing unit of stream index, it is characterized in that: described OAM frame process behavior enquiry module comprises Ethernet OAM stream index configuration submodule, MPLS-TPOAM stream index configuration submodule, IPBFD 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, for: the feature field extracting Ethernet OAM frame, and form keyword KEY, the stream index allocation table of configuration ethernet OAM frame, the stream index allocation table of Ethernet OAM frame is searched by keyword KEY, obtain OAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described MPLS-TPOAM stream index configuration submodule, for: the feature field extracting MPLS-TPOAM frame, and form keyword KEY, the stream index allocation table of configuration MPLS-TPOAM frame, the stream index allocation table of MPLS-TPOAM frame is searched by keyword KEY, obtain MPLSOAM stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described IPBFD stream index configuration submodule, for: the feature field extracting IPBFD frame, and form keyword KEY, the stream index allocation table of configuration of IP BFD frame, the stream index allocation table of IPBFD frame is searched by keyword KEY, obtain IPBFD stream index numbering, and be sent to OAM frame processing configuration search index submodule;
Described OAM frame processing configuration search index submodule, for: configuration OAM process index assignment table, according to the OAM stream index numbering received, inquiry OAM process index assignment table, obtain OAM process index number, OAM process index number is sent to OAM frame processing configuration inquiry submodule;
Described OAM frame processing configuration inquiry submodule, for configuration OAM processing configuration table, OAM processing configuration table comprises the processing configuration of the processing configuration of connectivity checks frame, the processing configuration of loopback frame, the processing configuration of link tracing frame, the processing configuration of performance measurement frame and the frame of other types; According to the OAM processing configuration index number received, inquiry OAM processing configuration table, obtains corresponding OAM processing configuration, and according to this OAM processing configuration, OAM frame is forwarded, hardware handles or by plug-in FPGA process.
7. as claimed in claim 5 based on the OAM processing unit of stream index, it is characterized in that: described connectivity checks frame comprises the IPBFD frame of CC frame in the MPLS-TPOAM of CCM frame in the Ethernet OAM of IEEE802.1ag and ITU-TY.1731 definition, IETFRFC6428 definition and IETFRFC5881 and 5883 definition.
8., as claimed in claim 5 based on the OAM processing unit of stream index, it is characterized in that: the processing configuration of described connectivity checks frame is defined as following 4 types:
(1) when user is not enable or equipment does not support connectivity checks function, type 0 is defined as: directly abandon this connectivity checks frame;
(2) when using plug-in FPGA to realize connectivity checks function, Class1 is defined as: forward this connectivity checks frame to designated port;
(3) when equipment supports connectivity checks function, type 2 is defined as: hardware handles;
(4) when user is configured to MIP, be defined as type 3: normally forward, this connectivity checks frame do not processed;
The processing configuration of described loopback frame is for defining the process type of loopback message and response OAM frame, the processing configuration of link tracing frame is for defining the process type of path trace message and response OAM frame, the processing configuration of performance measurement frame is for defining the process type measuring class OAM frame, and the processing configuration of the frame of other types is then for the process behavior of the OAM frame outside the aforementioned function of definite division.
9. as claimed in claim 5 based on the OAM processing unit of stream index, it is characterized in that: the feature field of described Ethernet OAM frame is the input port of virtual LAN VLAN mark and this Ethernet OAM frame; The feature field of MPLS-TPOAM frame is the input port of MPLS-TP label and this MPLS-TPOAM frame; The feature field of IPBFD frame is the opposite end identification field that BFD protocol frame carries.
10. the OAM processing unit based on stream index according to any one of claim 5 to 9, it is characterized in that: when described OAM processing unit is used in the PTNCE 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 the IPBFD frame from No. 1 port input, carries the first frame identification, according to the stream index allocation table of the first frame identification inquiry IPBFD frame, obtains first-class index number;
(2) the 2nd OAM frames are the IEEE802.1agCCM frame from No. 1 port input, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(3) the 3rd OAM frames are the MPLS-TPCC frame of the IETFRFC6428 definition from No. 1 port input, carry the first MPLS label, by the first MPLS label or the first MPLS label+the first port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, obtain the 3rd stream index numbering;
The Time delay measurement message frame of the ITU-TY.1731 protocol definition that (4) the 4th OAM frames input from No. 1 port, carry a VLAN label, by the first port and VLAN label composition keyword, according to the stream index allocation table of keyword query Ethernet OAM frame, obtain second index number;
(5) the 5th OAM frames are the ITU-TY.1731CCM frame from No. 2 port inputs, carry the 2nd VLAN label, by the second port 2 and the 2nd VLAN label composition 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-TPCC frame of the IETFRFC6428 definition from No. 2 port inputs, carry the second MPLS label, by the second MPLS label or the second MPLS label+the second port composition keyword, according to the stream index allocation table of keyword query MPLS-TPOAM frame, do not inquire any stream index information, this MPLS-TPCC frame is used as common Frame and forwards;
(7) the 7th OAM frames are the IPBFD frame from No. 1 port input, carry the second frame identification, according to the stream index allocation table of the second frame identification inquiry IPBFD frame, do not inquire stream index configuration information, if this IPBFD frame is single-hop BFD frame, then abandon this IPBFD frame; If this IPBFD frame is multi-hop BFD frame, then this IPBFD frame is used as common Frame and forwards;
There is following configuration in OAM processing configuration table:
First configuration entry: CCM/CC/BFD frame is configured to Second Type: hardware handles, other types frame is all configured to the first kind: be forwarded to designated port;
Second configuration entry: all types frame is all configured to the first kind: be forwarded to designated port;
3rd configuration entry: loopback frame and link tracing frame are configured to the first kind: be forwarded to designated port, other types frame are configured to the 3rd type: normally forward;
First configuration entry and the second configuration entry are that typical MEP configures, and the 3rd configuration entry is that typical IEEE802.1agMIP configures;
To first-class index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding second configuration entry, be then forwarded to designated port by an OAM frame;
To second index number, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 2nd OAM frame; 4th OAM frame is forwarded to designated port;
To the 3rd stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 3rd OAM frame;
To the 4th stream index numbering, by inquiry OAM process index assignment table and OAM processing configuration table, corresponding first configuration entry, then carry out hardware handles to the 5th OAM frame;
Need the OAM frame carrying out hardware handles in corresponding second index number, the 3rd stream index numbering, the 4th stream index numbering, carry out unifying process in OAM frame hardware processing module, and according to stream index numbering, report and alarm information or specimens preserving 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 CN103152205A (en) 2013-06-12
CN103152205B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639362A (en) * 2013-11-15 2015-05-20 中兴通讯股份有限公司 OAM (operation administration and maintenance) performance monitoring method and OAM performance monitoring device
CN103825776B (en) * 2014-02-11 2017-02-01 烽火通信科技股份有限公司 OAM package sending automatic detection apparatus and method
CN104980293B (en) * 2014-04-02 2019-05-31 深圳市中兴微电子技术有限公司 A kind of OAM message is quickly sent and the method and device of detection processing
CN105262686B (en) * 2014-07-18 2020-04-24 中兴通讯股份有限公司 Network connectivity verification method and device
CN105530115B (en) * 2014-10-23 2019-10-22 华为技术有限公司 A kind of method and device for realizing operation management maintainance function
CN108206746B (en) * 2016-12-16 2020-07-21 华为技术有限公司 Network transmission control method and related equipment
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

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)

Also Published As

Publication number Publication date
CN103152205A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103152205B (en) Based on OAM processing method and the device of stream index
EP3139560B1 (en) Packet processing method, device and computer storage medium
US9769054B2 (en) Network topology discovery method and system
EP1981215B1 (en) Network system
US10904152B2 (en) Hardware-friendly mechanisms for in-band OAM processing
CN101599862B (en) Method and device for allocating transport-multiprotocol label switching and ring network protecting maintenance entity groups
EP2568670B1 (en) Method for message forwarding and device for deep packet inspection
US8462636B2 (en) Systems and methods for communication of management traffic over link aggregation group interface for a network element with distributed architecture
US20140293798A1 (en) Mpls-tp network and link trace method thereof
EP2595344A2 (en) Method, apparatus, and system for detecting connectivity in a multi-protocol label switching ring network
KR20100080536A (en) Carrier network connection device and carrier network
EP2911355B1 (en) Method and device for flow path negotiation in link aggregation group
CN102946349B (en) A kind of Ethernet E-Line service link discover method based on ospf protocol and device
CN108737221B (en) Packet loss detection method and communication link system
CN104767680B (en) It route the method and apparatus being switched fast
CN103780425A (en) A method and a controller device for configuring a software-defined network
CN105991338A (en) Network operation and maintenance management method and device
CN105634935A (en) Device and method for detecting service layer signal failure
CN105472486A (en) Processing method for preventing routing loop of PON access system
RU2679538C2 (en) Methods and devices for flexible mobile steering in cellular networks
CN105637806A (en) Method and apparatus for determining network topology, and centralized network state information storage device
CN110380966B (en) Method for discovering forwarding path and related equipment thereof
US9184986B2 (en) Method and apparatus for optimizing and scaling control plane traffic in carrier ethernet transport networks
WO2022257854A1 (en) Message publishing method and apparatus, and forwarding path processing method and apparatus
CN105515850A (en) Method for controlling and managing ForCES forwarding part through OpenFlow controller and configuration point

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

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
TR01 Transfer of patent right
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.