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 PDFInfo
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000012423 maintenance Methods 0.000 abstract description 7
- 238000009792 diffusion process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
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
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.
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)
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)
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 | 中兴通讯股份有限公司 | Use the EXP field to identify the method of monitoring sublayers |
CN101227334A (en) * | 2008-01-29 | 2008-07-23 | 中兴通讯股份有限公司 | Encapsulation and processing method of operation management maintenance protocol data unit |
-
2010
- 2010-10-27 CN CN2010105212770A patent/CN102142979A/en active Pending
Patent Citations (4)
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 | 中兴通讯股份有限公司 | Use the EXP field to identify the method of monitoring sublayers |
CN101227334A (en) * | 2008-01-29 | 2008-07-23 | 中兴通讯股份有限公司 | Encapsulation and processing method of operation management maintenance protocol data unit |
Cited By (1)
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 |
---|---|---|
CN105281931B (en) | Bit error detection method, the apparatus and system of POTN | |
JP6001797B2 (en) | Method for managing a ZigBee network in the Internet of Things | |
EP2996290A1 (en) | Packet forwarding method, apparatus, and system | |
CN102148694B (en) | A kind of linear 1:N guard method of grouping conveying network, device and system | |
CN101827025A (en) | Communication network multicast protection method, system and device | |
US9948434B2 (en) | Method for bit error rate detection, and network device | |
US20060168263A1 (en) | Monitoring telecommunication network elements | |
CN101729426A (en) | Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP) | |
CN108449276B (en) | Route convergence method and device | |
CN101888610A (en) | Method, system and device for realizing short message service | |
CN106302351A (en) | Collect to access and control the method for list, Apparatus and system | |
CN101854565B (en) | Information transmission method, service protection method, system and devices | |
CN102142979A (en) | Method and device for processing Ethernet operations, administration and maintenance protocol data unit | |
WO2013075476A1 (en) | Ethernet link detection method and device | |
CN105450519B (en) | The sending method and core switch of message | |
CN104468158A (en) | A method and apparatus for notifying status among nodes | |
CN105897601A (en) | Business request processing method and device | |
CN102170371B (en) | Method for collecting important information of network equipment on the basis of centralized management | |
US7756160B2 (en) | Packet consolidation | |
CN112751740B (en) | ERPS subring resource release method, system, server and storage medium | |
CN103812690B (en) | Fault diagnosis information transferring and processing method for normalization management interface of device | |
JP6057470B2 (en) | Network alarm processing system | |
CN102142996B (en) | Method and device for identifying physical node in cloud operating system | |
CN101296112A (en) | Method, device and system for realizing Ethernet quality of service in an optical network unit | |
CN101247287B (en) | Fault detection method for operation management maintenance mechanism |
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 |