CN101119245A - Method and device for performing link monitoring using OAM protocol - Google Patents

Method and device for performing link monitoring using OAM protocol Download PDF

Info

Publication number
CN101119245A
CN101119245A CNA2007101459626A CN200710145962A CN101119245A CN 101119245 A CN101119245 A CN 101119245A CN A2007101459626 A CNA2007101459626 A CN A2007101459626A CN 200710145962 A CN200710145962 A CN 200710145962A CN 101119245 A CN101119245 A CN 101119245A
Authority
CN
China
Prior art keywords
mac address
oam
link
opposite end
ethernet device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101459626A
Other languages
Chinese (zh)
Other versions
CN101119245B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007101459626A priority Critical patent/CN101119245B/en
Publication of CN101119245A publication Critical patent/CN101119245A/en
Application granted granted Critical
Publication of CN101119245B publication Critical patent/CN101119245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The present invention discloses a method and a device using an OAM protocol to monitor links, wherein, the aforesaid method comprises the contents as bellow: A record is located at the required monitoring link end-to-end Ethernet device MAC address in the Ethernet device preinstalled end-to-end MAC address table; as for each of the recorded MAC addresses in the aforesaid end-to-end MAC address table, the invention checks whether receives the source address and the suited OAM message; the invention, if not receiving the aforesaid, identifies the link failure between the Ethernet device and the recorded MAC address. The aforesaid device is provided in one end of the required monitoring link Ethernet device and comprises an OAM message transmitting/ receiving cell, an end-to-end MAC address table cell, an MAC address matching cell and a link failure identifying cell. The method and device disclosed by the present invention expand the application range of the OAM protocol, are applied in the Ethernet broadcast field and are simple and easy without changing the present OAM protocol running mechanism.

Description

