CN101854266A - Method and system for realizing detection based on MAC (Media Access Control) address and finish condition - Google Patents

Method and system for realizing detection based on MAC (Media Access Control) address and finish condition Download PDF

Info

Publication number
CN101854266A
CN101854266A CN200910081113A CN200910081113A CN101854266A CN 101854266 A CN101854266 A CN 101854266A CN 200910081113 A CN200910081113 A CN 200910081113A CN 200910081113 A CN200910081113 A CN 200910081113A CN 101854266 A CN101854266 A CN 101854266A
Authority
CN
China
Prior art keywords
section
tunnel
detection
messages
mac
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
CN200910081113A
Other languages
Chinese (zh)
Other versions
CN101854266B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009100811138A priority Critical patent/CN101854266B/en
Priority to PCT/CN2010/071479 priority patent/WO2010111957A1/en
Publication of CN101854266A publication Critical patent/CN101854266A/en
Application granted granted Critical
Publication of CN101854266B publication Critical patent/CN101854266B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for realizing detection based on an MAC (Media Access Control) address and a finish condition which realizes connectivity detection on a tunnel section corresponding to a tunnel case according to the MAC address and the finish condition of the endpoint of the tunnel case. The invention also discloses a system for realizing detection based on an MAC address and a finish condition, which comprises a detection unit, wherein the detection unit is used for carrying out connectivity detection on the tunnel section corresponding to the tunnel case according to the MAC address and the finish condition of the endpoint of the tunnel case. The method and the system can guarantee the reality of the detection and have the advantages of high detection accuracy and high detection efficiency.

Description

