CN102546855A - MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment - Google Patents

MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment Download PDF

Info

Publication number
CN102546855A
CN102546855A CN2012100373188A CN201210037318A CN102546855A CN 102546855 A CN102546855 A CN 102546855A CN 2012100373188 A CN2012100373188 A CN 2012100373188A CN 201210037318 A CN201210037318 A CN 201210037318A CN 102546855 A CN102546855 A CN 102546855A
Authority
CN
China
Prior art keywords
mac
address
equipment
mac address
message
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
CN2012100373188A
Other languages
Chinese (zh)
Other versions
CN102546855B (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 CN201210037318.8A priority Critical patent/CN102546855B/en
Publication of CN102546855A publication Critical patent/CN102546855A/en
Application granted granted Critical
Publication of CN102546855B publication Critical patent/CN102546855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an MAC (Media Access Control) address withdrawing method in a VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment. The MAC address withdrawing method comprises the steps: detecting that an AC link is in a fault and inquiring MAC addresses learned by an AC direct link interface, by the PE equipment; judging whether the quantity of the MAC addresses is more than a preset threshold value or not by the PE equipment, is so, encapsulating only one wildcard address in an MAC List TLV (Threshold Limit Value) of a MAC address list, and if not, encapsulating all the MAC addresses in the MAC List TLV; and sending an address withdraw message carrying the MAC List TLV to other PE equipment which belong to a same VPLS business case together with the PE equipment. According to the MAC address withdrawing method and the PE equipment, the problem of forwarding route errors caused by that a receiver PE misbelieves a sender PW (Pseudo Wire) during topological changing is better solved.

Description

MAC Address recovery method and PE equipment in the VPLS network
Technical field
The present invention relates to the data network communications technical field, relate in particular to MAC Address recovery method and PE equipment in a kind of VPLS network.
Background technology
Virtual special local area network service (Virtual Private LAN Service; VPLS) be a kind of multiprotocol label switching (Multiple Protocol Label Switching; MPLS) Layer 2 virtual private network (Virtual Private Network; VPN) technology can provide a kind of point professional to the two-layer VPN of multiple spot in common network.VPLS can intercom the user network that is dispersed on the diverse geographic location mutually, and just as they directly interconnect, it is transparent promptly becoming metropolitan area network and wide area network to all customer locations.
In the VPLS network, (Provider Edge, PE) equipment is through medium access control (Media Access Control, MAC) address learning, the traffic routing that carries out such as aging at the service provider network edge.MAC address learning is exactly the source address of learning data bag; Be PE equipment to from place in circuit (Attachment Circuit; AC) side and pseudo-line (Pseudo Wires; PW) side come in the packet source MAC and corresponding VPLS instance port and PW carry out relatedly, form a MAC forwarding-table item, as shown in Figure 1.MAC address aging is with aging mechanism the MAC Address of learning that do not re-use to be removed, and prior art is general to adopt fixing MAC ageing time (such as 3 minutes), if network topology changes; The flow forward-path changes thereupon; If the MAC forwarding-table item still keeps original MAC Address, can cause flow interrupt, original MAC Address normal aging (3 minutes) such as have only after; Relearn MAC Address, flow could recover.This is in the practical application scene, and the user can't stand long cutout, needs correlation technique and improves network convergence speed.
In the prior art, propose a kind of technology of accelerating network convergence among the RFC4762, adopt the address of the type lengths values (MAC List TLV) that carries the Media Access Control Address tabulation to reclaim message, the MAC Address of its study that upgrades in time.Carry this TLV dual mode is arranged: a kind of is non-NULL MAC List TLV (band MAC Address tabulation among the TLV); Another kind is sky MAC List TLV (not being with the MAC Address tabulation among the TLV).
Reclaim the PE equipment of message for the address that receives non-NULL MAC List TLV; MAC in this MAC Address tabulation is arranged in then MAC being transmitted; And point to tag distribution protocol (the Label Distribution Protocol that receives this message; LDP) MAC address entries of the PW of session correspondence is deleted, and promptly the recipient thinks that transmit leg PW is incredible next jumping.
Reclaim the PE equipment of message for the address that receives sky MAC List TLV; Except the MAC address entries of the corresponding PW of the LDP session of receiving this message is not deleted; The MAC address entries of the correspondence of all PW is all deleted under all the other this VPLS srvice instance, and promptly the recipient thinks that transmit leg PW is believable next jumping.
In RFC4762, also mention especially when carrying MAC Address quantity among the MAC List TLV when a lot, message load is excessive like this, in order to reduce the influence to the LDP convergence time, can send an address of carrying sky MAC List TLV and reclaim message.
But when being converted into sky MAC List TLV transmission for this non-NULL MAC List TLV; When receiving terminal PE receives sky MAC List TLV; Can't judge whether that this trust from the MAC Address that the PW that receives flow learns, so just might exist following problem:
Problem one: should trust the PW that receives flow to former, but be treated to distrust.Break down for main (Primary) PW in the PW dual homed scene of Fig. 2; (User facing-Provider Edge UPE) can switch to backup (Backup) PW to the PE equipment of user oriented side after the perception, and sends the address of carrying sky MAC List TLV through Backup PW and reclaim message to network side PE equipment (Network Provider Edge; NPE) 2; If be treated to distrust, after then NPE2 receives this message, will delete the mac address forwarding table item of learning from Backup PW; Customer edge (Customer Edge like this; CE) transmit in 4 to CE1 the flow forward-path path (through PW2, Primary PW) of possibly still not break down according to Primary PW, cutout occurs.
Problem two: should distrust the PW that receives flow to former, but be treated to trust.In the CE dual homed scene for Fig. 3; When the AC side between CE1 and the PE1 breaks down, and PE1 to learn MAC Address quantity from the CE1 side direction a lot, according to being converted into sky MAC List TLV send mode; The address recovery message that PE1 will encapsulate empty MAC List TLV sends to PE2, PE3.After receiving this message for PE3 equipment, trust the MAC Address of learning from PW1, deletion so just exists two kinds of consequences from the MAC Address that PW3 learns.Consequence one: PE3 still exists and formerly receives message from PE1 equipment and learn MAC Address, and that CE3 just forwards through PW1 on PE3 equipment to the flow of CE1, causes the forward-path mistake, cutout occurs; Consequence two: CE1 is when the AC side of PE1 breaks down; The last flow that send of CE1 can switch on the PE2, and PE3 might learn to receive from PW3 the source MAC of message before message is reclaimed in the address that receives the PE1 transmission like this; After receiver address reclaims message like this; Delete again, can cause and carry out unnecessary flooding to relearn with MAC, influence network convergence.
Summary of the invention
The embodiment of the invention provides MAC Address recovery method and PE equipment in a kind of VPLS network, and during with the solution change in topology, recipient PE believes the forward-path Problem-Error that transmit leg PW causes because of mistake.
The embodiment of the invention provides medium access control (MAC) address recovery method in a kind of virtual special local area network service (VPLS) network, and this method comprises:
Service provider network edge (PE) Equipment Inspection is inquired about the MAC Address that the direct-connected interface of this AC is learnt to place in circuit (AC) link occurs fault;
Said PE equipment judges that whether the quantity of said MAC Address is greater than predetermined threshold value; If greater than predetermined threshold value; Then in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address; If smaller or equal to predetermined threshold value, then in MAC List TLV, encapsulate all MAC Addresss; And to belonging to the address recovery message that said MAC List TLV is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment.
Preferably, said PE Equipment Inspection is arrived before the AC link occurs fault, and said method also comprises:
AC and pseudo-line (PW) are set up business association with said VPLS srvice instance.
Preferably, said PE equipment comprises to other PE equipment transmission addresses recovery message that belong under the same VPLS srvice instance:
Said PE equipment sends the address through related with this AC down PW of same VPLS srvice instance to other PE equipment and reclaims message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
Preferably, said method also comprises:
Said PE equipment receives the address of carrying MAC List TLV and reclaims message;
If said MAC List TLV non-NULL,,, then delete the mac address forwarding table item of learning from the PW of the identification information sign of said PW if said MAC Address is merely said broadcast address then to the said MAC List TLV acquisition MAC Address of decoding; If said MAC Address is not a broadcast address, then deletes from the PW of the identification information sign of said PW and learn, and be arranged in the mac address forwarding table item of the MAC Address of MAC List TLV;
If said MAC List TLV is empty, then deletes the PW that identifies from identification information and belong to the mac address forwarding table item that other PW under the same VPLS srvice instance learn with said PW.
Preferably, said wildcard address is a broadcast address.
The embodiment of the invention provides a kind of service provider network edge (PE) equipment; This PE equipment comprises service management module, detection module, signaling control module, pseudo-line (PW) administration module, place in circuit (AC) administration module and medium access control (MAC) table administration module, wherein:
Said service management module; Be used for affiliated virtual special local area network service (VPLS) srvice instance of PW and AC and said PE equipment and set up business association; And after the message of receiving from AC side and PW side joint carried out source MAC study, notify said MAC table administration module, and after knowing the AC link occurs fault; The MAC Address that the direct-connected interface of AC that obtains to break down from said AC administration module is learnt, and send said MAC Address to said signaling control module;
Said detection module, whether normal, and after detecting the AC link occurs fault, notify said service management module if being used to detect the AC link;
Said signaling control module; Whether the quantity that is used to judge the said MAC Address that said service management module is sent is greater than predetermined threshold value; If greater than predetermined threshold value; Then in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address,, then in MAC List TLV, encapsulate all MAC Addresss if smaller or equal to predetermined threshold value; And to belonging to the address recovery message that said MAC List TLV is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment;
Said PW administration module is used to write down the PW information about firms, and the mac address information of learning from this PW;
Said AC administration module is used to write down the AC information about firms, and the mac address information of learning from this AC;
Said MAC table administration module is used for generating the mac address forwarding table item according to the MAC Address of said service management module notice, and said mac address forwarding table item is stored in during MAC transmits.
Preferably, said signaling control module is to be used for sending the address through related with this AC down PW of same VPLS srvice instance to other PE equipment to reclaim message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
Preferably, said detection module, whether normal, and when detecting current PW and break down, notify said service management module if also being used to detect PW;
Said service management module, be used to also know that said current PW breaks down after, send the identification information of backup PW to said signaling control module;
Said signaling control module also is used for through said backup PW to belonging to the address recovery message that the MAC List TLV that comprises the sky MAC Address is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment.
Preferably, said signaling control module also is used for receiver address and reclaims message, and the MAC List TLV that carries in the message is reclaimed in said address decode, and the MAC Address that decoding is obtained, perhaps empty MAC Address sends to the service management module;
Said service management module also is used for when the MAC Address that receives is a wildcard address, and all corresponding MAC Addresss of PW of the identification information of PW described in said PW administration module sign are announced said MAC table administration module; When the MAC Address that receives is not said wildcard address, corresponding to the PW of the identification information of PW described in said PW administration module sign, and the MAC Address that is arranged in MAC List TLV is announced said MAC table administration module; Receive be the sky MAC Address time, the professional corresponding MAC Address of other PW in the PW place of the identification information of PW described in said PW administration module sign is announced said MAC table administration module;
Said MAC table administration module also is used for the MAC Address of said service management module announcement is reclaimed.
Preferably, said wildcard address is a broadcast address.
The recovery method of above-mentioned MAC Address and PE equipment; Replace through the MAC Address that in MAC List TLV, uses a kind of wildcard and this non-NULL MAC List TLV to be converted into sky MAC List TLV processing mode; When having solved change in topology, whether non-NULL judges whether to trust transmit leg PW to recipient PE according to MAC List TLV, relearns with MAC thereby avoided carrying out unnecessary flooding; And MAC Address does not in time obtain deletion, the forward-path mistake that causes.
Description of drawings
Fig. 1 is the sketch map of existing VPLS network PE learning equipment MAC Address;
Fig. 2 is the scene topological diagram of existing PW dual homed network;
Fig. 3 is the scene topological diagram of existing CE dual homed network;
Fig. 4 is the flow chart of the recovery method embodiment of MAC Address of the present invention;
Fig. 5 is the structural representation of MAC Address wildcard TLV among the present invention;
Fig. 6 is the structural representation of MAC List TLV among the present invention;
Fig. 7 is the structural representation of PE apparatus embodiments of the present invention;
Fig. 8 is the workflow diagram of signaling control module of the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
The embodiment of the invention is mainly mentioned among the RFC4762; When MAC List TLV need carry a lot of quantity MAC Address; This non-NULL MAC List TLV is converted into sky MAC List TLV send mode; Receiving terminal PE should trust transmit leg PW or distrust transmit leg PW; Having proposed a kind of MAC Address (broadcast address) that in MAC List TLV, uses a kind of wildcard replaces and thisly non-NULL MAC List TLV is converted into sky MAC List TLV sends processing mode; Unified with realization flow: for the PE that receives non-NULL MAC List TLV think transmit leg PW be incredible next jump, for the PE that receives empty MAC List TLV think transmit leg PW be believable next jump, and handle like this and reduced unnecessary flood and MAC Address relearns; And solved and in time do not carried out MAC Address deletion, the cutout problem that is caused.
As shown in Figure 4, be the flow chart of the recovery method embodiment of MAC Address of the present invention, this method comprises:
Step 101, service provider network edge (PE) Equipment Inspection are inquired about the MAC Address that the direct-connected interface of this AC is learnt to place in circuit (AC) link occurs fault;
Before this step, can also comprise: AC and pseudo-line (PW) are set up business association with said VPLS srvice instance;
Whether the quantity that step 102, said PE equipment are judged said MAC Address is greater than predetermined threshold value, if greater than predetermined threshold value, then execution in step 103, if smaller or equal to predetermined threshold value, then execution in step 104;
This predetermined threshold value can dynamically be adjusted as required;
Step 103, in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address, and send the address of carrying said MAC List TLV to other PE equipment that belong to same VPLS srvice instance with said PE equipment and reclaim message; Finish;
This wildcard address can be broadcast address, and the form of the MAC List TLV after the encapsulation is as shown in Figure 5;
Step 104, in MAC List TLV all MAC Addresss of encapsulation, and send the address of carrying said MAC List TLV to other PE equipment that belong to same VPLS srvice instance with said PE equipment and reclaim message.
The form of MAC List TLV in this step after the encapsulation is as shown in Figure 6;
Said PE equipment sends the address through related with this AC down PW of same VPLS srvice instance to other PE equipment and reclaims message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
Above-mentioned steps is the handling process of this PE equipment as transmitting terminal, and this PE equipment is following as the handling process of receiving terminal:
Said PE equipment receives the address of carrying MAC List TLV and reclaims message;
If said MAC List TLV non-NULL,,, then delete the mac address forwarding table item of learning from the PW of the identification information sign of said PW if said MAC Address is merely said broadcast address then to the said MAC List TLV acquisition MAC Address of decoding; If said MAC Address is not a broadcast address, then deletes from the PW of the identification information sign of said PW and learn, and be arranged in the mac address forwarding table item of the MAC Address of MAC List TLV;
If said MAC List TLV is empty, then deletes the PW that identifies from identification information and belong to the mac address forwarding table item that other PW under the same VPLS srvice instance learn with said PW.
As shown in Figure 7; It is the structural representation of PE apparatus embodiments of the present invention; This PE equipment comprises service management module 11, detection module 12, signaling control module 13, pseudo-line (PW) administration module 14, place in circuit (AC) administration module 15 and MAC table administration module 16, wherein:
Said service management module; Be used for affiliated virtual special local area network service (VPLS) srvice instance of PW and AC and said PE equipment and set up business association; And after the message of receiving from AC side and PW side joint carried out source MAC study, notify said MAC table administration module, and after knowing the AC link occurs fault; The MAC Address that the direct-connected interface of AC that obtains to break down from said AC administration module is learnt, and send said MAC Address to said signaling control module;
Said detection module, whether normal, and after detecting the AC link occurs fault, notify said service management module if being used to detect the AC link;
Said signaling control module; Whether the quantity that is used to judge the said MAC Address that said service management module is sent is greater than predetermined threshold value; If greater than predetermined threshold value; Then in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address,, then in MAC List TLV, encapsulate all MAC Addresss if smaller or equal to predetermined threshold value; And to belonging to the address recovery message that said MAC List TLV is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment;
Said PW administration module is used to write down the PW information about firms, and the mac address information of learning from this PW;
Said AC administration module is used to write down the AC information about firms, and the mac address information of learning from this AC;
Said MAC table administration module is used for generating the mac address forwarding table item according to the MAC Address of said service management module notice, and said mac address forwarding table item is stored in during MAC transmits.
Wherein, said signaling control module is to be used for sending the address through related with this AC down PW of same VPLS srvice instance to other PE equipment to reclaim message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
In addition, said detection module, whether normal, and when detecting current PW and break down, notify said service management module if also being used to detect PW; Said service management module, be used to also know that said current PW breaks down after, send the identification information of backup PW to said signaling control module; Said signaling control module also is used for through said backup PW to belonging to the address recovery message that the MAC List TLV that comprises the sky MAC Address is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment.
The structure that the structure of above-mentioned PE equipment has during as transmitting terminal for this PE equipment, in addition, above-mentioned PE equipment also can be used as receiving terminal; At this moment; Said signaling control module also is used for receiver address and reclaims message, the MAC List TLV that carries in the message is reclaimed in said address decode; And the MAC Address that decoding is obtained, perhaps empty MAC Address sends to the service management module;
Said service management module also is used for when the MAC Address that receives is a wildcard address, and all corresponding MAC Addresss of PW of the identification information of PW described in said PW administration module sign are announced said MAC table administration module; When the MAC Address that receives is not said wildcard address, corresponding to the PW of the identification information of PW described in said PW administration module sign, and the MAC Address that is arranged in MAC List TLV is announced said MAC table administration module; Receive be the sky MAC Address time, the professional corresponding MAC Address of other PW in the PW place of the identification information of PW described in said PW administration module sign is announced said MAC table administration module;
Said MAC table administration module is used for the MAC Address of said service management module announcement is reclaimed.
Further, above-mentioned wildcard address can be broadcast address.
Using the removal process that above-mentioned PE equipment carries out MAC Address comprises:
When step 201, detection module detect the AC link occurs fault, the informing business administration module;
Step 202, service management module be according to the AC that lost efficacy, and from AC admin table module, inquires about from then on the direct-connected interface of AC and learn MAC Address;
Further, whether enable MAC according to the VPLS instance of the direct-connected interface ownership of this AC and reclaim (Withdraw), if enabled, the MAC Address packing notice signaling control module that AC is relevant;
Step 203, signaling control module unpack the message of sending on the service management module, and carry out the coding work of MAC List TLV, trigger the address and reclaim the message transmission, and idiographic flow is seen shown in Figure 8.
After step 204, opposite end PE received address recovery message, the signaling control module was decoded to the MAC List TLV that it carries, and with its resultant MAC Address of decoding, perhaps empty MAC Address packing sends to the service management module;
Step 205, the MAC Address situation of service management module to receiving are handled as follows, and notice MAC table administration module recycles the MAC forwarding-table item accordingly.
Be merely a broadcast address if receive MAC Address, then all the corresponding MAC Addresss of PW that receive this message in the PW administration module all reclaimed.
If receive MAC Address and be not an only broadcast address, then corresponding to the PW that receives this message in the PW administration module, and be that MAC Address among this MAC List TLV reclaims.
If receive is sky MAC, then the corresponding MAC Address of other all PW under the PW place VPLS instance that receives this message in the PW administration module is all reclaimed.
The embodiment of the invention is primarily aimed at AC and breaks down; Need the address to reclaim message and carry MAC Address quantity when a lot; And adopt a kind of method of MAC Address (broadcast address) of wildcard; Make opposite end PE can from transmit, reclaim the MAC forwarding-table item corresponding rapidly, thereby avoided cutout, and carry out unnecessary flood and MAC Address relearns with PW.
Embodiment one
This embodiment is example with Fig. 2, introduces networking application scenarios down earlier, specifies implementation step of the present invention again.
Application scenarios:
In H-VPLS network shown in Figure 2, be connected through U-PW between UPE and the NPE, be connected through N-PW between NPE and the NPE.NPE can send the message that receives through N-PW through U-PW, perhaps will send through N-PW through the message that U-PW receives, and still, NPE can not send the message that receives through N-PW again through N-PW.UPE and NPE1, two U-PW between the NPE2 form main and standby relation, insert a lot of end user devices on the CE5 equipment.
Suppose that the AC access side between interior CE5 of network shown in Figure 2 and the NPE1 breaks down, the MAC Address removal process is following:
Step 301, NPE1 detect with CE5 and insert the side fault; If surpass certain threshold value (this threshold value can manual configuration) from MAC Address quantity with the study of the direct-connected interface of CE5; Just send the address recovery message of carrying FEC TLV and non-NULL MAC List TLV to all N-PW that belong to same VPLS instance and U-PW, wherein MAC List TLV coding is as shown in Figure 5;
It is non-NULL that step 302, UPE and NPE2, NPE3 carry MAC List TLV according to the address recovery message that receives; An and MAC Address tabulation broadcast address (MAC Address of full F) only among this TLV; Then delete all MAC forwarding-table items that obtain from the PW study of FEC TLV sign, promptly distrust the MAC Address of learning from transmit leg PW;
Wherein, Comprise PW sign (Identification among the FEC TLV; ID) and PW type (Type); After NPE2, NPE3 and UPE receive that message is reclaimed in the address, can find and receive that the address reclaims the PW of the LDP session association of message according to FEC TLV, so deletion from this PW go to school acquistion to the MAC forwarding-table item;
Step 303, NPE1 detect with CE5 and insert the side fault; If from the MAC Address quantity of the direct-connected interface of CE5 study less than certain threshold value; Just send the address recovery message of carrying FEC TLV and non-NULL MAC List TLV to all N-PW that belong to same VPLS instance and U-PW; Wherein MAC List TLV coding is as shown in Figure 6, and MAC address#1....MAC address#n fills concrete MAC Address;
It is non-NULL that step 304, UPE and NPE2, NPE3 carry MAC List TLV according to the address recovery message that receives; And the MAC Address tabulation is not a broadcast address among this TLV; Then delete and obtain from the PW study of FEC TLV sign; And be in the MAC forwarding-table item of MAC among the MAC List TLV, promptly distrust the MAC Address of learning from transmit leg PW.
Embodiment two
This embodiment also adopts application scenarios shown in Figure 2, supposes that the Primary PW among Fig. 2 breaks down, its practical implementation step:
After step 401, UPE perception Primary PW break down, can switch to backup (Backup) PW, and send the address of carrying sky MAC List TLV through Backup PW and reclaim message to NPE2;
Step 402, NPE2 receive message, trust and learn MAC Address from Backup PW, and deletion is promptly trusted the MAC Address of learning from transmit leg PW from the MAC forwarding-table item that other all PW under this instance learn.
Further; Because Backup PW is U-PW, NPE2 can send every other member under this VPLS instance with this message, and NPE1, NPE3 receive all that NPE2 sends over like this carries sky MAC List TLV address recovery message; In like manner NPE1 trusts the MAC Address that receives from PW2; The MAC Address that deletion is learnt from other all PW under this instance, NPE3 trusts the MAC Address that receives from PW3, the MAC Address that deletion is learnt from other all PW under this instance.
In sum; The embodiment of the invention propose when MAC List TLV need carry a lot of quantity MAC Address, be not employed in the address and reclaim in the message and carry the send mode of sky MAC List TLV, and be employed in MAC Address (broadcast address) send mode of a kind of wildcard of use among the MAC List TLV; When having solved change in topology; Only whether non-NULL judges whether to trust transmit leg PW to receiving terminal PE according to address list among the MAC List TLV, makes that like this MAC table is in time refreshed, and has avoided MAC Address in time not refresh; The message forwarding path mistake that is caused; The cutout situation occurs, and avoid carrying out unnecessary flood and MAC relearns, improved network convergence speed.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said procedure can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is specified.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention, all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1. medium access control (MAC) address recovery method in a virtual special local area network service (VPLS) network is characterized in that this method comprises:
Service provider network edge (PE) Equipment Inspection is inquired about the MAC Address that the direct-connected interface of this AC is learnt to place in circuit (AC) link occurs fault;
Said PE equipment judges that whether the quantity of said MAC Address is greater than predetermined threshold value; If greater than predetermined threshold value; Then in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address; If smaller or equal to predetermined threshold value, then in MAC List TLV, encapsulate all MAC Addresss; And to belonging to the address recovery message that said MAC List TLV is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment.
2. method according to claim 1 is characterized in that:
Said PE Equipment Inspection is arrived before the AC link occurs fault, and said method also comprises:
AC and pseudo-line (PW) are set up business association with said VPLS srvice instance.
3. method according to claim 2 is characterized in that:
Said PE equipment comprises to other PE equipment transmission addresses recovery message that belong under the same VPLS srvice instance:
Said PE equipment sends the address through related with this AC down PW of same VPLS srvice instance to other PE equipment and reclaims message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
4. method according to claim 3 is characterized in that, said method also comprises:
Said PE equipment receives the address of carrying MAC List TLV and reclaims message;
If said MAC List TLV non-NULL,,, then delete the mac address forwarding table item of learning from the PW of the identification information sign of said PW if said MAC Address is merely said broadcast address then to the said MAC List TLV acquisition MAC Address of decoding; If said MAC Address is not a broadcast address, then deletes from the PW of the identification information sign of said PW and learn, and be arranged in the mac address forwarding table item of the MAC Address of MAC List TLV;
If said MAC List TLV is empty, then deletes the PW that identifies from identification information and belong to the mac address forwarding table item that other PW under the same VPLS srvice instance learn with said PW.
5. according to the described method of the arbitrary claim of claim 1-4, it is characterized in that:
Said wildcard address is a broadcast address.
6. a service provider network edge (PE) equipment; It is characterized in that; This PE equipment comprises service management module, detection module, signaling control module, pseudo-line (PW) administration module, place in circuit (AC) administration module and medium access control (MAC) table administration module, wherein:
Said service management module; Be used for affiliated virtual special local area network service (VPLS) srvice instance of PW and AC and said PE equipment and set up business association; And after the message of receiving from AC side and PW side joint carried out source MAC study, notify said MAC table administration module, and after knowing the AC link occurs fault; The MAC Address that the direct-connected interface of AC that obtains to break down from said AC administration module is learnt, and send said MAC Address to said signaling control module;
Said detection module, whether normal, and after detecting the AC link occurs fault, notify said service management module if being used to detect the AC link;
Said signaling control module; Whether the quantity that is used to judge the said MAC Address that said service management module is sent is greater than predetermined threshold value; If greater than predetermined threshold value; Then in the type lengths values (MAC List TLV) of Media Access Control Address tabulation, only encapsulate a wildcard address,, then in MAC List TLV, encapsulate all MAC Addresss if smaller or equal to predetermined threshold value; And to belonging to the address recovery message that said MAC List TLV is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment;
Said PW administration module is used to write down the PW information about firms, and the mac address information of learning from this PW;
Said AC administration module is used to write down the AC information about firms, and the mac address information of learning from this AC;
Said MAC table administration module is used for generating the mac address forwarding table item according to the MAC Address of said service management module notice, and said mac address forwarding table item is stored in during MAC transmits.
7. PE equipment according to claim 6 is characterized in that:
Said signaling control module is to be used for sending the address through related with this AC down PW of same VPLS srvice instance to other PE equipment to reclaim message, and said address is reclaimed also to carry in the message and sent the identification information that the PW of message is reclaimed in said address.
8. PE equipment according to claim 6 is characterized in that:
Said detection module, whether normal, and when detecting current PW and break down, notify said service management module if also being used to detect PW;
Said service management module, be used to also know that said current PW breaks down after, send the identification information of backup PW to said signaling control module;
Said signaling control module also is used for through said backup PW to belonging to the address recovery message that the MAC List TLV that comprises the sky MAC Address is carried in other PE equipment transmissions under the same VPLS srvice instance with said PE equipment.
9. according to claim 7 or 8 described PE equipment, it is characterized in that:
Said signaling control module also is used for receiver address and reclaims message, and the MAC List TLV that carries in the message is reclaimed in said address decode, and the MAC Address that decoding is obtained, perhaps empty MAC Address sends to the service management module;
Said service management module also is used for when the MAC Address that receives is a wildcard address, and all corresponding MAC Addresss of PW of the identification information of PW described in said PW administration module sign are announced said MAC table administration module; When the MAC Address that receives is not said wildcard address, corresponding to the PW of the identification information of PW described in said PW administration module sign, and the MAC Address that is arranged in MACList TLV is announced said MAC table administration module; Receive be the sky MAC Address time, the professional corresponding MAC Address of other PW in the PW place of the identification information of PW described in said PW administration module sign is announced said MAC table administration module;
Said MAC table administration module also is used for the MAC Address of said service management module announcement is reclaimed.
10. PE equipment according to claim 9 is characterized in that:
Said wildcard address is a broadcast address.
CN201210037318.8A 2011-11-28 2012-02-17 MAC Address recovery method and PE equipment in VPLS network Active CN102546855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210037318.8A CN102546855B (en) 2011-11-28 2012-02-17 MAC Address recovery method and PE equipment in VPLS network

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201110384877.1 2011-11-28
CN201110384877 2011-11-28
CN2011103848771 2011-11-28
CN201210037318.8A CN102546855B (en) 2011-11-28 2012-02-17 MAC Address recovery method and PE equipment in VPLS network

Publications (2)

Publication Number Publication Date
CN102546855A true CN102546855A (en) 2012-07-04
CN102546855B CN102546855B (en) 2017-10-17

Family

ID=46352799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210037318.8A Active CN102546855B (en) 2011-11-28 2012-02-17 MAC Address recovery method and PE equipment in VPLS network

Country Status (1)

Country Link
CN (1) CN102546855B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833157A (en) * 2012-08-10 2012-12-19 华为技术有限公司 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)
CN102916877A (en) * 2012-09-19 2013-02-06 华为技术有限公司 Method and device for setting up black hole media access control (MAC) forwarding table
CN103338277A (en) * 2013-06-20 2013-10-02 华为技术有限公司 Media access control MAC address recovery method and device
CN103634192A (en) * 2013-11-28 2014-03-12 瑞斯康达科技发展股份有限公司 PW (pseudo wire) MAC (media access control) deletion method and device, PW MAC revocation information transmission method and device, and two-layer network system
WO2014169801A1 (en) * 2013-04-15 2014-10-23 Hangzhou H3C Technologies Co., Ltd. Provider edge in virtual private lan service network
CN104954259A (en) * 2015-04-28 2015-09-30 瑞斯康达科技发展股份有限公司 PTN (packet transport network) service convergence realization method and PE (provider edge router)
CN107483312A (en) * 2017-09-11 2017-12-15 安徽皖通邮电股份有限公司 One kind accelerates the convergent method and system of Media Access Control Address

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980155A (en) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101582834A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Updating method, equipment and system of forwarding table during service transmission of Ethernet
CN101621550A (en) * 2009-08-14 2010-01-06 杭州华三通信技术有限公司 Method and device for recycling MAC address in VPLS
CN101640616A (en) * 2009-09-08 2010-02-03 杭州华三通信技术有限公司 Method and device for recovering MAC address
US20100208593A1 (en) * 2009-02-17 2010-08-19 Yee Ming Soon Method and apparatus for supporting network communications using point-to-point and point-to-multipoint protocols
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980155A (en) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101582834A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Updating method, equipment and system of forwarding table during service transmission of Ethernet
US20100208593A1 (en) * 2009-02-17 2010-08-19 Yee Ming Soon Method and apparatus for supporting network communications using point-to-point and point-to-multipoint protocols
CN101621550A (en) * 2009-08-14 2010-01-06 杭州华三通信技术有限公司 Method and device for recycling MAC address in VPLS
CN101640616A (en) * 2009-09-08 2010-02-03 杭州华三通信技术有限公司 Method and device for recovering MAC address
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833157A (en) * 2012-08-10 2012-12-19 华为技术有限公司 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)
CN102833157B (en) * 2012-08-10 2015-07-08 华为技术有限公司 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)
CN102916877A (en) * 2012-09-19 2013-02-06 华为技术有限公司 Method and device for setting up black hole media access control (MAC) forwarding table
CN102916877B (en) * 2012-09-19 2015-06-17 华为技术有限公司 Method and device for setting up black hole media access control (MAC) forwarding table
WO2014169801A1 (en) * 2013-04-15 2014-10-23 Hangzhou H3C Technologies Co., Ltd. Provider edge in virtual private lan service network
US9705788B2 (en) 2013-04-15 2017-07-11 Hewlett Packard Enterprise Development Lp Provider edge in virtual private LAN service network
CN103338277A (en) * 2013-06-20 2013-10-02 华为技术有限公司 Media access control MAC address recovery method and device
CN103634192A (en) * 2013-11-28 2014-03-12 瑞斯康达科技发展股份有限公司 PW (pseudo wire) MAC (media access control) deletion method and device, PW MAC revocation information transmission method and device, and two-layer network system
CN103634192B (en) * 2013-11-28 2017-07-14 瑞斯康达科技发展股份有限公司 PW MAC deletions, revocation information transmission method and device and double layer network system
CN104954259A (en) * 2015-04-28 2015-09-30 瑞斯康达科技发展股份有限公司 PTN (packet transport network) service convergence realization method and PE (provider edge router)
CN107483312A (en) * 2017-09-11 2017-12-15 安徽皖通邮电股份有限公司 One kind accelerates the convergent method and system of Media Access Control Address