Utilize the OAM agreement to carry out the method and the device of link monitoring
Technical field
The present invention relates to the ethernet communication field, relate in particular to method and device that a kind of OAM of utilization agreement is carried out link monitoring.
Background technology
IEEE 802.3 is as present most widely used media interviews technical standard, be the standard of ethernet physical layer being formulated by international electronics and The Institution of Electrical Engineers, this standard full name detects the access method and the physical layer specification (Carrier SenseMultiple Access with Collision Detection (CSMA/CD) Access Method andPhysical Layer Specifications) of multiple access (CSMA/CD) for the carrier wave of band collision detection.At the 57th chapter (" IEEE Std802.3-2005 " the 57th chapter) of this standard, defined the scheme that is used for ethernet operation (Operation), management (Administration) and safeguards (Maintenance), be commonly referred to the OAM agreement; Wherein, can be for the regulation of the OAM course of work referring to 57.2.9.1 joint, 57.3.1.5 joint and Figure 57-5 of standard IEEE Std 802.3-2005.
OAM(Operation Administration Maintenance) comprises remote loopback, the indication of far-end mistake and link monitoring etc., the normal operation and the locating network fault that are used for monitor network, detailed process is as follows: two equipment setting up that OAM connects send an OAM message respectively and keep connection status each seconds, if do not receive the OAM message of opposite end within 5 seconds, then think to connect to disconnect, thereby realize monitoring and positioning function.
But, above-mentioned OAM monitoring function is only applicable to the situation that there is not other branch in connection link between the equipment, it is the situation that the OAM agreement is suitable for and is only applicable to connect between two ports, and when a lot of equipment were connected to form a broadcast domain by HUB (hub), the OAM agreement just can not play a role.The limitation of OAM(Operation Administration Maintenance) in the prior art is described below by two concrete examples:
(1), is the networking schematic diagram of OAM work in the prior art referring to Figure 1A and Figure 1B.
Wherein, dispose OAM respectively on ethernet device 1 and ethernet device 2 ports among Fig. 1 A, and send an OAM message each second and keep connection status; When ethernet link interrupted, the OAM message also interrupted, if do not receive the OAM message of opposite end within 5 seconds, then thought to connect to disconnect, and realized the link monitoring function of OAM; It may be noted that because the syndeton of Figure 1A is simple, even without adopting the OAM agreement, but adopt the direct detection to the physical link break-make, can identify yet, is not the most typical application of OAM therefore.
Figure 1B has embodied the most typical application of OAM.Because in Figure 1B, two equipment are connected by a HUB, therefore, if be connected disconnection between ethernet device 1 and the HUB, being connected between ethernet device 2 and the HUB is intact, then adopts the direct testing mechanism of physical link break-make can't find to interrupt being connected between ethernet device 1 and the ethernet device 2.And if disposed OAM on ethernet device 1 and ethernet device 2 ports respectively, be that ethernet device 1 has been set up unique OAM with ethernet device 2 by HUB and is connected, then the OAM module on the ethernet device 2 can be after 5 seconds, owing to the OAM message of not receiving the opposite end identifies the interruption that is connected with ethernet device 1.
As can be seen, under the branchiess situation of link between ethernet device 1 and the ethernet device 2, when promptly only connecting between two ports, OAM can give full play to the function of the link monitoring between the equipment.
(2) in the prior art, the OAM agreement is not suitable for broadcast domain.
So-called broadcast domain is meant that ethernet device is connected on the device, and this device is not distinguished message, but any message that any port is received is duplicated, and sends by all of the port; That is ethernet devices all in the broadcast domain all can be received identical message.
The representative of this device is hub (HUB), and when a lot of ethernet devices were connected on the HUB, because the function of this HUB is that the message that will receive on the port copies to other all ports, therefore, this structure had constituted a physical layer broadcast domain.
This device also can be the network with transparent transmission function, and this structure has only constituted broadcast domain to the OAM message.
So-called transparent transmission function, be meant transmit network no matter the business of transmission how, a business of only being responsible for will needing to transmit is sent to destination node.When a lot of ethernet devices are connected in the transmission network with transparent transmission characteristic, if the address that an ethernet device sends is the OAM message of fixing, because the destination address of OAM message is (01-80-c2-00-00-02) that fixes, not indicating the opposite end is whom, therefore under the situation that the transparent transmission network is configured to message is transmitted, that need carry out this message duplicates and is broadcast to the ethernet device that all connect this network.As can be seen, this has constituted a broadcast domain equally, and this class broadcast domain is based on the OAM own characteristic and causes the OAM message to be replicated broadcasting and form.
For OAM, broadcast domain can be divided into physical layer broadcast domain and non-physical layer broadcast domain; For the broadcast domain that is connected to form by above-mentioned HUB, can be called the physical layer broadcast domain; For the broadcast domain that forms by above-mentioned transparent transmission network, then be non-physical layer broadcast domain.No matter for any broadcast domain, the OAM agreement all is difficult to be suitable in the prior art, below by a simple physical layer broadcast domain is that example is described, and this physical layer broadcast domain is connected to a HUB by 3 ethernet devices that dispose the OAM agreement and is constituted, as shown in Figure 2:
Because the OAM message that ethernet device sends can be duplicated by HUB, therefore when one of them ethernet device sent message, two other ethernet device all can receive this message; Because the destination address of OAM protocol massages is (01-80-c2-00-00-02) that fixes, and not indicating the opposite end is whom, therefore, ethernet device 1,2 and 3 does not know that all which end its far-end is on earth again.For instance, when ethernet device 1 disconnected with being connected of HUB, because ethernet device 2 and 3 still can be received the OAM message that the other side sends mutually, therefore, ethernet device 2 can't be found the link failure of itself and ethernet device 1, and ethernet device 3 also can't be found the link failure of itself and ethernet device 1.Wherein, so-called link is meant the annexation between the ethernet device.
Obviously, under the situation of broadcast domain,, also can't realize the monitoring of network annexation even ethernet device has started the OAM agreement.
In sum, the OAM agreement only can be monitored the connection between 2 in the prior art, can not use on broadcast domain; That is, for the broadcast domain of Ethernet, do not carry out the technical scheme of active link monitoring in the prior art by the OAM agreement.
Summary of the invention
The present invention aims to provide the technical scheme that a kind of OAM of utilization agreement is carried out link monitoring, to reach the purpose of expansion OAM agreement to the monitoring capacity of link, makes it be applicable to the Ethernet broadcast domain, particularly the ethernet physical layer broadcast domain.
For achieving the above object, embodiments of the invention provide a kind of OAM of utilization agreement to carry out the method for link monitoring, and wherein, the ethernet device that is in arbitrary required monitoring both link ends all disposes OAM agreement and fixed time broadcast OAM message; May further comprise the steps:
S1, in the default opposite end mac address table of ethernet device, record is in the ethernet device MAC Address of its required monitoring link opposite end;
S2, for each has write down MAC Address in the mac address table of described opposite end, check the OAM message in Preset Time, whether receive source address and its coupling;
If S3 does not receive, then discern described ethernet device to the described link failure that has write down between the MAC Address, if receive, it is normal to the described link that has write down between the MAC Address then to discern described ethernet device.
Embodiments of the invention also provide a kind of OAM of utilization agreement to carry out the device of link monitoring, comprise OAM message transmission/receiving element, also comprise: mac address table unit, opposite end, be used to preserve default opposite end mac address table, described opposite end mac address table is used to write down the ethernet device MAC Address that is in required monitoring link opposite end; The MAC Address matching unit is used for obtaining the MAC Address that has write down from mac address table unit, described opposite end, and will mate from OAM message source address and the described opposite end mac address table that described OAM message transmission/receiving element receives; The link failure recognition unit, be connected with described MAC Address matching unit with mac address table unit, described opposite end respectively, be used for having write down MAC Address for each, according to the OAM message of receiving/do not receive source address and its coupling in Preset Time, identification is connected normally/fault with the described link that has write down between the MAC Address.
As shown from the above technical solution, the present invention is by the MAC Address of record opposite end, and employing basis recording address is carried out the mode that OAM monitors, and has following beneficial effect:
1, expanded the range of application of OAM agreement, made it be applicable to the ethernet physical layer broadcast domain;
2, simple, need not to change existing OAM agreement operating mechanism.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the networking schematic diagram of OAM work in the prior art;
Fig. 2 is a physical layer broadcast domain networking schematic diagram in the prior art;
Fig. 3 carries out the flow chart of method one embodiment of link monitoring for the OAM of utilization agreement provided by the present invention;
Fig. 4 is a networking configuration schematic diagram in the method shown in Figure 3;
Fig. 5 carries out the block diagram of device one embodiment of link monitoring for the OAM of utilization agreement provided by the present invention;
Fig. 6 carries out the block diagram of another embodiment of device of link monitoring for the OAM of utilization agreement provided by the present invention.
Embodiment
The present invention on the basis that does not change existing standard, provides a kind of OAM of utilization agreement to carry out the technical scheme of link monitoring by prior art is improved.
At first it may be noted that, because the invention reside in to inquire into utilizes the OAM agreement to carry out the method for link monitoring, and existing standard is not made amendment, the therefore following ethernet device of being mentioned is the ethernet device that has disposed the OAM agreement and worked according to standard " IEEE Std 802.3-2005 ".
This equipment regularly outwards sends the OAM message, and the form of this OAM message is as shown in table 1:
6 byte destination addresses (=01-80-c2-00-00-02)
6 byte source addresses
2 byte types
1 byte subtype (=3)
2 byte flag positions
1 byte OAM type of message
Some byte datas
4 byte FCS afterbody check codes
Table 1
Wherein, destination address is fixed as 01-80-c2-00-00-02; Source address is the MAC Address of the ethernet device of transmission OAM message; Type takies two bytes, is 88-09; Subtype is 3 o'clock, represents the OAM message.
As can be seen, can carry the ethernet device MAC Address that sends the OAM message in the OAM message, the present invention utilizes this point, send the ethernet device MAC Address of OAM message by identification, realized differentiation monitoring, therefore the technical scheme that can expand OAM protocol application scope is provided the OAM message.
Specifically, according to the OAM consensus standard, the ethernet device that carries out the OAM link monitoring needs each second and sends an OAM message, the opposite end ethernet device is at Preset Time, within 5s, should receive the OAM message that this ethernet device sends, otherwise just can discern with this ethernet device between be connected disconnection.Similarly, in broadcast domain, an ethernet device same regularly (such as 1s) sends an OAM message; Then this message is broadcast through duplicating of broadcast domain, is received by other ethernet devices.If there is the monitoring of annexation between other ethernet devices and this ethernet device, then at Preset Time, within 5s, should receive the OAM message that this ethernet device sends, otherwise can discern equally with this ethernet device between be connected disconnection.Its difference is, the OAM agreement is only monitored the connection situation between 2 o'clock in the prior art, need not distinguish the transmit leg of OAM message, as long as receive message, the link that just shows the opposite end is normal, therefore, the frequency of simple statistics reception OAM message can satisfy the requirement of carrying out the OAM monitoring; And in broadcast domain, then require the transmit leg of OAM message is made a distinction, otherwise the inefficacy that must cause OAM to monitor.
In order to reach this purpose, in the present invention, by writing down the MAC Address of opposite end on the ethernet device to needs monitoring both link ends respectively, and carry out OAM at this MAC Address and detect, thereby overcome when broadcast domain is used the OAM agreement and since the state confusion of OAM message caused can't discern situation.Described below in conjunction with specific embodiment.
Referring to Fig. 3, carry out the flow chart of method one embodiment of link monitoring for the OAM of utilization agreement provided by the present invention, may further comprise the steps:
S1, in the default opposite end mac address table of ethernet device, record is in the ethernet device MAC Address of its required monitoring link opposite end;
One of ordinary skill in the art will appreciate that required monitoring link can be for one or more of, corresponding, needing the MAC Address of the opposite end ethernet device of record is one or more just.
As shown in Figure 4, be a broadcast domain networking schematic diagram: ethernet device 1,2 and 3 links together by HUB, and when one of them ethernet device sent message, two other ethernet device can both receive; If desired these three ethernet devices annexation is between any two monitored, just need on each ethernet device, be write down the MAC Address of two other ethernet device.This is equivalent to broadcast domain is divided for some examples, and each example is a pair of equipment, and this equipment disposes respectively and starts OAM.
Certainly, can dispose this monitoring example according to actual needs, for example, in Fig. 4, if only need to monitor with ethernet device 1 between be connected, so can a profile instance 1 and example 2, and without profile instance 3, promptly, on ethernet device 2 and ethernet device 3, only write down the MAC Address of ethernet device 1 in the MAC Address of ethernet device 1 record ethernet device 2 and 3.
The recording process that it may be noted that MAC Address among this step S1 can manually be finished by the network manager, also can be in the monitor procedure of reality to link, and record is finished automatically, and this dual mode will be described in detail in embodiment subsequently.
S2, for each has write down MAC Address in the mac address table of described opposite end, ethernet device is checked at Preset Time (according to present OAM standard, this Preset Time is 5 seconds) in whether receive the OAM message of source address and its coupling, be execution in step S4 then, otherwise execution in step S3;
Obviously, in this step S2, when ethernet device writes down a plurality of MAC Address, keep monitoring respectively to whole MAC Address.
Concrete, can realize according to known technology by those of ordinary skills the monitoring respectively of all having write down MAC Address, such as making up a session respectively and monitor by write down MAC Address for each; Can monitor by making up a monitor session for another example, such as, when whenever receiving a MAC message, this monitor session is just carried out mark one time for the corresponding MAC Address of record; When monitoring the some time of having write down the last mark of MAC Address of distance, this monitor session exceeded Preset Time, then execution in step S3.But it may be noted that, the monitoring of writing down MAC Address is based on the analysis of the OAM message source address that receives carried out: after ethernet device is received an OAM message, at first extract the source MAC of this OAM message, promptly obtain the MAC Address of the ethernet device that sends this OAM message; Then, this MAC Address and all MAC Address that write down are compared, thereby obtained corresponding match information; Ethernet device basis match information is each time carried out writing down the monitoring respectively of MAC Address.
As can be seen, in this step S2, carried out the differentiation of OAM monitoring: no longer be the frequency that simple statistics receives the OAM message, but will be according to each MAC Address that has write down, statistics is received the frequency of specific OAM message targetedly.With Fig. 4 is example, when ethernet device 1 is received the OAM message, by the coupling of opposite end mac address table, just can determine the end that sends of OAM message, thereby realizes local terminal and the monitoring of sending the end connection status; Such as, ethernet device 1 has the OAM message of receiving that the source MAC and the MAC Address of the ethernet device 2 that has write down are mated always, but do not receive the OAM message that the source MAC and the MAC Address of the ethernet device 3 that has write down are mated in the given time, then for the MAC Address of ethernet device 3, execution in step S3.
S3, the described ethernet device of identification are to the described link failure that has write down between the MAC Address;
Obviously,, there are some situations that MAC Address is never received coupling OAM message that write down, just shown that this ethernet device has write down the connection fault between the MAC Address to this if in Preset Time 5s.
S4, identification described ethernet device normal to the described link that has write down between the MAC Address; Then this is write down the monitoring that MAC Address enters next cycle, promptly re-executed step S2.
From above-mentioned steps S1 to S4 as can be seen, the OAM agreement of utilizing that the embodiment of the invention provided is carried out the method for link monitoring by the identification to OAM message source address, can under the prerequisite that does not change existing OAM standard operating mechanism, the OAM protocol application be arrived the physical layer broadcast domain that connects by HUB.
It may be noted that the foregoing description is that example is described with the physical layer broadcast domain that connects by HUB, but non-limitation.The broadcast domain that the present invention was suitable for also may be the broadcast domain that connects by network, and this network has carried out copy broadcast with the OAM message.
Simultaneously, the description of the embodiment of the invention is to be that example describes with an ethernet device, one of ordinary skill in the art will appreciate that, the ethernet device that is in the monitoring both link ends is carried out same operation, when link down, the opposite end all can perceive fault state, thereby finishes the monitoring function of OAM agreement at broadcast domain, has realized the expansion of OAM protocol application scope.
Further, the OAM agreement of utilizing that the embodiment of the invention provided is carried out in the method for link monitoring, writing down the step of the MAC Address of required monitoring link opposite end ethernet device can be finished by administrator hand, also can in the monitor procedure of reality, finish automatically, be described respectively below by two embodiment.
Manually the record MAC Address realizes that method shown in Figure 3 can realize by following steps:
(1) broadcast domain is carried out example and divide, the ethernet device that makes each required monitoring both link ends is as one group;
(2) in the default opposite end mac address table of each ethernet device,, according to the MAC Address of each example record opposite end ethernet device;
(3) after ethernet device receives the OAM message, the source MAC of checking described OAM message whether with write down the MAC Address coupling, if coupling then abandons this OAM message, disregard;
(4) if coupling is then carried out mark to having write down MAC Address accordingly;
(5) when checking out that one has write down MAC Address is not received source address and its coupling in Preset Time OAM message, then discern described ethernet device to the described link failure that has write down between the MAC Address.
With respect to manual record MAC Address, carry out the automatic record of MAC Address, promptly first unknown source MAC of receiving according to ethernet device is set up example, will be more flexible, but it is noted that also this self registering mode makes the local terminal ethernet device be attacked easily.Concrete scheme is as follows:
When (1) receiving the OAM message, whether inquiry exists the source address of described OAM message in the mac address table of described opposite end, the source MAC of promptly checking described OAM message whether with write down the MAC Address coupling, wherein, be sky during the mac address table initialization of described opposite end;
(2) if there is no, then the source address of described OAM message is added in the mac address table of described opposite end, foundation is connected with the OAM of this MAC Address; As can be seen, this source address becomes automatically and has write down MAC Address, will be subjected to the monitoring of ethernet device;
(3) if exist, then record has write down the situation that MAC Address receives the OAM message accordingly;
(4) when checking out that one has write down MAC Address is not received source address and its coupling in Preset Time OAM message, then discern described ethernet device to the described link failure that has write down between the MAC Address.
In the scheme of above-mentioned record MAC Address, it may be noted that so-called opposite end mac address table only represents a kind of function that writes down the opposite end MAC Address, not necessarily the form with tabulation exists, can be by tabulation, block or the realization of other recording modes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, described program can be stored in the computer read/write memory medium, this program comprises the steps: when carrying out
S1, in the default opposite end mac address table of ethernet device, record is in the ethernet device MAC Address of its required monitoring link opposite end;
S2, for each has write down MAC Address in the mac address table of described opposite end, check the OAM message in Preset Time, whether receive source address and its coupling;
If S3 does not receive, then discern described ethernet device to the described link failure that has write down between the MAC Address, if receive, it is normal to the described link that has write down between the MAC Address then to discern described ethernet device.
Described storage medium comprises: ROM/RAM, magnetic disc or CD etc.
Accordingly, embodiments of the invention also provide and have utilized the OAM agreement to carry out the device of link monitoring, as shown in Figure 5.
In the present embodiment, the device 100 that utilizes the OAM agreement to carry out link monitoring comprises:
OAM message transmission/receiving element 101 is used for regularly OAM message of (such as 1s) transmission, and carries out the reception work of OAM message;
Mac address table unit, opposite end 102 is used to preserve default opposite end mac address table, and described mac address table is used to write down the ethernet device 200MAC address that is in required monitoring link opposite end;
MAC Address matching unit 103 is used for obtaining the MAC Address that has write down from mac address table unit, described opposite end 102, and will mate from OAM message source address and the opposite end mac address table that described OAM message transmission/receiving element 101 receives;
Link failure recognition unit 104, be connected with described MAC Address matching unit 103 with mac address table unit, described opposite end 102 respectively, be used for matching result according to MAC Address matching unit 103, whole MAC Address that write down in the mac address table unit, opposite end 102 are monitored: write down MAC Address for each, if in Preset Time, receive the OAM message of source address and its coupling, then discern local terminal and be connected normally with the described link that has write down between the MAC Address; If in Preset Time, do not receive the OAM message of source address and its coupling, then discern local terminal and be connected fault with the described link that has write down between the MAC Address.
As can be seen, the device 100 that the OAM of utilization agreement provided by the present invention is carried out link monitoring need be installed in the ethernet device that is in required monitoring both link ends, the collaborative monitoring function of realizing the OAM agreement to link.This ethernet device can be applied in the network of end-to-end link, and in this case, it only is the opposite end MAC Address that this device 100 needs the MAC Address of record; Also can be applied in the physical layer broadcast domain or the broadcast domain by the network connection that connects by HUB, in this case, device 100 needs the MAC Address of record to be at least one, to monitor at writing down MAC Address respectively.
Special needs to be pointed out is, in mac address table unit, opposite end 102, carry out the work of MAC Address record and can manually finish, divide, and finish the record of opposite end MAC Address by specific interface and instruction such as initiatively carry out broadcast domain by the keeper; Simultaneously, carrying out the work of MAC Address record in mac address table unit, opposite end 102 also can finish automatically, obtain its source address to be sent to mac address table unit, opposite end 102 when having write down the unmatched OAM message of MAC Address at MAC Address matching unit 103, realize automatic record.As shown in Figure 6, carry out the block diagram of another embodiment of device of link monitoring, have the annexation of pointing to mac address table unit, opposite end 102 from MAC Address matching unit 103, to carry out the automatic record of MAC Address for the present invention utilizes the OAM agreement.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. method of utilizing the OAM agreement to carry out link monitoring, wherein, the ethernet device that is in arbitrary required monitoring both link ends all disposes OAM agreement and fixed time broadcast OAM message; It is characterized in that, may further comprise the steps:
S1, in the default opposite end mac address table of ethernet device, record is in the ethernet device MAC Address of its required monitoring link opposite end;
S2, for each has write down MAC Address in the mac address table of described opposite end, check the OAM message in Preset Time, whether receive source address and its coupling;
If S3 does not receive, then discern described ethernet device to the described link failure that has write down between the MAC Address, if receive, it is normal to the described link that has write down between the MAC Address then to discern described ethernet device.
2. the OAM of utilization agreement according to claim 1 is carried out the method for link monitoring, it is characterized in that, required monitoring link is a physical layer broadcast domain link.
3. the OAM of utilization agreement according to claim 1 is carried out the method for link monitoring, it is characterized in that, described required monitoring link is one or more, and wherein each bar monitoring link is used to provide the connection of described ethernet device to the pair of end ethernet device.
4. carry out the method for link monitoring according to the arbitrary described OAM of the utilization agreement of claim 1-3, it is characterized in that, described step S1 is that manually record is in the MAC Address of required monitoring link opposite end ethernet device in the default opposite end mac address table of ethernet device.
5. the OAM of utilization agreement according to claim 4 is carried out the method for link monitoring, it is characterized in that, and is further comprising the steps of:
With the OAM message source address that receives with write down MAC Address and compare, if described source MAC does not mate, then abandon described OAM message.
6. carry out the method for link monitoring according to the arbitrary described OAM of the utilization agreement of claim 1-3, it is characterized in that, described step S1 is that record is in the MAC Address of required monitoring link opposite end ethernet device automatically, may further comprise the steps in the default opposite end mac address table of ethernet device:
When receiving the OAM message, whether inquiry exists the source address of described OAM message in the mac address table of described opposite end, wherein, is empty during the mac address table initialization of described opposite end;
If there is no, then the source address of described OAM message is added in the mac address table of described opposite end.
7. a device that utilizes the OAM agreement to carry out link monitoring comprises OAM message transmission/receiving element, it is characterized in that, also comprises:
Mac address table unit, opposite end is used to preserve default opposite end mac address table, and described opposite end mac address table is used to write down the ethernet device MAC Address that is in required monitoring link opposite end;
The MAC Address matching unit is used for obtaining the MAC Address that has write down from mac address table unit, described opposite end, and will mate from OAM message source address and the described opposite end mac address table that described OAM message transmission/receiving element receives;
The link failure recognition unit, be connected with described MAC Address matching unit with mac address table unit, described opposite end respectively, be used for having write down MAC Address for each, according to the OAM message of receiving/do not receive source address and its coupling in Preset Time, identification is connected normally/fault with the described link that has write down between the MAC Address.
8. the OAM of utilization agreement according to claim 7 is carried out the device of link monitoring, it is characterized in that, described device is installed in the ethernet device that is arranged on broadcast domain.
9. the OAM of utilization agreement according to claim 7 is carried out the device of link monitoring, it is characterized in that, described device is installed in the ethernet device that is arranged on the physical layer broadcast domain.
10. carry out the device of link monitoring according to the arbitrary described OAM of the utilization agreement of claim 7-9, it is characterized in that, described MAC Address matching unit also be used for obtain with write down the unmatched OAM message source of MAC Address address and send to mac address table unit, described opposite end.
CN2007101459626A 2007-08-31 2007-08-31 Method and device for performing link monitoring using OAM protocol Active CN101119245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101459626A CN101119245B (en) 2007-08-31 2007-08-31 Method and device for performing link monitoring using OAM protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101459626A CN101119245B (en) 2007-08-31 2007-08-31 Method and device for performing link monitoring using OAM protocol