Method and system based on Media Access Control Address and finish condition realization detection
Technical field
The present invention relates to the detection technique in network communications technology field, relate in particular to a kind of method and system based on medium access control (MAC) address and finish condition realization detection.
Background technology
Along with carrier class Ethernet (CE, Carrier Ethernet) proposition of notion, satisfying the communication network demand, connection-oriented ethernet technology---operator backbone transmits (PBT, Provider Backbone Transport) and also emerges in October, 2005.After this, all there is operator to adopt the networking of PBT technology both at home and abroad, for the development of PBT technology in metropolitan area network provides the good beginning.
The basis of PBT technology is the operator backbone bridge joint (PBB of IEEE 802.1ah standard definition, Provider Backbone Bridge) technology, IEEE calls the PBT technology operator backbone bridging technology (PBB-TE, Provider Backbone Bridge Traffic Engineering) of supporting traffic engineering.The PBB-TE technology is based on the PBB technology, its core is that the PBB technology is improved, it adopts outer field MAC Address, and simultaneously in conjunction with outer field Virtual Local Area Network sign, such as key target MAC (Media Access Control) address (B-DA, Backbone Destination MAC address)+and backbone VLAN sign (B-VID, Backbone VLAN ID) carries out business forwarding, and forward-path is pre-configured.By network management and control, make the business among the CE in fact have connectivity, so that realize the function of communication networks such as protection is switched, service quality (QoS), traffic engineering.The framework of PBB-TE technical compatibility traditional ethernet bridge does not need the network intermediate node is upgraded and can transmit Frame based on B-DA+B-VID, and Frame does not need to revise the forward efficiency height yet.
The PBB-TE technology adopts connectivity fault management (CFM, the Connectivity Fault Management) mechanism in the IEEE 802.1ag standard to come tunnel state in the monitoring network constantly.When leading, can transfer to business automatically on the backup tunnel of setting up in advance, increase necessary elasticity with tunnel failure.
Figure 1 shows that the schematic diagram that adopts Ethernet protecting tunnel when having the PBB-TE technology now, among Fig. 1, PE1-P11-P21-P31-PE2 is the end-to-end work tunnel of a flow Engineering Service example, and PE1 and PE2 are the end points of this tunnel example; PE1-P51-P61-PE2 is the end-to-end backup tunnel of this traffic engineering Service Instance, and PE1-P51-P61-PE2 is the backup tunnel of PE1-P11-P21-P31-PE2.When PE1-P11-P21-P31-PE2 detects fault, can switch on the PE1-P51-P61-PE2 so.And in order to distinguish out when message is transmitted is to transmit on above-mentioned work tunnel or above-mentioned backup tunnel, when pre-configured, specify the VLAN ID (B-VLAN) of tunnel carrying respectively for this work tunnel and this backup tunnel, such as specifying B-VLAN1, for over run tunnel is specified B-VLAN2 for work tunnel.
In the prior art, by send the connectedness that connectivity check messages (CCM, Continuity Check Message) detects the tunnel in the tunnel, CCM defines in IEEE 802.1ag standard.Send CCM mutually along work tunnel and backup tunnel respectively between the endpoint of a tunnel, the CCM heading of work tunnel and backup tunnel encapsulates B-VLAN1 and B-VLAN2 respectively.This method has realized the complete trails protection in tunnel.When in the path during a certain section fragile especially or a certain section particular importance; can only protect the local path in end-to-end tunnel; like this; replace complete trails with localised protection and protect the protection that realizes end-to-end tunnel, can improve the speed and the minimizing protection of end-to-end tunnel failure recovery and switch the node that involves.As shown in Figure 1; P11-P21-P31 is that end-to-end work tunnel is a part of local path of PE1-P11-P21-P31-PE2; when here the local path in end-to-end tunnel being protected; in order to be different to the protection of the complete trails in end-to-end tunnel, below with the local path section of being called in the end-to-end tunnel.P11-P21-P31 is called the active section of end-to-end work tunnel so, and P11-P41-P31 is called the backup segment of P11-P21-P31.And; when adopting P11-P41-P31 to carry out backup protection; prerequisite is that the B-VLAN attribute in tunnel on this backup segment can not change, and could guarantee like this when being that the B-VLAN attribute that whole end-to-end work tunnel was PE1-P11-P21-P31-PE2 after P11-P21-P31 switched to backup segment P11-P41-P31 and goes up remains unchanged from active section.In a word, the B-VLAN of backup segment and active section must be identical with the B-VLAN in end-to-end tunnel, as shown in Figure 1, backup segment P11-P41-P31, active section P11-P21-P31 are identical with the B-VLAN of end-to-end work tunnel PE1-P11-P21-P31-PE2, are all B-VLAN1.
If the availability of backup segment is in unknown state, switch to a problem on the disabled backup segment when existing active section to break down, i.e. switching problem blindly.For fear of the blindness switching problem, the CCM message needs the integrality of checking tunneled data path on active section and backup segment simultaneously.The attribute in tunnel is by<ESP-DA, ESP-SA, ESP-VID〉this tlv triple represents, in the tlv triple, ESP is an Ethernet switched path, and parameter ESP-DA refers to the Ethernet switched path target MAC (Media Access Control) address, and parameter ESP-SA refers to the source MAC of Ethernet switched path, parameter ESP-VID refers to the value of B-VLAN, and the specific descriptions of relevant tlv triple can be referring to IEEE 802.1Qay standard.With Fig. 1 direction from left to right is example, and end-to-end work tunnel is that PE1-P11-P21-P31-PE2 is shown<B-MAC2 with triple table, B-MAC1, B-VLAN1 〉.Wherein, B-MAC2 is the MAC Address of PE2, is target MAC (Media Access Control) address, and B-MAC1 is the MAC Address of PE1, is source MAC, and B-VLAN1 is the value of the B-VLAN of PE1-P11-P21-P31-PE2.Adopt the segment protect technology of existing tunnel to have two aspect problems as follows.
Sending message with P11 to P31 is example; P11-P21-P31 is as active section; P11-P41-P31 is as backup segment; on the one hand: replace complete trails protection in the localised protection mode of this active section and this 1+1 of this backup segment and realize protection end-to-end work tunnel PE1-P11-P21-P31-PE2, from two different ports of P11 along active section and backup segment send two parts of identical messages and go out.Identical message repeats to send, and increases P11 and transmits the complexity of handling, and very big operational risk is arranged on ethernet device.On the other hand: detect if between P11 and P31, carry out CCM; P11-P21-P31 is shown<MAC-P31 with triple table; MAC-P11; B-VLAN1 〉; then the segment data path between P11 and the P31 is not equal to the end-to-end data path between tunnel PE1 and the PE2; promptly<MAC-P31; MAC-P11; B-VLAN1〉≠<B-MAC2; B-MAC1, B-VLAN1 〉, that is to say that the detection path of segment protect and the detection path of end-to-end protection misfit; because detecting the path misfits; therefore, replacing with localised protection under the situation of complete trails protection realization to end-to-end work tunnel protection, when end-to-end work tunnel is carried out the localised protection detection; can't guarantee the reliability that detects, the precision of detection and the efficient of detection are not high yet.At present, at this two aspects problem, still there is not effective solution.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and system based on MAC Address and finish condition realization detection, MAC Address and finish condition based on the tunnel example end points, realization is carried out detection of connectivity for corresponding section to tunnel example, the reliability that can guarantee detect, the precision height of detection, the efficient of detection are fast.
A kind of method based on Media Access Control Address and finish condition realization detection, this method comprises: according to the media access control MAC address and the finish condition of tunnel example end points, realize tunnel example is carried out detection of connectivity for corresponding section;
Wherein, tunnel example is divided into active section and backup segment for corresponding section; The MAC Address of described tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment;
Described finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
Wherein, described active section is corresponding with described backup segment, and an active section and at least one backup segment constitute segment protect group SPG; Described tunnel example is specially the affiliated tunnel example of SPG;
Connectedness to the section of described tunnel example correspondence also comprises before detecting: encapsulate the section detection messages of described active section or the section detection messages of described backup segment, adopt identical packaged type, be specially: the MAC Address B-MAC of tunnel example end points under VLAN ID B-VLAN that tunnel example under the SPG is carried and the SPG, be encapsulated in the connectivity check messages message, described B-MAC is as the target MAC (Media Access Control) address of described connectivity check messages message.
Wherein, also comprise after the described encapsulation: send the section detection messages of described active section or the section detection messages of described backup segment;
When sending the section detection messages of described active section, described B-VLAN and described B-MAC according to described connectivity check messages message, the corresponding FDB forwarding entry of inquiry in the forwarding address database FDB table that sets in advance is according to the tunnel pre-set path transmission connectivity check messages message of tunnel example under the SPG in the described FDB forwarding entry;
When sending the section detection messages of described backup segment, to the backup outgoing interface transmission connectivity check messages message of the SPG that presets.
Wherein, described detection comprises the detection of connectivity to the section detection messages of the section detection messages of described active section or described backup segment, adopts identical detection mode, is specially:
On active section or backup segment; present segment detects end points and receives described connectivity check messages message; when the MAC Address of the target MAC (Media Access Control) address of judging the connectivity check messages message and current reception end points not simultaneously; detect maintenance field grade in the connectivity check messages message; if it is identical that maintenance field grade and present segment detect the maintenance field grade that disposes on the end points; then detect the connectivity check messages message and be the section detection messages; and realization is to the detection of tunnel example localised protection under the SPG; otherwise, finish current detection.
A kind of system based on Media Access Control Address and finish condition realization detection, this system comprises: detecting unit, be used for MAC Address and finish condition according to the tunnel example end points, realize tunnel example is carried out detection of connectivity for corresponding section;
Wherein, tunnel example is divided into active section and backup segment for corresponding section; The MAC Address of described tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment;
Described finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
Wherein, this system also comprises: encapsulation unit, be used to encapsulate the section detection messages of described active section or the section detection messages of described backup segment, and B-VLAN and B-MAC are encapsulated in the connectivity check messages message, described B-MAC is as the target MAC (Media Access Control) address of described connectivity check messages message.
Wherein, this system also comprises: transmitting element is used to send the section detection messages of described active section or the section detection messages of described backup segment; Wherein,
Described transmitting element, be used to send the section detection messages of described active section, and according to the described B-VLAN and the described B-MAC of described connectivity check messages message, the corresponding FDB forwarding entry of inquiry in the FDB table that sets in advance is according to the tunnel pre-set path transmission connectivity check messages message of tunnel example under the SPG in the described FDB forwarding entry;
Described transmitting element is used to send the section detection messages of described backup segment, and sends the connectivity check messages message to the backup outgoing interface of the SPG that presets.
The present invention is according to the MAC Address and the finish condition of tunnel example end points, realization is carried out detection of connectivity for corresponding section to tunnel example, this finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
Because what the target MAC (Media Access Control) address of section detection messages used is the MAC Address of tunnel example end points; therefore; the detection path of segment protect detection messages and the forward-path of end-to-end tunnel example coincide; and this finish condition of configuration mode by the maintenance field grade; can be to carrying out finalization process with the section detection messages of corresponding section of tunnel example, and realize detection to the tunnel example localised protection.Thereby the MAC Address and this finish condition of tunnel example end points are combined; replacing with localised protection under the situation of complete trails protection realization to the end-to-end work tunnel protection of tunnel example; when end-to-end work tunnel is carried out the localised protection detection; adopt the present invention; the reliability that can guarantee detect, the precision height of detection, the efficient of detection are fast.
Specifically, adopt the detection of the present invention's realization, comprise that active section fault detect and backup segment availability detect the tunnel example localised protection.Wherein, owing to adopt the target MAC (Media Access Control) address of the MAC Address section of the being detection messages of tunnel example end points; therefore, the active section fault detect can the section of assurance detection messages be transmitted on the tunnel of protected tunnel example, and promptly with end to end the work tunnel transmission path is consistent.The backup segment availability detects can guarantee the availability of backup segment, thereby switches on the disabled backup segment when avoiding active section to break down, i.e. switching problem blindly.After work tunnel switches to backup segment from active section under localised protection end to end, do not change the attribute in former tunnel.Simultaneously, the detection method that the present invention proposes does not obviously increase the processing burden that section detects end points place equipment, does not influence general data message forwarding performance.
Description of drawings
Fig. 1 is the schematic diagram of prior art Ethernet protecting tunnel;
Realization flow schematic diagram when Fig. 2 detects for the inventive method;
Fig. 3 is the schematic diagram of Ethernet protecting tunnel of the present invention.
Embodiment
Basic thought of the present invention is: according to the MAC Address and the finish condition of tunnel example end points, realize tunnel example is carried out detection of connectivity for corresponding section; Wherein, this finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
A kind of method based on MAC Address and finish condition realization detection according to the media access control MAC address and the finish condition of tunnel example end points, realizes tunnel example is carried out detection of connectivity for corresponding section.
Specifically; tunnel example is divided into active section and backup segment for corresponding section; active section and backup segment are corresponding; and active section and backup segment can mutual group become the segment protect group (SPG) corresponding to this tunnel example; comprise an active section and a plurality of backup segment among the SPG, SPG is based on and creates between the intermediate node of end-to-end work tunnel.The MAC Address of tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment.Like this; the target MAC (Media Access Control) address of the section detection messages of active section or the section detection messages of backup segment; MAC Address with pairing tunnel example end points is identical respectively; make the detection messages forward-path and the end-to-end forward-path of tunnel example of segment protect coincide; thereby, replacing the reliability that can guarantee detection under the situation of complete trails protection realization to the end-to-end work tunnel protection of tunnel example with localised protection.With regard to finish condition, after the reliability that has guaranteed to detect, also to further reach the purpose that improves accuracy of detection and detection efficiency, when the section detection messages of active section or the section detection messages of backup segment are transmitted according to the MAC Address of tunnel example end points, want to judge the type section of the being detection messages of current detection message, that is to say the difference that to distinguish between the section detection messages that the detection messages that is used for the end-to-end detection in tunnel that has and the section of being used for detect they the two, need finish condition to judge at this moment.Owing to adopt finish condition can judge the type section of the being detection messages of current detection message fast, and realize detection, therefore, improved the precision of detection and the efficient of detection greatly to the tunnel example localised protection.
Wherein, finish condition is specially: the termination of the configuration mode section of the realization detection messages by the maintenance field grade, this configuration mode is specially: the maintenance field grade is identical with the affiliated maintenance field grade of backup segment end points under the configuration effort section end points.Here, the maintenance field grade realized the inclusion relation of maintenance field less than maintenance field grade under the described tunnel example end points with this under section detected end points.
With regard to above this finish condition, constitute SPG by an active section and a plurality of backup segment, tunnel example is specially the affiliated tunnel example of SPG.Connectedness to the section of tunnel example correspondence also comprises before detecting: to the processing of section detection messages, be specially: respectively the section detection messages of active section or the section detection messages of backup segment are encapsulated, the section detection messages of encapsulation work section or the section detection messages of backup segment adopt identical packaged type.The concrete processing procedure of packaged type is: the MAC Address (B-MAC) of tunnel example end points under B-VLAN that tunnel example under the SPG is carried and the SPG, be encapsulated in the CCM message, and B-MAC is as the target MAC (Media Access Control) address of CCM message.
Also comprise after the encapsulation: send the section detection messages of active section or the section detection messages of backup segment, realize the section detection messages of active section or the section detection messages of backup segment are sent the different send mode of employing, its concrete processing procedure is respectively:
When sending the section detection messages of active section, B-VLAN and B-MAC according to the CCM message, the corresponding FDB forwarding entry of inquiry in forwarding address database (FDB) table that sets in advance is according to the tunnel pre-set path transmission CCM message of tunnel example under the SPG in the FDB forwarding entry.
When sending the section detection messages of backup segment, do not inquire about the FDB table, directly the backup outgoing interface to the SPG that presets sends the CCM message.
After the transmission, receive the CCM message, the CCM message is detected when the opposite end section detects end points, detection comprises the detection to the section detection messages of the section detection messages of active section or backup segment, adopts identical detection mode, its concrete processing procedure, as shown in Figure 2, may further comprise the steps:
Step 101, on the active section or backup segment of tunnel example correspondence under the SPG, present segment detects end points and receives the CCM message.
Step 102, do not detect the maintenance field grade simultaneously when the MAC Address of the target MAC (Media Access Control) address of judging the CCM message and current reception end points.
Step 103, detect maintenance field grade in the CCM message, if the maintenance field grade that disposes on maintenance field grade and the present segment detection end points is identical, then execution in step 104; If it is inequality that maintenance field grade and present segment detect the maintenance field grade that disposes on the end points, then execution in step 105.
Step 104, detect the CCM message, realize detection tunnel example localised protection under the SPG for a section detection messages.
Step 105, the current detection flow process that finishes.
In sum, with regard to adopting this finish condition, the present invention can realize the protection of Ethernet tunnel segment by the detection to the section detection messages, specifically, comprises that active section fault detect and backup segment availability detect two aspect contents.Below respectively active section fault detect and the detection of backup segment availability are set forth.
Wherein, the active section fault detection method comprises following content:
Step 201, the section of configuration effort section detects end points on wherein two nodes of one section in an Ethernet tunnel, and it is corresponding with a tunnel example that section detects end points, and the section of active section detects an end points and belongs to a management and unite (MA).
Here, the maintenance field grade that disposes on the active section is lower than configuring maintenance territory grade on the tunnel end to end, realizes the inclusion relation of maintenance field with this.
The section of step 202, a local terminal detects end points and detects end points transmission detection messages along the tunnel to the section of another far-end, and the destination address of detection messages is the MAC Address of tunnel example end points.
Here, detection messages is looked into the FDB table according to the B-VLAN of tunnel example under this section and B-MAC and is sent.
After section test side point of step 203, far-end was received detection messages, the information and the section detection end points allocation list that carry according to detection messages determined whether it is the section detection messages of protecting the opposite end transmission of section.If the section detection messages of protection section is then carried out the respective handling of segment protect, otherwise further judge with decision and abandon or transmit.
Here, for instance, the detection messages that satisfies following three conditions can be a section detection messages:
One, the target MAC (Media Access Control) address of detection messages is the MAC Address of tunnel example end points;
Two, to detect the maintenance field grade that disposes on the end points identical for the maintenance field grade of detection messages and present segment;
Three, this section detects in the end points allocation list and can match other information that send end points.
The section at step 204, local terminal and these two ends of far-end detects end points repeated execution of steps 201 to step 203, regularly sends detection messages, does not receive in the far-end some cycles that the detection messages that the opposite end sends is that decidable protection section breaks down.
Wherein, the backup segment availability detects and comprises following content:
Step 301, the configuration backup section detects end points on two nodes of the backup segment of the active section correspondence in an Ethernet tunnel, and backup segment is corresponding with the tunnel example under the active section, and the section detection end points of backup segment belongs to a MA.
Here, the maintenance field grade that disposes on the backup segment is consistent with active section, and is equally low than configuring maintenance territory grade on the tunnel end to end, realizes the inclusion relation of maintenance field with this.
The section of step 302, a local terminal detects end points and detects end points transmission detection messages along the tunnel to the section of another far-end, and the destination address of detection messages is the MAC Address of tunnel example end points.
Here, interface directly sent under detection messages detected end points according to the B-VLAN of tunnel example under this section and backup segment, did not look into the FDB table.
After the section test side point of step 303, far-end was received detection messages, information of carrying according to detection messages and section detected the end points allocation list and determine whether it is the section detection messages that the opposite end of backup segment sends.If the section detection messages of backup segment is then carried out the respective handling of segment protect, otherwise further judge with decision and abandon or transmit.
Here, for instance, the detection messages that satisfies following three conditions can be a section detection messages:
One, the target MAC (Media Access Control) address of detection messages is the MAC Address of tunnel example end points;
Two, to detect the maintenance field grade that disposes on the end points identical for the maintenance field grade of detection messages and present segment;
Three, this section detects in the end points allocation list and can match other information that send end points.
The section at step 304, local terminal and these two ends of far-end detects end points repeated execution of steps 301 to step 303, regularly send detection messages, can receive in the far-end some cycles that the detection messages that the opposite end sends is that the decidable backup segment is normal, thereby can switch to backup segment when active section breaks down.
It is pointed out that the concrete ident value of the above B-VLAN that the present invention relates on the both direction in tunnel can be identical, also can be different.
A kind of system based on MAC Address and finish condition realization detection, this system comprises: detecting unit, be used for MAC Address and finish condition according to the tunnel example end points, realize tunnel example is carried out detection of connectivity for corresponding section.Wherein, tunnel example is divided into active section and backup segment for corresponding section; The MAC Address of tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment.Finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
Here, this system also comprises: encapsulation unit, be used for the section detection messages of encapsulation work section or the section detection messages of backup segment, and B-VLAN and B-MAC that tunnel example under the SPG is carried, be encapsulated in the connectivity check messages message, B-MAC is as the target MAC (Media Access Control) address of connectivity check messages message.
Here, this system also comprises: transmitting element is used to send the section detection messages of active section or the section detection messages of backup segment.Wherein, transmitting element, be used to send the section detection messages of active section, and according to the B-VLAN and the B-MAC of connectivity check messages message, the corresponding FDB forwarding entry of inquiry in the FDB table that sets in advance is according to the tunnel pre-set path transmission connectivity check messages message of tunnel example under the SPG in the FDB forwarding entry.Transmitting element is used to send the section detection messages of backup segment, and sends the connectivity check messages message to the backup outgoing interface of the SPG that presets.
Method embodiment is: the situation that adopts above this finish condition.
As shown in Figure 1, PE1-P11-P21-P31-PE2 is the end-to-end work tunnel of a flow Engineering Service example, and PE1 and PE2 are the end points of this tunnel example; PE1-P51-P61-PE2 is the end-to-end backup tunnel of this traffic engineering Service Instance, when the end-to-end work tunnel of this traffic engineering Service Instance detects fault, whole Service Instance can be switched on the backup tunnel.Suppose that the probability that the fault of work tunnel takes place is big especially between this section of P11-P21-P31 path, perhaps, can adopt local segment protection, promptly the part between the P11-P21-P31 is protected because other reasons need be laid special stress on protecting this section path.
The P11-P21-P31 section is the part of PE1 to the end-to-end tunnel of PE2, and the present invention sends detection messages and monitors the fault of active section P11-P21-P31 and the availability of backup segment P11-P41-P31 respectively between P11 and P31.B-VLAN1 is the VLAN of PE1 to place, the end-to-end tunnel of PE2.The VLAN that the detection messages of the detection messages of active section and backup segment is carried between P11 and the P31 is identical with the VLAN in tunnel, is B-VLAN1.The concrete ident value of B-VLAN can be different on the tunnel both direction.The detection messages of issuing P31 with P11 is an example, and the destination address of detection messages is the MAC Address of the terminal point PE2 in end-to-end tunnel, and in like manner, the destination address that P31 issues the detection messages of P11 is the MAC Address of the terminal point PE1 in end-to-end tunnel.Identical with this section of assurance detection messages bearer path with the bearer path in end-to-end tunnel.
With shown in Figure 3, be example with IEEE 802.1ag CFM agreement, PE3-P12-P22-P32-PE4 is the end-to-end work tunnel of a flow Engineering Service example, PE3 and PE4 are the end points of this tunnel example; P12-P42-P32 and P12-P22-P32 form a SPG, and a SPG comprises two MA at least, comprises two MA among Fig. 3, represents with a MA71 and the 2nd MA72 respectively.
With regard to active section P12-P22-P32, elder generation configuring maintenance territory on active section, its configuration mode is: the maintenance field grade is lower than the maintenance field grade on the tunnel; Configuration logic management node on two end points P12 of active section and P32 then, to be different from node P12 and P32 physically, wherein, as shown in Figure 3, on P12, dispose MEP711, on P32, dispose MEP712, and MEP711 and MEP712 belong to a MA71, MEP711 is related with the configuration information in end-to-end tunnel with MEP712, and the configuration information in this end-to-end tunnel comprises the FDB table clause of B-DA, B-VLAN and correspondence etc.With regard to backup segment P12-P42-P32, elder generation configuring maintenance territory on backup segment, its configuration mode is: the maintenance field grade is lower than the maintenance field grade on the tunnel; Configuration logic management node on two end points P12 of backup segment and P32 then is to be different from node P12 and P32 physically.Wherein, as shown in Figure 3, on P12, dispose MEP721, on P32, dispose MEP722, and MEP721 and MEP722 belong to the 2nd MA72.MEP721 is related with the configuration information in end-to-end tunnel with MEP722, and the configuration information in this end-to-end tunnel comprises the outgoing interface of B-DA, B-VLAN and backup segment correspondence etc.
Based on above configuration, during as the detection messages of SPG, the packaged type that the section detection messages of encapsulation work section and backup segment is adopted is the same, may further comprise the steps with the CCM message:
Step 401, be the B-VLAN and the B-MAC of tunnel example under two layers of head of CCM message encapsulation SPG.
Here, configuration back CCM message transmits along protected tunnel like this, and it is in full accord to have guaranteed that section detects with the tunnel.
Step 402, fill other necessary information for the CCM message, unite sign (MAID as maintenance, Maintenance Association Identifier), safeguard associating Endpoint ID (MEPID, Maintenance association End Point Identifier) etc., be consistent with international standard.
The same to active section with the send mode that is adopted to backup segment delivery section detection messages, be specially: on active section and backup segment, send a CCM message respectively.Wherein, B-VLAN and B-MAC with this CCM message on the active section look into the FDB table, send this CCM message according to the tunnel pre-set path; Direct backup outgoing interface to SPG sends this CCM message on the backup segment, and the backup outgoing interface of SPG is pre-configured.
The processing that MEP detects this CCM message when receiving a CCM message be a section detection messages, it may further comprise the steps:
Step 501, judge whether the target MAC (Media Access Control) address of CCM message is identical with the MAC Address of packet receiving end points, if identical, the section of being detection messages not then, then carry out other processing; If inequality, change step 502 over to.
Step 502, with the maintenance field grade that encapsulates in the MEL field in the CCM message, distinguish CCM message on the section of being and still be the CCM message on the tunnel, relatively whether the MEL field equals the maintenance field grade that this end points disposes in the general head of CCM message, if inequality, then then carry out other processing; If identical, then change step 503 over to.
Other information and international standard in step 503, the checking CCM message are consistent.
Step 504, confirming that this CCM message is section detection messages and do respective handling, is the fault detect that realizes active section for active section, and realizes that segment protect handles; For backup segment is that the availability that realizes backup segment detects, and realizes the segment protect processing.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (7)

1. method that realizes detecting based on Media Access Control Address and finish condition, it is characterized in that, this method comprises: according to the media access control MAC address and the finish condition of tunnel example end points, realize tunnel example is carried out detection of connectivity for corresponding section;
Wherein, tunnel example is divided into active section and backup segment for corresponding section; The MAC Address of described tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment;
Described finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
2. method according to claim 1 is characterized in that, described active section is corresponding with described backup segment, and an active section and at least one backup segment constitute segment protect group SPG; Described tunnel example is specially the affiliated tunnel example of SPG;
Connectedness to the section of described tunnel example correspondence also comprises before detecting: encapsulate the section detection messages of described active section or the section detection messages of described backup segment, adopt identical packaged type, be specially: the MAC Address B-MAC of tunnel example end points under VLAN ID B-VLAN that tunnel example under the SPG is carried and the SPG, be encapsulated in the connectivity check messages message, described B-MAC is as the target MAC (Media Access Control) address of described connectivity check messages message.
3. method according to claim 2 is characterized in that, also comprises after the described encapsulation: send the section detection messages of described active section or the section detection messages of described backup segment;
When sending the section detection messages of described active section, described B-VLAN and described B-MAC according to described connectivity check messages message, the corresponding FDB forwarding entry of inquiry in the forwarding address database FDB table that sets in advance is according to the tunnel pre-set path transmission connectivity check messages message of tunnel example under the SPG in the described FDB forwarding entry;
When sending the section detection messages of described backup segment, to the backup outgoing interface transmission connectivity check messages message of the SPG that presets.
4. according to claim 2 or 3 described methods, it is characterized in that described detection comprises the detection of connectivity to the section detection messages of the section detection messages of described active section or described backup segment, adopt identical detection mode, be specially:
On active section or backup segment; present segment detects end points and receives described connectivity check messages message; when the MAC Address of the target MAC (Media Access Control) address of judging the connectivity check messages message and current reception end points not simultaneously; detect maintenance field grade in the connectivity check messages message; if it is identical that maintenance field grade and present segment detect the maintenance field grade that disposes on the end points; then detect the connectivity check messages message and be the section detection messages; and realization is to the detection of tunnel example localised protection under the SPG; otherwise, finish current detection.
5. system that realizes detecting based on Media Access Control Address and finish condition, it is characterized in that, this system comprises: detecting unit, be used for MAC Address and finish condition according to the tunnel example end points, and realize tunnel example is carried out detection of connectivity for corresponding section;
Wherein, tunnel example is divided into active section and backup segment for corresponding section; The MAC Address of described tunnel example end points is as the target MAC (Media Access Control) address of the section detection messages of the section detection messages of active section or backup segment;
Described finish condition is specially: under configuration section detects end points the maintenance field grade less than maintenance field grade under the tunnel example end points, the termination of the configuration mode section of the realization detection messages by the maintenance field grade.
6. system according to claim 5, it is characterized in that, this system also comprises: encapsulation unit, be used to encapsulate the section detection messages of described active section or the section detection messages of described backup segment, and B-VLAN and B-MAC be encapsulated in the connectivity check messages message, described B-MAC is as the target MAC (Media Access Control) address of described connectivity check messages message.
7. system according to claim 6 is characterized in that, this system also comprises: transmitting element is used to send the section detection messages of described active section or the section detection messages of described backup segment; Wherein,
Described transmitting element, be used to send the section detection messages of described active section, and according to the described B-VLAN and the described B-MAC of described connectivity check messages message, the corresponding FDB forwarding entry of inquiry in the FDB table that sets in advance is according to the tunnel pre-set path transmission connectivity check messages message of tunnel example under the SPG in the described FDB forwarding entry;
Described transmitting element is used to send the section detection messages of described backup segment, and sends the connectivity check messages message to the backup outgoing interface of the SPG that presets.
CN2009100811138A 2009-04-02 2009-04-02 Method and system for realizing detection based on MAC (Media Access Control) address and finish condition Expired - Fee Related CN101854266B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2009100811138A CN101854266B (en) 2009-04-02 2009-04-02 Method and system for realizing detection based on MAC (Media Access Control) address and finish condition
PCT/CN2010/071479 WO2010111957A1 (en) 2009-04-02 2010-03-31 Method and system for realizing test based on media access control address and terminating conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100811138A CN101854266B (en) 2009-04-02 2009-04-02 Method and system for realizing detection based on MAC (Media Access Control) address and finish condition