Also Published As

Publication number Publication date
CN102546855B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
KR102589958B1 (en) Transmission path fault processing method, device and system
CN102546855A (en) MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment
CN102694718B (en) A kind of VPLS fast rerouting method and equipment
US20230344754A1 (en) Message indication method and apparatus, and device and storage medium
CN103269299B (en) Message forwarding method in SPBM network and device
CN104639470A (en) Flow label encapsulating method and system
CN114070782A (en) Method, device and system for processing transmission path fault
CN101217470B (en) Method and device for forwarding message
CN111786884A (en) Routing method and routing equipment
CN113014486B (en) BIER message forwarding method, device, equipment and storage medium
CN101355486A (en) Method, equipment and system for switching route
CN101710875A (en) Method and device for realizing rapid re-routing
EP4178163A1 (en) Information notification, message forwarding, and message cancellation methods and apparatuses, device, and medium
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
WO2022121466A1 (en) Data processing method and device for ethernet virtual private network, and storage medium
CN102088400A (en) Provider edge (PE) equipment in virtual special network and switching method
CN106161253A (en) A kind of message processing method and device
CN104767680A (en) Rapid route switch method and device
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN102347889A (en) Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service)
CN103368844A (en) Message processing method and label switching router in MPLS network
CN102857421A (en) VLL fault detection method and device
WO2013037280A1 (en) Label allocation method and superstratum device
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment
CN102255805B (en) Message transmission method, message forwarding method and devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant