Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of an embodiment of Layer 2 Multicast conversion link Fault Locating Method of the present invention, and as shown in Figure 1, the method for present embodiment comprises:
101, receive first detection messages of the detection initiating equipment transmission of user's appointment; This first detection messages comprises virtual switch instance (Virtual Switch Instance; Be called for short: VSI) with the diagnosis supplementary, this diagnosis supplementary comprises multicast address, destination device address and life span (Time To Live; Be called for short: TTL).
102, obtain the multicast forwarding list item corresponding with multicast address and VSI, and be N according to this TTL, the equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends this first detection messages.
For instance, in the present embodiment, Layer 2 Multicast conversion link FLU Fault Location Unit can receive first detection messages of the detection initiating equipment transmission of user's appointment, and wherein, this Layer 2 Multicast conversion link FLU Fault Location Unit can be arranged in this detection initiating equipment.In addition, this detection initiating equipment can be Provider Edge (Provider Edge; Be called for short: PE) equipment.First detection messages can be constructed according to user's demand, need be corresponding with corresponding networking.For example, this first detection messages can be similar with data message, can also carry the control information that can send on particular device as required, and wherein, this particular device can be PE; In addition, can use means such as label " TTL ", " route warning (RouterAlert) ", " control word (Control Word) " as control information.
For instance,, can select MPLS Echo message, the form of this detection messages simulation VPLS data message as detection messages for the VPLS network that is based upon on the MPLS.For example, table one is a VPLS data message form, as shown in Table 1:
Table one
The MPLS label |
The IP head |
The UDP head |
MPLS ECHO data field |
VPLS data message foremost can be MPLS label stack (public network and a private network tags), and MPLS label stack back is two layers of head, is only Internet protocol (Internet Protocol then; Be called for short: IP), User Datagram Protocol (User Datagram Protocol; Be called for short: UDP) with MPLS Echo data field.Wherein, MPLS Echo data field comprises VSI and diagnosis supplementary, and this diagnosis supplementary comprises multicast address, destination device address and TTL.Wherein, the destination device address is the final jump equipment that connects the user in the VPLS network.
Need to prove that the TTL in the diagnosis supplementary can be the TTL in the MPLS label, perhaps the TTL of IP head also can leave in separately in the data field of MPLS Echo message.
103, if receive the back message using that N (wherein N is integer and N 〉=1) jumping equipment returns, and to judge the address that this N jumps equipment be not the above-mentioned purpose device address, then TTL added 1, as the TTL after upgrading.
104, according to the TTL after the above-mentioned renewal, the equipment on above-mentioned Layer 2 Multicast conversion link sends second detection messages.
For instance, in the present embodiment, Layer 2 Multicast conversion link FLU Fault Location Unit is after receiving first detection messages that detects the initiating equipment transmission, can search the multicast address that obtains user's appointment and the multicast forwarding list item of VSI correspondence, and according to this multicast forwarding list item, it is 1 that TTL is set, and the equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends first detection messages, and waits for the back message using that the 1st jumping equipment returns; If the 1st jumping equipment returns back message using, and to judge the 1st address of jumping equipment be not the destination device address of carrying in above-mentioned first detection messages, then life span added 1, and as the TTL after upgrading, concrete, this TTL is 2; Be 2 according to the life span after upgrading again, equipment on this Layer 2 Multicast conversion link sends second detection messages, concrete, second detection messages sends to the 1st jumping equipment on this Layer 2 Multicast conversion link earlier, the 1st jumping equipment is not overtime if judge life span, then according to the multicast forwarding list item, this second detection messages is transmitted on this Layer 2 Multicast conversion link, after the 2nd jumping equipment receives this second detection messages, if Layer 2 Multicast conversion link FLU Fault Location Unit receives the back message using that the 2nd jumping equipment returns, then repeat said process.
105,, determine that then the N+1 of failure location point on above-mentioned Layer 2 Multicast conversion link jumps equipment to N jumping equipment if do not receive the back message using that N+1 jumping equipment returns.
In the present embodiment, when being N+1 according to the TTL after upgrading, after the equipment on the Layer 2 Multicast conversion link sends second detection messages,, determine that then the failure location point jumps equipment to N jumping equipment at N+1 if do not receive the back message using that N+1 jumping equipment returns.
Need to prove that determine that failure location o'clock jumps equipment at the N+1 equipment of jumping to N and can comprise two kinds of failure conditions: a kind of is that N+1 jumping equipment breaks down; Another kind is that the link that N+1 jumps between equipment and the N jumping equipment breaks down.Wherein, N is integer and N 〉=1.
In the present embodiment, first detection messages that sends by the detection initiating equipment that receives user's appointment, obtain with first detection messages in multicast address and the corresponding multicast forwarding list item of virtual switch instance, and be N according to this life span, equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends this first detection messages, if receive the back message using that N jumping equipment returns, and the address of judging N jumping equipment is not the destination device address, then life span is added 1, life span after composition is upgraded, according to the life span after upgrading, equipment on the Layer 2 Multicast conversion link sends second detection messages, if do not receive the back message using that N+1 jumping equipment returns, determine that then the N+1 of failure location point on this Layer 2 Multicast conversion link jumps equipment to N jumping equipment, thereby can locate VPLS network Layer 2 Multicast conversion link fault, realize detection Layer 2 Multicast business in the VPLS network.
Fig. 2 is the flow chart of another embodiment of Layer 2 Multicast conversion link Fault Locating Method of the present invention, the networking structure schematic diagram that Fig. 3 provides for the embodiment of the invention, the structural representation of the Layer 2 Multicast conversion link tree of this networking structure that Fig. 4 provides for the embodiment of the invention, as shown in Figure 3 and Figure 4, PE introduces multicast data flow, and regularly initiates igmp querying; Wherein, customer edge (the Custom Edge of UPE 1 connection; Be called for short: CE) equipment 1 can add multicast group in dynamic or static mode, thereby generates Layer 2 Multicast conversion link tree.Need to prove that the direction that arrow is represented among Fig. 4 is the multicast data flow direction.Be example with Fig. 3 and Fig. 4 in the present embodiment, introduce the technical scheme of present embodiment in detail, as shown in Figure 2, the method for present embodiment comprises:
201, receive first detection messages of the detection initiating equipment transmission of user's appointment, this first detection messages comprises VSI and diagnosis supplementary, and this diagnosis supplementary comprises multicast address, destination device address and TTL.
In the present embodiment, if the detection initiating equipment of user's appointment is found the user of the UPE1 of connection and is not received the specific multicast flow, can determine that then fault has appearred in this Layer 2 Multicast conversion link, the user can specify PE to detect initiating equipment, and Layer 2 Multicast conversion link FLU Fault Location Unit can be arranged on this detection initiating equipment.This Layer 2 Multicast conversion link FLU Fault Location Unit receives and detects first detection messages that initiating equipment sends, this first detection messages comprises VSI and diagnosis supplementary, this diagnosis supplementary specifically comprises multicast address, destination device address and life span, wherein, the destination device address of user's appointment is UPE1.
202, obtain the multicast forwarding list item corresponding with multicast address and VSI, and TTL is set is 1, the equipment on the Layer 2 Multicast conversion link of multicast forwarding list item correspondence sends first detection messages;
In the present embodiment, the 1st jumping equipment is top service provider edge (Super stratumProvider Edge; Be called for short: SPE).After the 1st jumping equipment receives this first detection messages, if judging the 1st address of jumping equipment is not the destination device address, check then whether TTL is overtime, because TTL is 1, then judge overtimely, the 1st jumping equipment returns back message using to Layer 2 Multicast conversion link FLU Fault Location Unit.
For instance, this back message using comprises multicast key message and positioning auxiliary information.For example: this multicast key message comprises the version number of IGMP agreement, and whether IGMP Snooping function enables, Access Control List (ACL) (Access Control List; Be called for short: ACL) configuration information, multicast forwarding list item information, the role of outgoing interface in multicast forwarding; Positioning auxiliary information comprises the multicast address that need detect, the destination device address of user's appointment, and TTL, the address information of the equipment of back message using has been transmitted the device address information of detection messages.
203, receive the back message using that the 1st jumping equipment returns, and to judge the 1st address of jumping equipment not the destination device address, then life span is added 1, as the life span after upgrading.
204, be 2 according to the life span after upgrading, the equipment on the Layer 2 Multicast conversion link sends second detection messages.
In the present embodiment, TTL is added 1, as the TTL after upgrading, then TTL is specially 2, then Layer 2 Multicast conversion link FLU Fault Location Unit has more the TTL after this renewal, and the equipment on the Layer 2 Multicast conversion link sends second detection messages, for instance, shown in Fig. 2 and 3, the 2nd jumping equipment is UPE1.
In the present embodiment, Layer 2 Multicast conversion link FLU Fault Location Unit is initiated test once more, the transmission life span is 2 second detection messages, when the 1st jumping equipment receives this second detection messages earlier, whether detect life span overtime, if not overtime,, this second detection messages is transmitted to next-hop device on this two-tier multicast link then according to the multicast forwarding list item.
For instance, if multicast forwarding list item generting machanism goes wrong, the 1st jumping equipment abandons this detection messages not searching when getting access to this multicast forwarding list item.
205,, determine that then failure location is o'clock at the 2nd jumping equipment to the 1 jumping equipment if do not receive the back message using that the 2nd jumping equipment returns.
206, according to the fault location of determining o'clock at the 2nd jumping equipment to the 1 jumping equipment, multicast key message in the back message using that the 1st jumping equipment is returned is analyzed, determine that the fault location point is the 1st jumping equipment, still the link between the 1st jumping equipment and the 2nd jumping equipment.
In the present embodiment, when Layer 2 Multicast conversion link FLU Fault Location Unit does not receive the back message using that the 2nd jumping equipment returns, determine that then the 2nd jumping equipment to the 1 jumping equipment room breaks down.Concrete, the multicast key message in the back message using that the 1st jumping equipment is returned is analyzed, and judgement is that the 1st jumping equipment breaks down, and promptly the 1st jumps transmitting generting machanism and problem may having occurred of equipment; Still the link between the 1st jumping equipment to the 2 jumping equipment breaks down.
In the present embodiment, first detection messages that sends by the detection initiating equipment that receives user's appointment, obtain with first detection messages in multicast address and the corresponding multicast forwarding list item of VSI, and be 1 according to this life span, equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends first detection messages, if receive the back message using that the 1st jumping equipment returns, and judging the 1st address of jumping equipment is not the destination device address, then life span is added 1, as the TTL after upgrading, again according to the life span after upgrading, equipment on the Layer 2 Multicast conversion link sends second detection messages, if do not receive the back message using that the 2nd jumping equipment returns, determine that then failure location is o'clock at the 1st jumping equipment to the 2 jumping equipment, thereby can locate VPLS network Layer 2 Multicast conversion link fault, realize detection Layer 2 Multicast business in the VPLS network.In addition, the multicast key message in the back message using that returns according to the 1st jumping equipment, can analyze concrete fault is the 1st jumping equipment, still the link between the 1st jumping equipment and the 2nd jumping equipment.
For instance, this method can also comprise:
If receive the back message using that the 2nd jumping equipment returns, and the 2nd address of jumping equipment is the destination device address, determines that then the Layer 2 Multicast conversion link is normal;
Positioning auxiliary information in the back message using that returns according to the 1st jumping equipment that obtains respectively and the 2nd jumping equipment obtains and detects the routing information of initiating equipment to the Layer 2 Multicast conversion link between the destination device of destination device address correspondence.
For instance, in the present embodiment, carry positioning auxiliary information in the back message using, the address information and the device address information of having transmitted this back message using that comprise the equipment that generates back message using in this positioning auxiliary information, then can generate the address information and the address information of having transmitted the equipment of this back message using of the equipment of back message using according to this, analyze and sort, detect the routing information of initiating equipment to the Layer 2 Multicast conversion link between the destination device thereby can obtain.
Set up the network architecture schematic diagram of daisy chain VPLS between NPE that Fig. 5 provides for the embodiment of the invention and the UPE, in the present embodiment, the realization environment of Layer 2 Multicast conversion link Fault Locating Method can be specially in the network system of setting up daisy chain VPLS between NPE and UPE, as shown in Figure 5, this system mainly comprises: two NPE, four UPE, Designated Router (Designated Router; Be called for short: DR), BDR (Backup Designated Router; Be called for short: BDR) etc.Wherein, each NPE passes through Protocol Independent Multicast (ProtocolIndependent Multicast at its " Loopback " interface; Be called for short: PIM) configuring static adds, and guides on the NPE with the flux of multicast that multicast server is sent.Simultaneously, two NPE1 and NPE2 start the PIM agreement respectively inserting side, so that the PIM agreement is given another NPE by the link between NPE1 and NPE2 with the PIM protocol message transmission; Two NPE election contest DR/BDR.In addition, DR joins request to pseudo-line (Pseudo Wire according to IGMP (or static); Be called for short: PW) carry out multicast replication, after being forwarded to UPE, UPE carries out multicast replication by IGMP Snooping to PW again, and UPE passes through IGMP Snooping on the one hand to digital subscriber line access multiplex (Digital Subscriber Line Access Multiplexer; Be called for short: DSLAM) duplicated multicast data, continue to carry out multicast replication by IGMP Snooping over VPLS on the other hand to next UPE, promptly multicast data flow is duplicated forwarding.Also need to prove, can move two-way forwarding between two NPE and detect (Bidirectional Forwarding Detection; Be called for short: the BFD) Link State of for PIM over VPLS fast detecting multicast ring, if fault, then BDR can switch to DR, two NPE carry out multicast replication to PW simultaneously; If fault is eliminated, then campaign for DR/BDR again, it is normal that multicast service recovers.
Fig. 6 is the flow chart of another embodiment of Layer 2 Multicast conversion link Fault Locating Method of the present invention, present embodiment is to set up the network architecture schematic diagram of daisy chain VPLS between above-mentioned NPE shown in Figure 5 and the UPE, and with link down between UPE2 and the UPE3, and the detection initiating equipment that Layer 2 Multicast conversion link FLU Fault Location Unit is arranged on user's appointment is an example, introduce the technical scheme of present embodiment in detail, as shown in Figure 5 and Figure 6, this method comprises:
301, Layer 2 Multicast conversion link FLU Fault Location Unit receives first detection messages of the detection initiating equipment transmission of user's appointment, and this first detection messages comprises VSI, diagnosis supplementary; This diagnosis supplementary comprises destination device address, multicast address, TTL and " Router Alert " label.
In the present embodiment, 301 implementation and shown in Figure 2 201 implementation are similar, its difference is, also comprise " Router Alert " label, need to prove, in this enforcement, the content in the diagnosis supplementary is not limited, art technology can be provided with the content of diagnosis supplementary as required.
In addition, in the present embodiment, as shown in Figure 5, the multicast address of certain channel correspondence is 225.0.0.1, the MPLS LSR of UPE3 (Label Switch Router ID; Be called for short: LSR ID) be 3.3.3.3, the address of UPE2 is 2.2.2.2.When the user who finds the UPE2 connection does not receive the specific multicast flow, then Layer 2 Multicast conversion link FLU Fault Location Unit receives and detects first detection messages that initiating equipment sends, wherein, the first detection initiating equipment is UPE4, VSI in first detection messages is VSI100, multicast address in the diagnosis supplementary in first detection messages is 225.0.0.1, and the destination device address is 2.2.2.2.
302, Layer 2 Multicast conversion link FLU Fault Location Unit obtains when the multicast forwarding list item corresponding with VSI100 and 225.0.0.1, and it is 1 that TTL is set, and the equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends first detection messages.
In the present embodiment, UPE1 receives this first detection messages.
In the present embodiment, 302 implementation and shown in Figure 2 202 implementation are similar, do not repeat them here.
303, Layer 2 Multicast conversion link FLU Fault Location Unit receives first detection messages that UPE3 sends according to " Router Alert " label, in the address of judging UPE3 is not the destination device address of first detection messages, and it is overtime to judge TTL, then return back message using to UPE4 by UPE3, wherein, this back message using comprises the multicast key message.
In the present embodiment, the multicast key message can comprise the version number of the IGMP agreement that IGMP Snooping monitors, the situation that enables of IGMP Snooping, the information of multicast forwarding list item and other restricted informations, for example: Access Control List (ACL) (Access Control List; Be called for short: ACL), connect and admit control (Connection Admission Control; Be called for short: CAC).In addition, the multicast key message can also comprise the information of particular unicast forwarding-table item as required, and outbound port is router port or member port etc.Need to prove, in the embodiments of the invention not the content to the multicast key message limit, those skilled in the art can be provided with the content of multicast key message according to actual needs arbitrarily.
In the present embodiment, the multicast key message can specifically comprise the LSR ID of UPE3, igmp version number, information such as PW information that E-Packets and Layer 2 Multicast conversion link list item.
304, the back message using that receives at UPE4 is not the back message using that UPE2 sends, and then TTL is added 1, and after promptly TTL was 2, the equipment on the Layer 2 Multicast conversion link sent second detection messages.
In the present embodiment, 304 implementation and shown in Figure 2 204 implementation are similar, do not repeat them here.
305, Layer 2 Multicast conversion link FLU Fault Location Unit determines that then failure location point arrives UPE2 at UPE3 when UPE4 does not receive the back message using that UPE2 returns.
In the present embodiment, 305 implementation and shown in Figure 2 205 implementation are similar, do not repeat them here.
306, Layer 2 Multicast conversion link FLU Fault Location Unit arrives UPE2 according to the failure location point of determining at UPE3, multicast key message in the back message using that UPE3 is returned is analyzed, determine that the fault location point is UPE3, or the link between UPE3 and the UPE2.
In the present embodiment, arrive UPE2 according to the fault location point of determining for UPE3, multicast key message in the back message using that UPE3 is returned is analyzed, if determine the PW that do not E-Packet in the multicast key message of UPE3, determines that then the failure location point is the link between UPE3 and the UPE2.
In the present embodiment, when Layer 2 Multicast conversion link FLU Fault Location Unit when to detect the failure location point be link between UPE3 and the UPE2, Layer 2 Multicast conversion link FLU Fault Location Unit can be handled accordingly according to user's the setting or the setting of self acquiescence, for example, the user does not continue to handle after selecting to detect fault location point, and then Layer 2 Multicast conversion link FLU Fault Location Unit stops to detect.
In addition, if fault location point is not the link between UPE3 and the UPE2, but, make the IGMP message when UPE2 mails to UPE3, be dropped because the user has mismatched reasons such as ACL, thereby make UPE3 not form the forwarding-table item of UPE2 forwarding multicasting message, then 306 can also for:
Arrive UPE2 according to the fault location point of determining for UPE3, the multicast key message in the back message using that UPE3 equipment is returned is analyzed, and determines the multicast forwarding list item that do not E-Packet in the multicast key message of UPE3, and then definite failure location point is UPE3.
In the present embodiment, first detection messages that sends by the detection initiating equipment that receives user's appointment, obtain with first detection messages in multicast address and the corresponding multicast forwarding list item of VSI, and TTL is set is 1, Layer 2 Multicast conversion link to multicast forwarding list item correspondence, send first detection messages, the back message using that receives be not destination device address corresponding equipment return back message using the time, then TTL is added 1, be that TTL is 2, and to the Layer 2 Multicast conversion link send second detection messages, if the back message using that the 2nd jumping equipment of reception returns, then repeat said process, when upgrading TTL and be N+1, when not receiving the back message using that N+1 jumping equipment returns, can determine that failure location o'clock jumps equipment at the N+1 equipment of jumping to N, thereby can locate VPLS network Layer 2 Multicast conversion link fault, realize detection Layer 2 Multicast business in the VPLS network.Simultaneously, analyze by the multicast key message in the back message using that N jumping equipment is returned, can specifically judge is that N jumping equipment breaks down, and still problem has appearred in the link between N+1 jumping equipment and the N jumping equipment, thereby improves the fault location precision more effectively.
Further, in another embodiment of the present invention, need confirm the situation that flows to of flux of multicast as the network management attendant, perhaps for the purpose that network or multicast service are managed and safeguard, can also comprise positioning auxiliary information in the back message using that UPE3 returns in 303, this positioning auxiliary information can be the address of UPE3, thereby makes Layer 2 Multicast conversion link FLU Fault Location Unit to determine the multicast forwarding path information of UPE4 to UPE2 according to positioning auxiliary information.
For instance, when UPE4 receives the back message using that UPE2 returns, and comprise positioning auxiliary information in this back message using, when this positioning auxiliary information can be for the address of UPE2, determine that the specific implementation of the routing information of this Layer 2 Multicast conversion link can initiate test from UPE4 for: user, the destination device address of appointment is UPE2.Send detection messages at UPE4, the address that comprises UPE4 in this detection messages, after UPE3 receives detection messages, the address that in back message using, adds this UPE3, and return to UPE4 together with the address of UPE4, after UPE4 received back message using, according to UPE4 address in the message and UEP3 address, record path information can be UPE4->UPE3; Upgrade life span then, send detection messages to the 2nd jumping equipment (UPE2), the address of the address of UPE4 and UPE3 in this detection messages, after UPE2 receives detection messages, the address that in back message using, adds this UPE2, and return to UPE4 together with the address of UPE4 and the address of UPE3, after UPE4 receives back message using, according to the UPE4 address in the message, the address record path information of UEP3 address and UPE2 is UPE4->UPE3, UPE3->UPE2, thereby the routing information that can get access to the Layer 2 Multicast conversion link is UPE4->UPE3->UPE2, is UPE2->UPE3->UPE4 from the destination device address to the address of detecting initiating equipment so.
In addition, when Layer 2 Multicast conversion link operate as normal, because the normally individual tree in the path of Layer 2 Multicast conversion link, therefore can also be by the counter interference message that can get rid of other branches that pushes away of destination device address address.For instance, be below have disturb message situation as shown in Figure 7, another networking structure schematic diagram that Fig. 7 embodiment of the invention provides, the path of this Layer 2 Multicast conversion link is to be the one tree of root with PE.When Layer 2 Multicast conversion link FLU Fault Location Unit is arranged on the PE, when the destination device address is UPE1, after Layer 2 Multicast conversion link FLU Fault Location Unit transmission detection messages is to the miscellaneous equipment on the path, according to the SPE1 that receives, UPE1, positioning auxiliary information in the back message using that SPE2 returns and destination device address, the routing information that can know the Layer 2 Multicast forward-path is UPE1->SPE1->PE, and know that SPE2 not on this Layer 2 Multicast forward-path, then can shield or abandon.
Fig. 8 is the structure chart of an embodiment of Layer 2 Multicast conversion link FLU Fault Location Unit of the present invention, and as shown in Figure 8, the equipment of present embodiment comprises: receiver module 11, sending module 12, reception update module 13 and processing module 14.Wherein, receiver module 11 is used to receive first detection messages that the detection initiating equipment of user's appointment sends; This first detection messages comprises VSI and diagnosis supplementary, and the diagnosis supplementary comprises multicast address, destination device address and TTL; Sending module 12 is used to obtain the multicast forwarding list item corresponding with multicast address and VSI, and is N according to TTL, and the equipment on the Layer 2 Multicast conversion link of multicast forwarding list item correspondence sends this first detection messages; Receive update module 13 and be used for, and to judge the address that N jumps equipment not the destination device address, then described TTL is added 1 as the TTL after the renewal if receive the back message using that N jumping equipment returns; Sending module 12 also is used for according to the TTL after upgrading, and the equipment on the Layer 2 Multicast conversion link sends second detection messages; Processing module 14 is used for if do not receive the back message using that N+1 jumping equipment returns, and determines that then the N+1 of failure location point on the Layer 2 Multicast conversion link jumps equipment to N jumping equipment; Wherein, N is integer and N 〉=1.
The Layer 2 Multicast conversion link FLU Fault Location Unit of present embodiment can be used to carry out the technical scheme of method embodiment shown in Figure 1, and the description that it realizes detail with reference correspondence embodiment illustrated in fig. 1 repeats no more herein.
In the present embodiment, first detection messages that sends by the detection initiating equipment that receives user's appointment, obtain with first detection messages in multicast address and the corresponding multicast forwarding list item of virtual switch instance, and be N according to this life span, equipment on the Layer 2 Multicast conversion link of this multicast forwarding list item correspondence sends this first detection messages, if receive the back message using that N jumping equipment returns, and the address of judging N jumping equipment is not the destination device address, then life span is added 1, life span after composition is upgraded, according to the life span after upgrading, equipment on the Layer 2 Multicast conversion link sends second detection messages, if do not receive the back message using that N+1 jumping equipment returns, determine that then the N+1 of failure location point on this Layer 2 Multicast conversion link jumps equipment to N jumping equipment, thereby can locate VPLS network Layer 2 Multicast conversion link fault, realize detection Layer 2 Multicast business in the VPLS network.
Fig. 9 is the structure chart of another embodiment of Layer 2 Multicast conversion link FLU Fault Location Unit of the present invention, and as shown in Figure 9, on the basis of the foregoing description, this equipment comprises: failure cause acquisition module 15.Be used for o'clock jumping equipment to N at the N+1 equipment of jumping according to the fault location of determining, multicast key message in the back message using that N jumping equipment is returned is analyzed, determine that the fault location point is that N jumps equipment, still N+1 jumps the link between equipment and the N jumping equipment.
Further, the processing module 14 of this equipment also is used for if receive the back message using that described N+1 jumping equipment returns, and the address of described N+1 equipment is described destination device address, determines that then described Layer 2 Multicast conversion link is normal.Again for instance, this equipment can also comprise routing information acquisition module 16, the positioning auxiliary information that is used for the back message using that returns according to the 1st jumping equipment to the N+1 jumping equipment that obtains respectively obtains and detects initiating equipment to the Layer 2 Multicast conversion link routing information between the destination device of destination device address correspondence.
The Layer 2 Multicast conversion link FLU Fault Location Unit of present embodiment can be used for the technical scheme of execution graph 2 or method embodiment shown in Figure 6, and the description that it realizes detail with reference Fig. 2, correspondence embodiment illustrated in fig. 6 repeats no more herein.
In the present embodiment, first detection messages that sends by the detection initiating equipment that receives user's appointment, obtain with first detection messages in multicast address and the corresponding multicast forwarding list item of VSI, and TTL is set is 1, Layer 2 Multicast conversion link to multicast forwarding list item correspondence, send first detection messages, the back message using that receives be not destination device address corresponding equipment return back message using the time, then TTL is added 1, be that TTL is 2, and to the Layer 2 Multicast conversion link send second detection messages, if the back message using that the 2nd jumping equipment of reception returns, then repeat said process, when upgrading TTL and be N+1, when not receiving the back message using that N+1 jumping equipment returns, can determine that failure location o'clock jumps equipment at the N+1 equipment of jumping to N, thereby can locate VPLS network Layer 2 Multicast conversion link fault, realize detection Layer 2 Multicast business in the VPLS network.Simultaneously, analyze by the multicast key message in the back message using that N jumping equipment is returned, can specifically judge is that N jumping equipment breaks down, and still problem has appearred in the link between N+1 jumping equipment and the N jumping equipment, thereby improves the fault location precision more effectively.
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, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.