Publications (2)

Publication Number Publication Date
CN101854266A true CN101854266A (en) 2010-10-06
CN101854266B CN101854266B (en) 2013-12-04

Family

ID=42805544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100811138A Expired - Fee Related CN101854266B (en) 2009-04-02 2009-04-02 Method and system for realizing detection based on MAC (Media Access Control) address and finish condition

Country Status (2)

Country Link
CN (1) CN101854266B (en)
WO (1) WO2010111957A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835126A (en) * 2017-10-19 2018-03-23 盛科网络(苏州)有限公司 A kind of message forwarding method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099951A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM fault detection and verification
CN101039267A (en) * 2007-04-06 2007-09-19 华为技术有限公司 Method and apparatus for managing virtual link based on IP
CN101106486A (en) * 2007-08-13 2008-01-16 杭州华三通信技术有限公司 Detection processing method and component of virtual link failure

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505673C (en) * 2006-09-15 2009-06-24 华为数字技术有限公司 Method and system for detecting path maximal transmission unit
CN101197648B (en) * 2008-01-02 2012-06-06 中兴通讯股份有限公司 Self-loop detection method and device used for access network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099951A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM fault detection and verification
CN101039267A (en) * 2007-04-06 2007-09-19 华为技术有限公司 Method and apparatus for managing virtual link based on IP
CN101106486A (en) * 2007-08-13 2008-01-16 杭州华三通信技术有限公司 Detection processing method and component of virtual link failure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835126A (en) * 2017-10-19 2018-03-23 盛科网络(苏州)有限公司 A kind of message forwarding method and system