Publications (2)

Publication Number Publication Date
CN101119245A true CN101119245A (en) 2008-02-06
CN101119245B CN101119245B (en) 2010-08-18

Family

ID=39055196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101459626A Active CN101119245B (en) 2007-08-31 2007-08-31 Method and device for performing link monitoring using OAM protocol

Country Status (1)

Country Link
CN (1) CN101119245B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247287B (en) * 2008-03-18 2011-01-19 中兴通讯股份有限公司 Fault detection method of operation management maintenance mechanism
CN102082678A (en) * 2009-12-01 2011-06-01 杭州华三通信技术有限公司 Processing method and equipment of port discarding OAM (Operation, Administration and Maintenance) protocol
CN101640610B (en) * 2009-09-02 2012-01-11 中兴通讯股份有限公司 Method and system for automatic discovery of Ethernet link
RU2598794C2 (en) * 2011-04-14 2016-09-27 ЗетТиИ Корпорейшн Method and device for determination of eliminating failure based on protocol of operation, administration and maintenance (oam)
CN106302146A (en) * 2016-10-17 2017-01-04 杭州迪普科技有限公司 The convergence method of link aggregation and device
CN111131435A (en) * 2019-12-19 2020-05-08 浙江源创建筑智能科技有限公司 Method for discovering and configuring Ethernet link layer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450101C (en) * 2006-08-30 2009-01-07 华为数字技术有限公司 Conversion control method and system of OAM message

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247287B (en) * 2008-03-18 2011-01-19 中兴通讯股份有限公司 Fault detection method of operation management maintenance mechanism
CN101640610B (en) * 2009-09-02 2012-01-11 中兴通讯股份有限公司 Method and system for automatic discovery of Ethernet link
CN102082678A (en) * 2009-12-01 2011-06-01 杭州华三通信技术有限公司 Processing method and equipment of port discarding OAM (Operation, Administration and Maintenance) protocol
RU2598794C2 (en) * 2011-04-14 2016-09-27 ЗетТиИ Корпорейшн Method and device for determination of eliminating failure based on protocol of operation, administration and maintenance (oam)
CN106302146A (en) * 2016-10-17 2017-01-04 杭州迪普科技有限公司 The convergence method of link aggregation and device
CN111131435A (en) * 2019-12-19 2020-05-08 浙江源创建筑智能科技有限公司 Method for discovering and configuring Ethernet link layer equipment

