CN102142979A - Method and device for processing Ethernet operations, administration and maintenance protocol data unit - Google Patents

Method and device for processing Ethernet operations, administration and maintenance protocol data unit Download PDF

Info

Publication number
CN102142979A
CN102142979A CN2010105212770A CN201010521277A CN102142979A CN 102142979 A CN102142979 A CN 102142979A CN 2010105212770 A CN2010105212770 A CN 2010105212770A CN 201010521277 A CN201010521277 A CN 201010521277A CN 102142979 A CN102142979 A CN 102142979A
Authority
CN
China
Prior art keywords
oam pdu
pdu
oam
ttl
information
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.)
Pending
Application number
CN2010105212770A
Other languages
Chinese (zh)
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.)
Huawei Digital Technologies Chengdu Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Chengdu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Digital Technologies Chengdu Co Ltd filed Critical Huawei Digital Technologies Chengdu Co Ltd
Priority to CN2010105212770A priority Critical patent/CN102142979A/en
Publication of CN102142979A publication Critical patent/CN102142979A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a method for processing an Ethernet operations, administration and maintenance (OAM) protocol data unit (PDU). The method comprises the following steps of: receiving the OAM PDU; judging whether to end the OAM PDU according to time to live (TTL) information carried in the OAM PDU; if the OAM PDU is judged to be ended, discarding the OAM PDU; and if the OAM PDU is judged not to be ended, subtracting 1 from the TTL carried in the OAM PDU and then forwarding the TTL from which 1 is subtracted. The method can effectively solve an OAM PDU diffusion problem in the prior art so as to realize the automatic ending of the OAM PDU. The embodiment of the invention also discloses a device for processing the Ethernet operations, administration and maintenance.

Description