Also Published As

Publication number Publication date
WO2010111957A1 (en) 2010-10-07
CN101854266B (en) 2013-12-04

Similar Documents

Publication Publication Date Title
CN102104520B (en) Ring network protection method and device based on topology information
CN101938377B (en) link aggregation error protection method, equipment and system
CN101505246B (en) Fault detection and recovery method for network tunnel sectional protection mode
CN101997713A (en) Method for realizing Ethernet path protection switching
EP2521275B1 (en) Method and device for tunnel protection
CN101908983B (en) Joint detection method and system for Ethernet local segment protection
CN101989944B (en) Method for local protection of Ethernet tunnel and shared node of protection domain working segment
CN101888323B (en) Ethernet ring network-based PBB-TE protection method
CN102104519A (en) Ring network restoring method and device based on topology information
CN101854265B (en) Method and system for detecting local protection of Ethernet tunnel
CN101697525A (en) Looped network based configuration and data transmission method and system of address forwarding table
CN104219073A (en) Message forwarding method and device in SPBM network
CN101854266B (en) Method and system for realizing detection based on MAC (Media Access Control) address and finish condition
CN101997728B (en) A kind of checkout gear of Ethernet localised protection and method
CN102104523B (en) Data stream transmission method based on PBB-TE sectional tunnel, and node
CN102195794B (en) A kind of fast switch over method of Ethernet trail protection and device
WO2011020339A1 (en) Method and system for switching in segment protection
CN102025585A (en) Method and device for protecting Ethernet tunnel
CN102064998B (en) Ethernet path protection switching method and system
CN101883040B (en) Network protection method and network protection architecture
CN101945001A (en) Network protection method and network protection framework
CN102195854A (en) Method and device for managing Ethernet path protection
CN101924642A (en) Method and device for protecting Ethernet with shared link

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131204

Termination date: 20210402

CF01 Termination of patent right due to non-payment of annual fee