Also Published As

Publication number Publication date
CN101119245B (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101119245B (en) Method and device for performing link monitoring using OAM protocol
CN102007729B (en) Connectivity fault management traffic indication extension
US9503322B2 (en) Automatic stack unit replacement system
CN102710457B (en) A kind of N+1 backup method of cross-network segment and device
CN101094121B (en) Method, system and device for detecting Ethernet links among not direct connected devices
EP1982447A2 (en) System and method for detecting and recovering from virtual switch link failures
CN102457402B (en) Method for detecting multiple active equipment conflict and apparatus thereof
JPH05316135A (en) Reconstitution device of dual ring
CN103825766A (en) Device and method for detecting BFD links
CN106452870A (en) Redundancy control method for primary device of CANopen network
CN104618147A (en) Longitudinally stacked system management method and system
US20130139178A1 (en) Cluster management system and method
CN107528747B (en) Method and device for diagnosing communication state of master station and slave station and computer readable storage medium
CN102664755B (en) Control channel fault determining method and device
RU2587407C2 (en) Multi-ring ethernet network and method for protection thereof
US7676623B2 (en) Management of proprietary devices connected to infiniband ports
CN102035695A (en) Bidirectional forwarding detection method and device
WO2022217786A1 (en) Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium
WO2016015606A1 (en) Method for locating port connection error and related device
EP2339811B1 (en) Method and system for communication capacity negotiation of physical layer chips
EP3573298B1 (en) Multi-node device and method for micro server built-in switch uplink port backup
US20080159322A1 (en) Network apparatus and control method thereof
CN101980478A (en) Method and device for detecting and processing equipment failures and network equipment
CN108270593A (en) A kind of two-node cluster hot backup method and system
CN104243358A (en) Loading method and device for PE software in VCF system

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address