The processing Ethernet is runed, and administers and maintains the method and apparatus of protocol Data Unit
Technical field
The present invention relates to the communications field, the method and apparatus of particularly a kind of processing Ethernet OAM (operation administers and maintains for Operations, Administration and Maintenance) PDU (Protocol Data Unit, protocol Data Unit).
Background technology
Ethernet technology is from being born, with its be simple and easy to usefulness, cheap characteristics progressively become the dominant technology of local area network (LAN).In recent years, along with the sequential use of gigabit, ten thousand mbit ethernet technology, Ethernet is to metropolitan area network and the expansion of wide area network direction.
Ethernet is mainly used in local area network (LAN) at first.With respect to metropolitan area network and wide area network, local area network (LAN) is all lower to reliability, stability requirement, therefore Ethernet lacks operation maintenance management mechanism always, and this point has become the serious hindrance of Ethernet as ISP (Internet Service Provider, ISP) network.Therefore, realize that on Ethernet OAM becomes an inevitable development trend.
Currently in Ethernet, use OAM PDU to carry out error management and Performance Detection is mainly followed the standard " based on the OAM(Operation Administration Maintenance) and the mechanism of Ethernet " (Y.1731) of ITU-T (standardization department of international telecommunication union telecommunication).
There is a problem in OAM PDU in application, that is exactly MEG (Maintenance Entity Group, Maintenance Entity) Level (grade), the MEG ID OAM parameters such as (Identifier, signs) that the termination of OAM PDU depends on user's configuration deployment.For the node of not configuration or the node of configuration error, OAM PDU message will spread on network by this node transparent transmission.For multicast OAM PDU, be broadcasting because Ethernet is handled the message mode of unknown address, so the diffusion problem of OAM PDU will be more serious.
The present inventor finds, in case OAM PDU diffuses in other territories and can't terminate in the prior art, will cause unpredictable network traffics, can impact to network.
Summary of the invention
Rely on the OAM PDU diffusion problem that OAM parameter termination OAM PDU is caused in the prior art for solving, embodiments of the invention provide a kind of method and apparatus of handling Ethernet OAM PDU.
A kind of method of handling Ethernet OAM PDU that one embodiment of the present of invention provide comprises:
Network node in the Ethernet receives OAM PDU, carries life span TTL information among the wherein said OAM PDU, and described TTL information-bearing is in sign FLAG field;
Network node in the described Ethernet is according to the described TTL information described OAM PDU that judges whether terminate;
If described TTL is 0, then judge the described OAM PDU that terminate, described OAM PDU is abandoned;
If described TTL is not 0, then judge the described OAM PDU that should not terminate, the TTL that carries among the described OAM PDU is subtracted 1, forward then.
A kind of device of handling Ethernet OAM PDU that one embodiment of the present of invention provide comprises:
Receiving element is used to receive OAM PDU, carries life span TTL information among the wherein said OAM PDU, and described TTL information-bearing is in sign FLAG field;
Judging unit is used for according to the described TTL information described OAM PDU that judges whether terminate; Wherein, when judgment unit judges should terminate described OAM PDU, trigger first processing unit; When judgment unit judges should not terminate described OAM PDU, trigger second processing unit;
Described first processing unit is used to abandon described OAM PDU;
Described second processing unit is used for the TTL that described OAM PDU carries is subtracted 1, forwards then.
The square law device that the embodiment of the invention provides by carry TTL information in the FLAG of Ethernet OAM PDU field, can effectively solve OAM PDU diffusion problem in the prior art, thereby realizes the automatic termination of OAM PDU.
Description of drawings
A kind of method flow diagram of handling Ethernet OAM PDU that Fig. 1 provides for one embodiment of the present of invention;
Fig. 2 is in the embodiments of the invention, the example format of a kind of OAM PDU;
A kind of apparatus structure schematic diagram of handling Ethernet OAM PDU that Fig. 3 provides for an alternative embodiment of the invention;
A kind of apparatus structure schematic diagram of handling Ethernet OAM PDU that Fig. 4 provides for another embodiment of the present invention;
Fig. 5 is in the embodiments of the invention, a kind of example format of warning message.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below with reference to accompanying drawing, the present invention is described in further detail.
Referring to Fig. 1, Fig. 1 is a kind of method flow diagram of handling Ethernet OAM PDU that one embodiment of the present of invention provide, and comprising:
100, the network node in the Ethernet receives OAM PDU, carries TTL (Time to Live, life span) information among the wherein said OAM PDU, and described TTL information-bearing is in sign (FLAG) field;
110, the network node in the described Ethernet is according to the described TTL information described OAM PDU that judges whether terminate;
120, if described TTL is 0, then judge the described OAM PDU that terminate, this OAM PDU is abandoned;
130, if described TTL is not 0, then judge the described OAM PDU that should not terminate, the TTL that carries among the described OAM PDU is subtracted 1, forward then.
Optionally, as shown in Figure 2, described TTL information can be carried in the bit that keeps in the FLAG field.
Optionally, after described OAM PDU is abandoned, can reply warning message, be dropped to inform this OAM PDU to the transmit leg of this OAM PDU.
Further alternative, can also carry the information such as reason that this OAM PDU is dropped in the above-mentioned warning message.
Further alternative, in above-mentioned warning message, can also carry described location of network nodes information, to inform the spread condition of this OAM PDU of transmit leg in Ethernet.
For example, above-mentioned warning message can multiplexing former OAM PDU.As option, this warning message the ff of OPCODE (Option Code, option code) of multiplexing OAM PDU for reserving, distinguish (for the equipment that does not adopt this case with OAM PDU with regular traffic, this warning message does not influence the use of its regular traffic with transparent transmission).
Optionally, when warning message carries the reason that OAM PDU is dropped, high 5 bits in can the FLAG field of former OAM PDU.As shown in Figure 5.Wherein, the 5th bit can be changed to 0, abandon the reason alarm to be expressed as, low 4 bits can provide 16 kinds of modes, carry the different reasons that abandons.
Optionally, when warning message carries described location of network nodes information, also can adopt form as shown in Figure 5.Wherein, the 5th bit can be changed to 1, being expressed as positional information alarm, it is that alarming appears in which node apart from transmit leg that low 4 bits can be announced.For example, 00001 expression is dropped at the 1st node, by that analogy from the message that transmit leg sends out.
The method that the embodiment of the invention provides by carry TTL information in the FLAG of Ethernet OAM PDU field, can effectively solve OAM PDU diffusion problem in the prior art, thereby realizes the automatic termination of OAM PDU.
An alternative embodiment of the invention provides a kind of device of handling Ethernet OAM PDU, as shown in Figure 3, comprising:
Receiving element is used to receive OAM PDU, carries TTL (Time to Live, life span) information among the wherein said OAM PDU, and described TTL information-bearing is in sign (FLAG) field;
Judging unit is used for according to the described TTL information described OAM PDU that judges whether terminate;
When judgment unit judges should terminate described OAM PDU, trigger first processing unit, be used to abandon described OAM PDU;
When judgment unit judges should not terminate described OAM PDU, trigger second processing unit, be used for the TTL that described OAM PDU carries is subtracted 1, forward then.
Optionally, as shown in Figure 4, said apparatus can also comprise:
Alarm Unit when first processing unit abandons described OAM PDU, is replied warning message to the transmit leg of this OAM PDU, is dropped to inform this OAM PDU.
Further alternative, can also carry the information such as reason that this OAM PDU is dropped in the above-mentioned warning message.
Further alternative, in above-mentioned warning message, can also carry described location of network nodes information, to inform the spread condition of this OAM PDU of transmit leg in Ethernet.
The device that the embodiment of the invention provides by carry TTL information in the FLAG of Ethernet OAM PDU field, can effectively solve OAM PDU diffusion problem in the prior art, thereby realizes the automatic termination of OAM PDU.
Through the above description of the embodiments, those of ordinary skill in the art can be well understood to the embodiment of the invention and can realize by the mode that software adds essential general hardware platform, can certainly realize by hardware.Based on such understanding, the technical scheme of the embodiment of the invention can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that computer equipment or server or other network equipments are carried out the described method of some part of each embodiment of the present invention or embodiment.
Being preferred embodiment of the present invention only below, is not to be used to limit protection scope of the present invention.

Claims (7)

1. handle the Ethernet operation for one kind, administer and maintain the method for OAM Protocol Data Unit PDU, it is characterized in that, comprising:
Network node in the Ethernet receives OAM PDU, carries life span TTL information among the wherein said OAM PDU, and described TTL information-bearing is in sign FLAG field;
Network node in the described Ethernet is according to the described TTL information described OAM PDU that judges whether terminate;
If described TTL is 0, then judge the described OAM PDU that terminate, described OAM PDU is abandoned;
If described TTL is not 0, then judge the described OAM PDU that should not terminate, the TTL that carries among the described OAM PDU is subtracted 1, forward then.
2. the method for claim 1 is characterized in that, in the bit that described TTL information-bearing keeps in the FLAG field.
3. method as claimed in claim 1 or 2 is characterized in that, after described OAM PDU is abandoned, replys warning message to the transmit leg of described OAM PDU, is dropped to inform described OAM PDU.
4. method as claimed in claim 3 is characterized in that, also carries the reason that described OAM PDU is dropped in the described warning message.
5. method as claimed in claim 3 is characterized in that, in the described warning message, also carries described location of network nodes information.
6. handle the Ethernet operation for one kind, administer and maintain the device of OAM Protocol Data Unit PDU, it is characterized in that, comprising:
Receiving element is used to receive OAM PDU, carries life span TTL information among the wherein said OAM PDU, and described TTL information-bearing is in sign FLAG field;
Judging unit is used for according to the described TTL information described OAM PDU that judges whether terminate; Wherein, when judgment unit judges should terminate described OAM PDU, trigger first processing unit; When judgment unit judges should not terminate described OAM PDU, trigger second processing unit;
Described first processing unit is used to abandon described OAM PDU;
Described second processing unit is used for the TTL that described OAM PDU carries is subtracted 1, forwards then.
7. device as claimed in claim 6 is characterized in that, described device also comprises:
Alarm Unit when described first processing unit abandons described OAM PDU, is replied warning message to the transmit leg of described OAM PDU, is dropped to inform described OAM PDU; Perhaps
When described first processing unit abandons described OAM PDU, reply warning message to the transmit leg of described OAM PDU, be dropped to inform described OAM PDU, and at least a in the following information:
The reason that described OAM PDU is dropped, the positional information of described device.
CN2010105212770A 2010-10-27 2010-10-27 Method and device for processing Ethernet operations, administration and maintenance protocol data unit Pending CN102142979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105212770A CN102142979A (en) 2010-10-27 2010-10-27 Method and device for processing Ethernet operations, administration and maintenance protocol data unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105212770A CN102142979A (en) 2010-10-27 2010-10-27 Method and device for processing Ethernet operations, administration and maintenance protocol data unit

