Embodiment
The problem existing for solving prior art, in the embodiment of the present invention, it is the peer (opposite end) of L2VPN/VPLS business that PE equipment is still specified final purpose PE equipment, but PE equipment and middle backbone device (being core network) are set up LDP neighbours, by backbone device, process the mutual message of L2VPN/VPLS traffic aided, then the mutual message of L2VPN/VPLS traffic aided is forwarded, finally pass to object PE equipment, realize parameter negotiation between PE and private network tags exchange, thereby allow, between PE, set up L2VPN/VPLS business.PE only needs to set up LDP neighbours with backbone network like this, does not need all PE equipment mutual with other needs all to set up LDP neighbours, greatly reduces the full number of connection between PE equipment.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
In the embodiment of the present invention, under existing network framework, increase by a class P equipment as the backbone device of MPLS, PE equipment can with these P equipment in one or morely set up LDP neighbours, by this class P equipment and the mutual L2VPN/VPLS traffic aided of opposite end PE equipment message.The P equipment relating in following examples of the present invention refers in particular to the equipment of this character.
Described L2VPN/VPLS traffic aided message refers to for setting up or remove the required message of L2VPN/VPLS business between PE equipment, between PE equipment by this message can consultation parameter, exchange private network tags etc., to set up or to remove L2VPN/VPLS business between PE equipment.L2VPN/VPLS traffic aided message in the embodiment of the present invention can include but not limited to: the message that message etc. L2VPN/VPLS need to exchange is reclaimed in label request (label request) message, label mapping (label mapping) message, label withdraw (label recovery) message, labelrelease (label release) message, MAC (Media Access Control, media interviews are controlled) address.
Fig. 2 shows the L2VPN/VPLS network architecture example that a kind of embodiment of the present invention provides, and wherein, P1, P2, P3 and P4 are backbone network P equipment, for being responsible for forwarding the L2VPN/VPLS traffic aided message of PE equipment room.Between these P equipment, full connection or virtual full connection (being that logic connects entirely), sets up LDP neighbours for one in PE device just and these P equipment, can and opposite end PE equipment between L2VPN/VPLS traffic aided message alternately.
Based on the above-mentioned network architecture, the embodiment of the present invention is expanded and defines in the following aspects:
(1) the LDP peer that backbone network P exchanged between equipment connects (being PE equipment) information, and record PE equipment and have the annexation of the P equipment of LDP session with its foundation.
During concrete enforcement, in order to realize the LDP peer information that between backbone device, clearing house connects, the embodiment of the present invention has defined a kind of for notifying the notification packet of LDP session UP, wherein carry PE equipment and have the incidence relation of the P equipment of LDP session with its foundation, and when the LDP session status between backbone network P equipment and PE equipment is operation, to other P equipment being connected with self, send this notification packet, so that the peer information that clearing house connects between backbone device.
Take the network architecture shown in Fig. 2 as example, specify between PE1 and P1 and set up LDP session 1, between PE2 and P4, set up LDP session 2.After session 1 state reaches operaion (operation) state, P1 is assembled into the peer information connecting on own equipment (being the lsr-id of PE1) for notifying the notification packet of LDP session UP here, copy three parts of messages, message destination address is respectively the lsr-id of P2, P3, P4, source address is the lsr-id of P1, and sends to respectively P2, P3, P4.P2, P3, P4 receive after this notification packet, with the form of { PEn (lsr-id), Pn (lsr-id) }, preserve a list, are { PE1 (lsr-id), P1 (lsr-id) } here.In like manner, after session 2 states reach operation state, P4 carries out similar processing, has PE equipment as shown in table 1 and the contingency table of P equipment on final P1, P2, P3 and P4 equipment:
Table 1, PE equipment and P equipment contingency table
PE peer |
Associated P equipment |
List item state |
PE1(lsr-id) |
P1(lsr-id) |
Ready (state comprises: Ready, Idle) |
PE2(lsr-id) |
P4(lsr-id) |
Ready (state comprises: Ready, Idle) |
" list item state " field in table 1 represents the state of the LDP session of corresponding PE equipment and P equipment room, and wherein, " Ready " represents effective status, and " Idle " represents disarmed state.
(2) expansion L2VPN/VPLS business is by the content of the mutual message of LDP, when PE equipment sends L2VPN/VPLS traffic aided message to opposite end PE equipment by backbone network, in this message, newly increase IE (information unit), to carry the information (as object PE equipment lsr-id) of object PE equipment, so that backbone network P equipment can be by inquiring about the contingency table of its PE equipment recording and P equipment, find the P equipment of this object PE equipment connection, and forward the packet to this object PE equipment by this P equipment, to carry out the processing such as parameter negotiation, private network tags exchange.
During concrete enforcement, TLV (the Type of newly-increased peer-list (neighbor list) in the L2VPN/VPLS traffic aided message that can send at PE equipment, Length and Value), wherein carry source PE equipment lsr-id and object PE equipment lsr-id, and make P equipment can check, identify and process this TLV.
When the CE equipment connecting on PE equipment need to carry out intercommunication with the CE equipment being connected on the PE equipment of opposite end by L2VPN/VPLS business, on these two PE equipment, configure L2VPN/VPLS business respectively, specifying opposite end is mutually L2VPN/VPLS peer, and to opposite end PE equipment, initiate the processes such as relevant parameter negotiation, private network tags exchange, its process can be as shown in Figure 3.
Referring to Fig. 3, the schematic flow sheet of the PE equipment room transmission L2VPN/VPLS traffic aided message providing for the embodiment of the present invention.Wherein, PE1 and PE2 be the peer of L2VPN/VPLS business each other, and the process that PE1 sends L2VPN/VPLS traffic aided message to PE2 can comprise:
Step 301, PE1 has the backbone network P equipment of LDP session to send L2VPN/VPLS traffic aided message to current with its foundation, wherein carries the information of object PE equipment PE2, as the lsr-id of PE2.This message can increase IE on the basis of existing L2VPN/VPLS traffic aided message format, to carry the lsr-id of object PE equipment.
Step 302, the LDP neighbours P equipment of PE1 receives after this message, according to the lsr-id of the PE2 wherein carrying, inquire about the contingency table of its PE equipment recording and P equipment, and when inquiring the P equipment associated with PE2 (setting up with object PE equipment the P equipment that has LDP session), by this VPLS message repeating, give this P equipment.
Step 303, sets up and has the P equipment of LDP session to receive after this message with PE2, sends it to the PE2 that has LDP session with its foundation.
PE2 receives after this message, carries out corresponding MPLS L2VPN business information process according to this message.This processing procedure can adopt existing mode to realize.
If PE2 also needs to return to L2VPN/VPLS traffic aided message (while receiving the label request message of PE1 as PE2) to PE1, to complete the MPLS L2VPN business information such as parameter negotiation each other or private network tags exchange, process, similar to processing procedure and the above-mentioned flow process of transmitting L2VPN/VPLS traffic aided message in the direction of PE1 at PE2, do not repeat them here.
Consider that PE equipment can also adopt between existing mode and opposite end PE equipment and carry out the processing such as parameter negotiation or private network tags exchange,, set up direct-connected or indirectly connected LDP neighbours with opposite end PE equipment, to carry out information interaction by LDP session and opposite end PE equipment, therefore the embodiment of the present invention is at the enterprising one-step optimization in the basis of above-mentioned flow process, with the existing implementation of compatibility.
In the embodiment of this optimization, when the P equipment of PE equipment in specifying backbone network is peer (being LDP neighbours at configuration P equipment), need to, to carrying out mark with the LDP session of this LDP neighbours' foundation, with the LDP neighbours' difference with PE type, come.As, can increase designated parameter, indicating this peer is the P equipment in backbone network, these LDP neighbours are not direct-connected PE, neither common peer (indirectly connected PE), so that PE equipment is sending L2VPN/VPLS traffic aided message or carrying out respective handling when this P equipment receives L2VPN/VPLS traffic aided message to this backbone network P equipment.
During concrete enforcement, PE equipment can increase a keyword core in the order line of setting up LDP target peer (LDP object opposite end).PE equipment, when setting up LDP session with backbone network P equipment, configures this keyword, and PE equipment adds a core label to this session simultaneously, to distinguish other LDP sessions.
Based on above configuration, the flow process of the PE equipment room transmission L2VPN/VPLS traffic aided message after optimization can be as shown in Figure 4.Wherein, PE1 and PE2 be the peer of L2VPN/VPLS business each other, and the process that PE1 sends L2VPN/VPLS traffic aided message to PE2 can comprise:
Step 401, PE1 searches the direct-connected LDP session whether existing with PE2, if existed, proceeds to step 402; Otherwise proceed to step 403.
Step 402, PE1 adopts existing mode to send L2VPN/VPLS traffic aided message to PE2.
Step 403, PE1 searches whether there is the LDP session of setting up with backbone network P equipment, if existed, performs step 404~406, otherwise process ends.
Concrete, PE1 can search the LDP session that whether has core mark, if existed, show this LDP session be and backbone network P equipment between the LDP session of setting up.
Step 404~406, PE1 is to having the backbone network P equipment of LDP session to send L2VPN/VPLS traffic aided message with its foundation, wherein carry the sign of object PE equipment PE2, so that the corresponding relation of the PE equipment that this backbone device is safeguarded according to it and backbone network P equipment, search with PE2 and set up the object backbone network P equipment that has LDP session, and forwarding the packet to PE2 by this object backbone network P equipment, this process is basic identical with step 301~302 shown in Fig. 3.
The network architecture based on shown in Fig. 2 below, the mutual label mapping message between PE equipment of take is example, and the flow process shown in Fig. 4 is described in detail.
Suppose that current C E1 need to carry out intercommunication by L2VPN/VPLS business and CE4, connect PE1 and the upper configuration of the PE2 L2VPN/VPLS business of CE1 and CE4, specify mutually peer.After configuring, first PE1 searches the direct-connected LDP session whether existing with PE2, if existed, in existing mode, sends label mapping message, does not wherein carry the peer-list TLV of embodiment of the present invention expansion, if there is no, search the LDP session that whether has core mark, if existed, the opposite end to this session sends label mapping message, wherein with VC-ID, VC TYPE, the information such as VC LABEL and some interface parameterss, these Information preservations are original realize constant, a but newly-increased peer-list TLV, the TYPE of this TLV can be the arbitrary value of TYPE conflict in the TLV of the current use of discord, VLUE fills out source peer address (lsr-id of PE1) and destination peer (lsr-id of PE2) address, then this label mapping message is sent to the LDP neighbours P1 equipment of oneself.Preferably, this newly-increased TLV is carried on first TLV of message, to facilitate P equipment inspection and processing.If the LDP session with core mark does not exist yet, return, be left intact;
P1 equipment is after receiving this message, whether search in message with peer-list TLV, if had, according to the address of destination peer, in above table 1, search, after finding the address of PE2 (lsr-id), find that it is associated with P4, now searching route, to find destination address be the route next jump of P4, re-assemblies this label mapping message and send to P4;
Whether P4 receives after this label mapping message, search in message with peer-list TLV, if had, searches LDP session on current device, finds that there is the LDP session of setting up with PE2, sends to PE2 after re-assemblying this label mapping message again;
PE2 receives after this label mapping message, peel off peer-list TLV, analytic message, record local VC-ID, the information such as VC TYPE, VC LABEL and interface parameters, then contrast local VC-ID and VC TYPE and interface parameters, if mated with local, L2VPN/VPLS is connected to UP, this process and original realization are consistent.
In opposite direction, PE2 can send label mapping message equally to PE1, and processing procedure is the same.
In another embodiment of the present invention, on the basis of flow process shown in above-mentioned Fig. 3 or Fig. 4, the LDP session also having designed between PE equipment and P equipment disconnects and the informing mechanism recovering, so that the LDP session status of PE device-aware opposite end PE equipment, and process in time the UP/DOWN of L2VPN/VPLS business.For realizing this object, in the embodiment of the present invention in flow process shown in above-mentioned Fig. 3 or Fig. 4, when backbone network P equipment receives after the L2VPN/VPLS traffic aided message of the PE equipment transmission that has LDP session with it, also in this locality, set up the incidence relation of source PE equipment and object PE equipment, object backbone network P equipment is after receiving the next L2VPN/VPLS traffic aided message of other backbone network P device forwards, also in this locality, set up the incidence relation of source PE equipment and object PE equipment, while changing with the LDP session status between convenient backbone network P device discovery itself and PE equipment, according to the PE equipment of setting up and the incidence relation of its opposite end PE equipment, and the incidence relation of PE equipment and P equipment, the situation of change of LDP session status is notified to the opposite end PE equipment of corresponding PE equipment, so that opposite end PE equipment carries out respective handling.
The mutual label mapping message between the network architecture shown in Fig. 2 and PE equipment of still take is example, when P1 receives after the label mapping message of its LDP neighbours PE1 equipment transmission, according to the source peer in peer-list TLV wherein and destination peer, set up the associated list item of PE as shown in table 2; When P4 receives after the label mapping message of P1 transmission, according to the source peer in message peer-list TLV and destination peer, set up source peer as shown in table 2 and the associated list item of destination peer.In the reverse direction, due to P4 and the associated list item of having set up PE1 and PE2 on P1, therefore need not repeat again to set up.
Table 2, source peer and destination peer contingency table
PE peer |
Associate PE peer |
List item state |
PE1(lsr-id) |
PE2(lsr-id) |
Ready (state comprises: Ready, Idle) |
Wherein, the PE equipment associated with each other of record, i.e. the PE equipment of L2VPN/VPLS business opposite end each other in table 2." list item state " field in table 2 represents the L2VPN/VPLS service connection relation condition of corresponding PE equipment room, and wherein, " Ready " represents effective status, and " Idle " represents disarmed state.
When PE2 and P4 have disconnected LDP neighbours for a certain reason, corresponding LDP session status becomes Idle state from operation state, and the LDP session status notice flow process of its PE equipment and P equipment room can as shown in Figure 5, comprise:
Step 501, the state that P4 is gone up in the list item that the PE equipment of record is corresponding with PE2 in P equipment contingency table (as table 1) is updated to Idle state, and starts fault recovery overtime timer timer.
Step 502, P4 is according to the PE contingency table (as table 2) of record on it, inquiring about the PE equipment associated with PE2 is PE1, according to the PE equipment of record on it, searching with P equipment contingency table (as table 1) the P equipment that PE1 is corresponding is again P1, then assembling is for notifying the notification packet of LDP session failure, and this notification packet is sent to P1, in this notification packet, carry the lsr-id of PE2.
Step 503, P1 receives after this notification packet, searches corresponding PE equipment and the associated list item of P equipment, and the state of this list item is updated to Idle state according to the lsr-id of the PE2 wherein carrying.Further, also can assemble a response message to P4, to inform that P4 has received the notice that LDP neighbours disconnect.
Step 504, P1, according to the lsr-id of the PE2 carrying in the notification packet receiving, by searching the associated list item of corresponding PE equipment, inquires the PE1 associated with PE2, then to PE1, sends notification packet and loses connection with PE2 with notice PE1.
Step 505, PE1 receives that this notification packet records this state later, and L2VPN/VPLS service connected state is set is down.
It should be noted that, for session status signalling trouble process, the operation that starts fault recovery overtime timer timer is optional.In the situation that the embodiment of the present invention also provides corresponding fault recovery informing mechanism, just need to start fault recovery overtime timer timer.
If before the timer starting on P4 is overtime, LDP session between PE2 and P4 has recovered, P4 becomes Ready by PE equipment with the recovering state of the list item at PE2 place in P equipment contingency table (as table 1), then according to PE equipment contingency table (table 2), find the PE equipment PE1 of PE2 association, according to PE equipment and the contingency table (table 1) of P equipment, find the associated P equipment P1 of PE1 again, then to P1, send the notification packet for notifying LDP session to recover, in this notification packet, carry the lsr-id of PE2.P1 receives after this message, according to the lsr-id of PE2, the associated list item recovering state of corresponding PE equipment and P equipment is become to Ready, and can further assemble a response message to P4, to inform that P4 has received neighbours' message recovery, and send notification packet and recover with notice LDP session to PE1.PE1 initiates parameter negotiation, private network tags exchange process by the flow process shown in Fig. 3 or Fig. 4 after finding that the LDP between P4 and PE2 recovers.
If after the timer starting on P4 is overtime, PE equipment does not also recover with the corresponding LDP session of list item (being the LDP session between PE2 and P4) of Idle state in the associated list item of P equipment herein, P4 deletes this LDP neighbours PE2 relevant entries (comprising the corresponding list item that comprises PE2 in PE equipment and P equipment contingency table list item and PE equipment contingency table), and notify all P unit deletion PE2 relevant entries that are connected with P4 (to comprise PE equipment and P equipment contingency table list item, further, for P1, also to delete the corresponding list item that comprises PE2 in PE equipment contingency table).
In another embodiment of the present invention, on the basis of above-described embodiment, backbone network P equipment is increased to alternate device, so that when current P equipment breaks down, can be switched in time alternate device, continue to bear data exchanging function.
Concrete, take the network architecture shown in Fig. 6 as example, can on PE equipment, configure a plurality of backbone network P equipment is LDP neighbours, and each LDP neighbour has different priority, and wherein limit priority P equipment is main equipment, and all the other are alternate device.Such as, on PE1, specifying respectively P1, P3 is LDP neighbours, priority is followed successively by 1,2, and (priority value is lower, corresponding priority is higher), on PE2, specifying respectively P4, P2 is LDP neighbours, and priority is followed successively by 1,2, in such cases, priority is that 1 LDP neighbours P1 is main P equipment, and the LDP neighbours P equipment that priority is 2 is backup P equipment.Certain backup P equipment can be configured to a plurality of, to realize redundancy link, improves reliability.
After LDP neighbours have specified, PE equipment is set up LDP neighborhood with the P equipment that is respectively designated as LDP neighbours respectively.Same previous embodiment, in this process, when the LDP session status between P equipment and PE equipment is operation, this P equipment sends notification packet to other P equipment being connected with self, so that the peer information that clearing house connects between backbone device.With previous embodiment different be, in the present embodiment, because PE1 and a plurality of P equipment are set up and are had LDP session, therefore need in notification packet, carry the standby usage state of P equipment, so that record the standby usage state that has each P equipment of LDP session with PE1 in the contingency table (table 1) of the PE equipment that each P equipment is safeguarded at it and P equipment, so that when the opposite end PE2 of PE1 sends L2VPN/VPLS traffic aided message to PE1, the P equipment connecting with PE2 can be according to record in the contingency table (table 1) of PE equipment and P equipment and standby usage state each P equipment corresponding to PE1, therefrom select the P equipment of master state, and forward L2VPN/VPLS traffic aided message to it, thereby forward the packet to opposite end PE equipment by primary P equipment.In like manner, because PE2 and a plurality of P equipment are set up and had LDP session, corresponding process and the said process of noticing the peer information that P equipment connects between P equipment is similar, does not repeat them here.
When PE1 need to initiate L2VPN/VPLS traffic aided message to opposite end PE2, this message is sent to the P1 of current master state to realize exchanges data, described data comprise the related data of protocol level and control plane etc.Described in the same, when PE2 initiates in the process of L2VPN/VPLS traffic aided message to opposite end PE1, the P equipment associated with PE2, when selecting object P equipment corresponding to PE1 according to the contingency table (table 1) of PE equipment and P equipment, is selected according to the standby usage state of the P equipment associated with PE1 recording in this table.In like manner, the process that PE1 initiates L2VPN/VPLS traffic aided message to opposite end PE2 similarly, does not repeat them here.
In the situation that the P1 of current master state breaks down, as shown in Figure 7, the process that standby P equipment replaces primary P equipment to carry out exchanges data can comprise:
Step 701, after the P1 of master state breaks down, PE1 and P1 disconnect neighborhood, and the P3 that PE1 takes second place to priority sends notification packet, take that to notify P3 current be master state.
Step 702, P3 receives after this notification packet, to in the contingency table (table 1) of PE equipment and P equipment, be revised as stand-by state or other state such as invalid with the master state of P1 corresponding to PE1, the opposite end PE equipment that inquires PE1 according to PE equipment contingency table (table 2) is PE2, according to table 1, inquire the P equipment being connected with PE2 again and comprise P2 and P4, then to P2 and P4, send respectively notification packet, wherein carry the lsr-id of PE1, and indicate current oneself for master state, to notify list item corresponding to PE1 in P2 and P4 updating form 1.
Step 703, receive the P equipment of this notification packet according to the lsr-id of the PE1 carrying in this message, question blank 1, is updated to master state by the stand-by state of the P3 that wherein PE1 is corresponding, the master state of the corresponding P1 of PE1 is updated to other states such as stand-by state or disarmed state.
Through said process, complete the backup of a P equipment and the main P equipment later a series of transfer of data that break down, guarantee the correct convergence of L2VPN.Handling process during the P device fails of other master state similarly, does not repeat them here.
Whenever increasing a PE equipment, can repeat the above operation of the embodiment of the present invention, thereby set up corresponding list item on corresponding P equipment, to forward corresponding message.
By above description, can find out, the embodiment of the present invention can greatly reduce the full connection neighbours number between PE equipment, reduces the performance requirement of PE equipment, improves Business Processing speed.In addition, the embodiment of the present invention is applied to the MAC Address management process in VPLS network, when there is MAC Address inundation, can reduces the number that PE device replication MAC Address reclaims message.
Technical conceive based on identical, the embodiment of the present invention also provides a kind of backbone device.
Referring to Fig. 8 A, the structural representation of the backbone network P equipment providing for the embodiment of the present invention.This backbone network P equipment is generally backbone network router.As shown in the figure, this equipment can comprise:
The first contingency table memory module 801, for storing for recording the first contingency table of PE equipment and connected backbone network P equipment;
The first forwarding module 802, for when this backbone network P equipment receives the mutual message of L2VPN/VPLS traffic aided from connected PE equipment, according to carrying opposite end PE device identification and first contingency table of described PE equipment in the mutual message of described L2VPN/VPLS traffic aided, the object backbone network P equipment of inquiry and described opposite end PE equipment connection, and described message repeating is given to the object backbone network P equipment inquiring, so that this object backbone network P equipment sends to connected PE equipment by described message;
The second forwarding module 803, for when this backbone network P equipment receives the mutual message of L2VPN/VPLS traffic aided of other backbone network P device forwards as object backbone network P equipment, send to connected PE equipment to process to carry out MPLS L2VPN business information described message.
Further, in the list item of the first contingency table, also record the connection status of PE equipment and P equipment room, as shown in Figure 8 B, at this backbone network P equipment, also comprise the second contingency table memory module 804 and fault processing module 805, wherein:
The second contingency table memory module 804, for storing for recording the second contingency table of PE equipment and its opposite end PE equipment;
Fault processing module 805, for when detecting while breaking down with being connected of PE equipment, in the first contingency table the corresponding connection status of this PE equipment be set to invalid, according to the second contingency table, inquire about the opposite end PE equipment of the PE equipment that this connection breaks down, according to the first contingency table, inquire about the backbone network P equipment that described opposite end PE equipment connects, and send and connect fault notification message to the backbone network P equipment that finds, wherein carry the sign of the PE equipment that this connection breaks down; After receiving the connection fault notification message of other backbone network P equipment transmission, according to the sign of the PE equipment carrying in this message, in the first contingency table the connection status corresponding with this PE equipment be set to invalid, according to the second contingency table, inquire about the opposite end PE equipment of this PE equipment, being connected between its opposite end of PE equipment PE equipment of inquiring of notice and backbone network P equipment broken down.
Further, fault processing module 805 also for: when detecting while breaking down with being connected of PE equipment, also start timer; When the connection of breaking down being detected recover normal in the situation that timer is also not overtime, the corresponding connection status of PE equipment that in the first contingency table, this connection recovers is set to effectively; According to the second contingency table, inquire about the opposite end PE equipment that this connection recovers normal PE equipment, according to the first contingency table, inquire about the backbone network P equipment that described opposite end PE equipment connects, and send and connect recovery notification packet to the backbone network P equipment finding, wherein carry the sign that this connection recovers normal PE equipment; When receiving the connection of other backbone network P equipment transmission, recover after notification packet, according to the sign of the PE equipment carrying in this message, in the first contingency table, the connection status corresponding with this PE equipment is set to effectively, according to the second contingency table, inquire about the opposite end PE equipment of this PE equipment, being connected between its opposite end of PE equipment PE equipment of inquiring of notice and backbone network P equipment recovers normally.
Further, fault processing module 805 also for: when detecting while breaking down with being connected of PE equipment, also start timer; It is normal that the connection of breaking down if do not detect after timer expiry recovers, delete the first contingency table and in the second contingency table, this is connected list item corresponding to the unrecovered PE equipment of fault, and send remove entries notification packet to other backbone network P equipment with described backbone network P equipment connection, wherein carry the sign of the unrecovered PE equipment of this connection fault; When receiving the list item that other backbone network P equipment sends, delete after notification packet, delete the first contingency table or/and the corresponding list item of corresponding PE equipment in the second contingency table.
Further, above-mentioned backbone network P equipment also can comprise the first contingency table maintenance module 806 and the second contingency table maintenance module 807, wherein:
The first contingency table maintenance module 806, for when the connection status between this backbone network P equipment and PE equipment is running status, to connected other backbone network P equipment, send notification packet, wherein carry the sign of the PE equipment that self sign is connected with it, to add corresponding list item in the first contingency table of notifying described other backbone network P equipment to be safeguarded at it; And, receive adding after the notification packet of corresponding list item for notifying at the first contingency table of other backbone network P equipment transmission, in the first contingency table, add corresponding list item, described corresponding list item comprises the sign of backbone network P equipment and the sign of PE equipment extracting from described notification packet;
The second contingency table maintenance module 807 for receiving after the mutual message of described L2VPN/VPLS traffic aided, according to the sign of the source PE equipment wherein carrying and object PE equipment, adds corresponding list item in the second contingency table.
In another embodiment, more than two P equipment in PE equipment and backbone network connects, in situation comprising host apparatus and stand-by equipment, in the first contingency table, in the list item corresponding with described PE equipment, record the standby usage state of corresponding backbone network P equipment.Accordingly, the mutual message of L2VPN/VPLS traffic aided that this backbone network P equipment receives from the PE equipment message that to be described PE send to the P equipment of the master state the backbone network P equipment with described PE equipment connection.The first forwarding module 802, when the object backbone network P equipment of selecting according to the first contingency table, is selected the backbone network P equipment of master state in the backbone network P equipment with described opposite end PE equipment connection.
Further, on the basis of the backbone network P equipment shown in Fig. 8 A, also comprise the second contingency table memory module 808 and active and standby hand-off process module 809, as shown in Figure 8 C, wherein:
The second contingency table memory module 808, for storing for recording the second contingency table of PE equipment and its opposite end PE equipment;
Active and standby hand-off process module 809, for after the current notification packet that is host apparatus for update notifications that receives connected PE equipment transmission during for stand-by state of this backbone network P equipment, according to described notification packet, the stand-by state of this P equipment in list item corresponding to PE equipment described in the first contingency table is updated to master state, by the P renewal of the equipment of former master state corresponding to this PE equipment, it is stand-by state, according to the second contingency table, inquire about the opposite end PE equipment of described PE, again according to the P equipment of the first contingency table inquiry and described opposite end PE equipment connection, then to the P equipment inquiring, send notification packet, wherein carry the sign of described PE equipment, with notice, the stand-by state of oneself in the list item that in the first contingency table, corresponding PE equipment is corresponding is updated to master state, by the P renewal of the equipment of former master state corresponding to corresponding PE equipment, it is stand-by state,
Wherein, when the backbone network P of master state device fails, with the PE equipment disconnection of this backbone network P equipment connection and being connected of this P equipment, the standby backbone network P equipment connecting to it sends the notification packet that is host apparatus for update notifications.
Further, in above-mentioned backbone network P equipment, also comprise the first contingency table maintenance module 810 and the second contingency table maintenance module 811, wherein:
The first contingency table maintenance module 810, while being running status for the connection status between this backbone network P equipment and PE equipment, to connected other backbone network P equipment, send notification packet, wherein carry the sign of self, the sign of PE equipment that self standby usage state is connected with it, to add corresponding list item in the first contingency table of notifying described other backbone network P equipment to be safeguarded at it; Receive adding after the notification packet of corresponding list item for notifying at the first contingency table of other backbone network P equipment transmission, in the first contingency table of self maintained, add corresponding list item, described corresponding list item comprises the sign of backbone network P equipment and the sign of PE equipment extracting from described notification packet, and the standby usage state of this backbone network P equipment;
The second contingency table maintenance module 811 for receiving after the mutual message of described L2VPN/VPLS traffic aided, according to the sign of the source PE equipment wherein carrying and object PE equipment, adds corresponding list item in the second contingency table.
The mutual message of described L2VPN/VPLS traffic aided comprises: label request message, label mapping message, label reclaim message, label discharges message, media interviews control MAC Address recovery message.
It should be noted that; the embodiment of the present invention is connected to example and is described to set up LDP between PE equipment and backbone network P equipment; but those skilled in the art should be understood that, the connection type between PE equipment and backbone network P equipment is not construed as limiting protection scope of the present invention.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.