Publications (1)

Publication Number Publication Date
CN102142979A true CN102142979A (en) 2011-08-03

Family

ID=44410222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105212770A Pending CN102142979A (en) 2010-10-27 2010-10-27 Method and device for processing Ethernet operations, administration and maintenance protocol data unit

Country Status (1)

Country Link
CN (1) CN102142979A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159679A1 (en) * 2012-04-25 2013-10-31 华为技术有限公司 Method for sending exception message, method for controlling multicast scope, and devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050089327A1 (en) * 2003-10-22 2005-04-28 Shlomo Ovadia Dynamic route discovery for optical switched networks
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
CN101127646A (en) * 2007-09-17 2008-02-20 中兴通讯股份有限公司 Method for monitoring sub-layer via EXP field identifier
CN101227334A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Encapsulation and processing method of operation management maintenance protocol data unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050089327A1 (en) * 2003-10-22 2005-04-28 Shlomo Ovadia Dynamic route discovery for optical switched networks
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
CN101127646A (en) * 2007-09-17 2008-02-20 中兴通讯股份有限公司 Method for monitoring sub-layer via EXP field identifier
CN101227334A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Encapsulation and processing method of operation management maintenance protocol data unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159679A1 (en) * 2012-04-25 2013-10-31 华为技术有限公司 Method for sending exception message, method for controlling multicast scope, and devices

Similar Documents

Publication Publication Date Title
JP6001797B2 (en) Method for managing a ZigBee network in the Internet of Things
CN102136959B (en) Ethernet link management method, device and system
CN105281931A (en) Error code detection method, device and system of POTN
CN102148694B (en) A kind of linear 1:N guard method of grouping conveying network, device and system
US20060168263A1 (en) Monitoring telecommunication network elements
CN104521193B (en) The method and the network equipment of a kind of bit error rate detection
CN102868569A (en) Method, node and system for detecting performance of three-layer virtual private network
CN101888610A (en) Method, system and device for realizing short message service
EP2432169A1 (en) Method, device and system for determining route congestion
EP3425850B1 (en) Method and device for processing communication path
CN104885523B (en) Fault handling method, packet data network, mobile management entity and network system
CN102142979A (en) Method and device for processing Ethernet operations, administration and maintenance protocol data unit
CN108259442B (en) Slow protocol message processing method and related device
WO2013075476A1 (en) Ethernet link detection method and device
CN105897601A (en) Business request processing method and device
CN101494598A (en) Flow control method, device and system
US7756160B2 (en) Packet consolidation
CN110971477B (en) Communication method, device, system and storage medium
CN112995024A (en) Signal degradation warning method, system, terminal device and storage medium
CN106550222B (en) Video stream sending method and network camera
CN101321016A (en) Method and node equipment for implementing user signal failure remote defect indication
CN102420828B (en) Method, device and system for setting protocol management status
JP2017536636A (en) Information transmission method, managed system, and management system
CN103609066A (en) Method and node for querying operation administration maintenance configuration information
CN112751740B (en) ERPS subring resource release method, system, server and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110803