CN102546855B - MAC Address recovery method and PE equipment in VPLS network - Google Patents

MAC Address recovery method and PE equipment in VPLS network Download PDF

Info

Publication number
CN102546855B
CN102546855B CN201210037318.8A CN201210037318A CN102546855B CN 102546855 B CN102546855 B CN 102546855B CN 201210037318 A CN201210037318 A CN 201210037318A CN 102546855 B CN102546855 B CN 102546855B
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.)
Active
Application number
CN201210037318.8A
Other languages
Chinese (zh)
Other versions
CN102546855A (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

Abstract

The invention provides MAC Address recovery method in a kind of VPLS network and PE equipment, wherein, this method includes:PE equipment detects AC links and broken down, and inquires about the MAC Address that the direct-connected interfaces of the AC learn;The PE equipment judges whether the quantity of the MAC Address is more than predetermined threshold value, if more than predetermined threshold value, a wildcard address is then only encapsulated in the MAC List TLV of Media Access Control Address list, if less than or equal to predetermined threshold value, all MAC Address are encapsulated in MAC List TLV;And the address recovery message for carrying the MAC List TLV is sent to other PE equipment belonged to the PE equipment under same VPLS srvice instance.The recovery method and PE equipment of above-mentioned MAC Address, when preferably solving change in topology, recipient PE forward-path Problem-Errors because of caused by letter sender PW by mistake.

Description

MAC Address recovery method and PE equipment in VPLS network
Technical field
The present invention relates to MAC Address recovery method in data network communications technical field, more particularly to a kind of VPLS network And PE equipment.
Background technology
Virtual Private LAN Service (Virtual Private LAN Service, VPLS) is a kind of multiprotocol label Exchange (Multiple Protocol Label Switching, MPLS) Layer 2 virtual private network (Virtual Private Network, VPN) technology, a kind of point-to-multipoint two-layer VPN business can be provided in common network.VPLS makes to be dispersed in not It can be in communication with each other, be directly connected to each other just as them together, i.e., Metropolitan Area Network (MAN) with the user network on geographical position It is transparent to become all customer locations in pairs with wide area network.
In VPLS network, service provider network edge (Provider Edge, PE) equipment passes through medium education (Media Access Control, MAC) address learning, aging etc. carries out traffic routing.MAC address learning is exactly learning data The source address of bag, i.e. PE equipment to from access circuit (Attachment Circuit, AC) side and pseudo-wire (Pseudo Wires, PW) side come in packet source MAC be associated with corresponding VPLS instance ports and PW, form a MAC forwarding-table item, As shown in Figure 1.MAC address aging is that the MAC Address that do not use learnt is removed with aging mechanism, prior art one As using fixed MAC ageing times (such as 3 minutes), if network topology changes, flow forward-path changes therewith Become, if MAC forwarding-table items still retain original MAC Address, flow interrupt can be caused, original MAC Address normal aging such as only After (3 minutes), MAC Address is relearned, flow could recover.This is in practical application scene, and user can not stand for a long time Cutout, it is desirable to have correlation technique improve network convergence speed.
In the prior art, a kind of technology for accelerating network convergence is proposed in RFC4762, using carrying medium education Message is reclaimed in the address of the type lengths values (MAC List TLV) of address list, come the MAC Address for its study that upgrades in time.Take There is two ways with the TLV:One kind is non-NULL MAC List TLV (band MAC Address list in TLV);Another is sky MAC List TLV (without MAC Address list in TLV).
The PE equipment of message is reclaimed for receiving non-NULL MAC List TLV address, then to having this in MAC forward tables MAC in MAC Address list, and point to tag distribution protocol (the Label Distribution for receiving this message Protocol, LDP) the corresponding PW of session MAC address entries are deleted, i.e., and recipient thinks that sender PW is incredible next Jump.
The PE equipment of message is reclaimed for receiving sky MAC List TLV address, except the LDP to receiving this message The corresponding PW of session MAC address entries are outer without deleting, and all PW corresponding MAC address entries are all under remaining this VPLS srvice instance Deleted, i.e., recipient thinks that sender PW is believable next-hop.
In RFC4762, also it should be particularly mentioned that when carrying MAC Address quantity is many in MAC List TLV, such message Load is excessive, in order to reduce the influence to LDP convergence time, can send an address for carrying sky MAC List TLV and reclaim Message.
But when being converted into sky MAC List TLV transmissions for this non-NULL MAC List TLV, receiving terminal PE receives sky During MAC List TLV, it is impossible to judge whether the MAC Address that the trust learns from the PW for receiving flow, be so possible to The problem of existing following:
Problem one:The PW for receiving flow should be trusted script, but be processed as distrusting.For in Fig. 2 PW dual homed scenes Main (Primary) PW breaks down, after the PE equipment (User facing-Provider Edge, UPE) of user oriented side is perceived Can be switched to backup (Backup) PW, and sent by Backup PW carry sky MAC List TLV address recovery message to Network side PE equipment (Network Provider Edge, NPE) 2, if being processed as distrusting, NPE2 receives this message Afterwards, the mac address forwarding table learnt from Backup PW will be deleted, such customer edge (Customer Edge, CE) 4 to CE1 flow forward-path may not broken down still according to Primary PW path (through PW2, Primary PW) forwarding, stop.
Problem two:The PW for receiving flow should be distrusted script, but be processed as trusting.For in Fig. 3 CE dual homed scenes, When the AC sides between CE1 and PE1 are broken down, and PE1 is many from CE1 sides to study to MAC Address quantity, according to conversion For empty MAC List TLV sending methods, the address for encapsulating sky MAC List TLV is reclaimed message and is sent to PE2, PE3 by PE1. Received for PE3 equipment after this message, trust the MAC Address learnt from PW1, delete the MAC Address learnt from PW3, It thus there are two kinds of consequences.Consequence one:PE3 receives message from PE1 equipment there are still original and learnt to MAC Address, that CE3 to CE1 flow is just forwarded in PE3 equipment by PW1, is caused forward-path mistake, is stopped;Consequence two: When CE1 to PE1 AC sides are broken down, the flow sent on CE1 can be switched on PE2, and such PE3 is receiving PE1 transmissions Reclaim before message address, it is possible to which the source MAC that message is received from PW3 is arrived in study, so receive address and reclaim after message, Deleted again, can cause and carry out unnecessary flood to relearn with MAC, influence network convergence.
The content of the invention
The embodiments of the invention provide MAC Address recovery method in a kind of VPLS network and PE equipment, to solve topological change During change, recipient PE forward-path Problem-Errors because of caused by letter sender PW by mistake.
The embodiments of the invention provide medium education (MAC) in a kind of Virtual Private LAN Service (VPLS) network Address recovery method, this method includes:
Service provider network edge (PE) equipment detects access circuit (AC) link and broken down, and inquires about the AC direct-connected The MAC Address that interface learns;
The PE equipment judges whether the quantity of the MAC Address is more than predetermined threshold value, if more than predetermined threshold value, in matchmaker A wildcard address is only encapsulated in the type lengths values (MAC List TLV) of body access control address list, if less than or equal to pre- If threshold value, then all MAC Address are encapsulated in MAC List TLV;And belong to same VPLS srvice instance to the PE equipment Under other PE equipment send and carry the address of the MAC List TLV and reclaim message.
Preferably, the PE equipment is detected before AC links break down, and methods described also includes:
AC and pseudo-wire (PW) set up business association with the VPLS srvice instance.
Preferably, the PE equipment sends address to other PE equipment belonged under same VPLS srvice instance and reclaims message Including:
The PE equipment sends address to other PE equipment by the PW associated under same VPLS srvice instance with the AC and returned Message is received, the identification information for also being carried in message and sending the PW that message is reclaimed in the address is reclaimed in the address.
Preferably, methods described also includes:
The PE equipment receives the address recovery message for carrying MAC List TLV;
If the MAC List TLV non-NULLs, decoding is carried out to the MAC List TLV and obtains MAC Address, if described MAC Address is only the broadcast address, then deletes the mac address forwarding table learnt from the PW of the identification information mark of the PW ;If the MAC Address is not a broadcast address, delete what is learnt from the PW of the identification information mark of the PW, and The mac address forwarding table of MAC Address in MAC List TLV;
If the MAC List TLV are sky, delete from the PW with the identification information of PW mark and belong to same VPLS The mac address forwarding table that other PW under srvice instance learn.
Preferably, the wildcard address is broadcast address.
The embodiments of the invention provide a kind of service provider network edge (PE) equipment, the PE equipment includes service management Module, detection module, signaling control module, pseudo-wire (PW) management module, access circuit (AC) management module and media access control (MAC) table management module is made, wherein:
The service management module, for the Virtual Private LAN Service (VPLS) belonging to PW and AC and the PE equipment Srvice instance sets up business association, and the message received from AC sides and PW side joints is carried out after source MAC study, notifies described MAC table management module, and after knowing that AC links break down, obtains that the AC broken down is direct-connected to be connect from the AC management modules The MAC Address that mouth learns, and send the MAC Address to the signaling control module;
The detection module, for detecting whether AC links are normal, and is detecting after AC links break down, is notifying institute State service management module;
The signaling control module, for judge the MAC Address that the service management module is sent quantity whether More than predetermined threshold value, if more than predetermined threshold value, in type lengths values (the MAC List of Media Access Control Address list TLV a wildcard address is only encapsulated in), if being less than or equal to predetermined threshold value, in MAC List TLV with encapsulating all MAC Location;And send the carrying MAC List TLV to other PE equipment belonged to the PE equipment under same VPLS srvice instance Address reclaim message;
The PW management modules, for recording PW information about firms, and the mac address information learnt from the PW;
The AC management modules, for recording AC information about firms, and the mac address information learnt from the AC;
The MAC table management module, the MAC Address generation MAC Address for being notified according to the service management module turns Forwarding list item, and the mac address forwarding table is stored in MAC forward tables.
Preferably, the signaling control module, be for the PW by being associated under same VPLS srvice instance with the AC to Other PE equipment send address and reclaim message, and the address, which reclaims also to carry in message, sends the PW that message is reclaimed in the address Identification information.
Preferably, the detection module, whether be additionally operable to detection PW normal, and when detecting current PW and breaking down, Notify the service management module;
The service management module, is additionally operable to after knowing that the current PW breaks down, and is sent out to the signaling control module Send backup PW identification information;
The signaling control module, is additionally operable to real to same VPLS business is belonged to the PE equipment by the backup PW Reclaim message in the address that other PE equipment under example send MAC List TLV of the carrying package containing empty MAC Address.
Preferably, the signaling control module, is additionally operable to receive address recovery message, the address is reclaimed and taken in message The MAC List TLV of band are decoded, and will decode obtained MAC Address, or empty MAC Address is sent to service management mould Block;
The service management module, is additionally operable to, when the MAC Address received is a wildcard address, the PW be managed into mould The corresponding all MAC Address of PW of the identification information mark of PW described in block notice the MAC table management module;What is received It is corresponding to the PW of the identification information mark of PW described in the PW management modules when MAC Address is not the wildcard address, and MAC Address in MAC List TLV notices the MAC table management module;Receive be sky MAC Address when, to institute The corresponding MAC Address notices of other PW of business are described where the PW for the identification information mark for stating PW described in PW management modules MAC table management module;
The MAC table management module, is additionally operable to reclaim the MAC Address that the service management module is noticed.
Preferably, the wildcard address is broadcast address.
The recovery method and PE equipment of above-mentioned MAC Address, by with using a kind of MAC of wildcard in MAC List TLV Location come replace it is this non-NULL MAC List TLV are converted into sky MAC List TLV processing modes, when solving change in topology, Recipient PE according to MAC List TLV whether non-NULL come judge whether trust sender PW so that avoid progress it is unnecessary general Flood and MAC are relearned, and MAC Address is not deleted in time, caused forward-path mistake.
Brief description of the drawings
Fig. 1 is the schematic diagram of existing VPLS network PE learning equipment MAC Address;
Fig. 2 is the scene topological diagram of existing PW dual homeds network;
Fig. 3 is the scene topological diagram of existing CE dual homeds 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 in the present invention;
Fig. 6 is the structural representation of MAC List TLV in 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 the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
The embodiment of the present invention in RFC4762 primarily directed to mentioning, when MAC List TLV need to carry many quantity MAC During address, this non-NULL MAC List TLV are converted into sky MAC List TLV sending methods, receiving terminal PE is should to trust hair The side of sending PW still distrusts sender PW, it is proposed that a kind of that a kind of (broadcast of MAC Address of wildcard is used in MAC List TLV Address) come replace it is this by non-NULL MAC List TLV be converted into sky MAC List TLV send processing mode, with implementation process It is unified:Think that sender PW is incredible next-hop for receiving non-NULL MAC List TLV PE, for receiving sky MAC List TLV PE thinks that sender PW is believable next-hop, and so processing reduce it is unnecessary with flooding with MAC Location is relearned, and solves not progress MAC Address deletion, caused cutout problem in time.
As shown in figure 4, being the flow chart of the recovery method embodiment of MAC Address of the present invention, this method includes:
Step 101, service provider network edge (PE) equipment detect access circuit (AC) link and broken down, and inquire about The MAC Address that the direct-connected interfaces of the AC learn;
Before this step, it can also include:AC and pseudo-wire (PW) set up business association with the VPLS srvice instance;
Step 102, the PE equipment judge whether the quantity of the MAC Address is more than predetermined threshold value, if more than default threshold Value, then perform step 103, if less than or equal to predetermined threshold value, performing step 104;
The predetermined threshold value can be adjusted dynamically as needed;
Step 103, the only encapsulation one in the type lengths values (MAC List TLV) of Media Access Control Address list Wildcard address, and send the carrying MAC List to other PE equipment for belonging to same VPLS srvice instance with the PE equipment Reclaim message in TLV address;Terminate;
The wildcard address can be broadcast address, and the form of the MAC List TLV after encapsulation is as shown in Figure 5;
Step 104, all MAC Address are encapsulated in MAC List TLV, and belong to same VPLS to the PE equipment Other PE equipment of srvice instance send the address recovery message for carrying the MAC List TLV.
The form of MAC List TLV after being encapsulated in this step is as shown in Figure 6;
The PE equipment sends address to other PE equipment by the PW associated under same VPLS srvice instance with the AC and returned Message is received, the identification information for also being carried in message and sending the PW that message is reclaimed in the address is reclaimed in the address.
Above-mentioned steps be the PE equipment as transmitting terminal handling process, the PE equipment as receiving terminal handling process such as Under:
The PE equipment receives the address recovery message for carrying MAC List TLV;
If the MAC List TLV non-NULLs, decoding is carried out to the MAC List TLV and obtains MAC Address, if described MAC Address is only the broadcast address, then deletes the mac address forwarding table learnt from the PW of the identification information mark of the PW ;If the MAC Address is not a broadcast address, delete what is learnt from the PW of the identification information mark of the PW, and The mac address forwarding table of MAC Address in MAC List TLV;
If the MAC List TLV are sky, delete from the PW with the identification information of PW mark and belong to same VPLS The mac address forwarding table that other PW under srvice instance learn.
As shown in fig. 7, being the structural representation of PE apparatus embodiments of the present invention, the PE equipment includes service management module 11st, detection module 12, signaling control module 13, pseudo-wire (PW) management module 14, access circuit (AC) management module 15 and MAC table Management module 16, wherein:
The service management module, for the Virtual Private LAN Service (VPLS) belonging to PW and AC and the PE equipment Srvice instance sets up business association, and the message received from AC sides and PW side joints is carried out after source MAC study, notifies described MAC table management module, and after knowing that AC links break down, obtains that the AC broken down is direct-connected to be connect from the AC management modules The MAC Address that mouth learns, and send the MAC Address to the signaling control module;
The detection module, for detecting whether AC links are normal, and is detecting after AC links break down, is notifying institute State service management module;
The signaling control module, for judge the MAC Address that the service management module is sent quantity whether More than predetermined threshold value, if more than predetermined threshold value, in type lengths values (the MAC List of Media Access Control Address list TLV a wildcard address is only encapsulated in), if being less than or equal to predetermined threshold value, in MAC List TLV with encapsulating all MAC Location;And send the carrying MAC List TLV to other PE equipment belonged to the PE equipment under same VPLS srvice instance Address reclaim message;
The PW management modules, for recording PW information about firms, and the mac address information learnt from the PW;
The AC management modules, for recording AC information about firms, and the mac address information learnt from the AC;
The MAC table management module, the MAC Address generation MAC Address for being notified according to the service management module turns Forwarding list item, and the mac address forwarding table is stored in MAC forward tables.
Wherein, the signaling control module, be for the PW by being associated under same VPLS srvice instance with the AC to its His PE equipment sends address and reclaims message, and the address, which reclaims also to carry in message, sends the PW that message is reclaimed in the address Identification information.
Whether in addition, the detection module, it is normal to be additionally operable to detection PW, and when detecting current PW and breaking down, leads to Know the service management module;The service management module, is additionally operable to after knowing that the current PW breaks down, to the signaling Control module sends backup PW identification information;The signaling control module, be additionally operable to by the backup PW to the PE Other PE equipment that equipment belongs under same VPLS srvice instance send MAC List TLV of the carrying package containing empty MAC Address ground Reclaim message in location.
The structure of above-mentioned PE equipment be the PE equipment as transmitting terminal when the structure that has, in addition, above-mentioned PE equipment also may be used So that as receiving terminal, now, the signaling control module is additionally operable to receive address recovery message, message is reclaimed to the address The MAC List TLV of middle carrying are decoded, and will decode obtained MAC Address, or empty MAC Address is sent to business pipe Manage module;
The service management module, is additionally operable to, when the MAC Address received is a wildcard address, the PW be managed into mould The corresponding all MAC Address of PW of the identification information mark of PW described in block notice the MAC table management module;What is received It is corresponding to the PW of the identification information mark of PW described in the PW management modules when MAC Address is not the wildcard address, and MAC Address in MAC List TLV notices the MAC table management module;Receive be sky MAC Address when, to institute The corresponding MAC Address notices of other PW of business are described where the PW for the identification information mark for stating PW described in PW management modules MAC table management module;
The MAC table management module, for being reclaimed to the MAC Address that the service management module is noticed.
Further, above-mentioned wildcard address can be broadcast address.
The removal process for carrying out MAC Address using above-mentioned PE equipment includes:
When step 201, detection module detect AC links and broken down, service management module is notified;
Step 202, service management module are inquired about from the direct-connected interfaces of this AC according to the AC of failure from AC management table modules Practise MAC Address;
Further, whether the VPLS examples belonged to according to the direct-connected interface of the AC enable MAC and reclaim (Withdraw), if Enable, by the related MAC Address packing notice signaling control modules of AC;
Step 203, signaling control module are unpacked the message sent in service management module, and carry out MAC List TLV coding work, triggering address is reclaimed message and sent, and idiographic flow is as shown in Figure 8.
Step 204, opposite end PE receive address and reclaimed after message, the MAC List TLV that signaling control module is carried to it Decoded, and decode it resulting MAC Address, or empty MAC Address is transmitted to service management module;
The MAC Address situation of reception is handled as follows, and notify MAC table to manage for step 205, service management module Module is recycled accordingly to MAC forwarding-table items.
It is corresponding to PW that this message is received in PW management modules if it is only a broadcast address to receive MAC Address All MAC Address are all reclaimed.
If it is not an only broadcast address to receive MAC Address, the PW correspondences to receiving this message in PW management modules , and be that MAC Address in the MAC List TLV is reclaimed.
If it is sky MAC to receive, then to receiving the PW of this message in PW management modules where under VPLS examples its The corresponding MAC Address of his all PW is all reclaimed.
The embodiment of the present invention breaks down mainly for AC, when needing address recovery message carrying MAC Address quantity a lot, and Using a kind of method of the MAC Address of wildcard (broadcast address) so that opposite end PE can rapidly be reclaimed and PW pairs from forward table The MAC forwarding-table items answered, so that cutout is avoided, and unnecessary the flooding of progress is relearned with MAC Address.
Embodiment one
The embodiment introduces lower networking application scenarios by taking Fig. 2 as an example, first, then describes the implementation steps of the present invention in detail.
Application scenarios:
In the H-VPLS networks shown in Fig. 2, connected between UPE and NPE by U-PW, pass through N-PW between NPE and NPE Connection.NPE will can be sent by the N-PW messages received by U-PW, or will be passed through by the U-PW messages received N-PW is sent, and still, NPE can not be sent the message received by N-PW by N-PW again.UPE and NPE1, NPE2 it Between two U-PW formation main and standby relations, access many end user devices in CE5 equipment.
It is assumed that the AC accesses side shown in Fig. 2 in network between CE5 and NPE1 is broken down, MAC Address removal process is as follows:
Step 301, NPE1 are detected accesses side failure with CE5, if from the MAC Address quantity learnt with the direct-connected interfaces of CE5 More than certain threshold value (this threshold value can be with manual configuration), just sent out to all N-PW and U-PW that belong to same VPLS examples The address for carrying FEC TLV and non-NULL MAC List TLV is sent to reclaim message, wherein MAC List TLV codings are as shown in Figure 5;
It is non-NULL that step 302, UPE and NPE2, NPE3 reclaim message to carry MAC List TLV according to the address of reception, and And MAC Address list only one broadcast address (full F MAC Address) in the TLV, then delete the PW study identified from FEC TLV Obtained all MAC forwarding-table items, that is, distrust the MAC Address learnt from sender PW;
Wherein, FEC TLV include PW marks (Identification, ID) and PW types (Type), NPE2, NPE3 and UPE receives address and reclaimed after message, can find and receive the PW that the LDP session associations of message are reclaimed in address according to FEC TLV, And then delete from the PW go to school acquistion to MAC forwarding-table items;
Step 303, NPE1 are detected accesses side failure with CE5, if from the MAC Address quantity learnt with the direct-connected interfaces of CE5 Less than certain threshold value, just sent to all N-PW and U-PW that belong to same VPLS examples and carry FEC TLV and non-NULL MAC Message is reclaimed in List TLV address, and wherein MAC List TLV are encoded as shown in fig. 6, MAC address#1....MAC Address#n fills specific MAC Address;
It is non-NULL that step 304, UPE and NPE2, NPE3 reclaim message to carry MAC List TLV according to the address of reception, and MAC Address list is not a broadcast address in the TLV, then deletes what the PW study identified from FEC TLV was obtained, and be in MAC MAC forwarding-table items, that is, distrust the MAC Address learnt from sender PW in MAC List TLV.
Embodiment two
The embodiment is also using the application scenarios shown in Fig. 2, it is assumed that the Primary PW in Fig. 2 break down, and its is specific Implementation steps:
After step 401, UPE perception Primary PW break down, backup (Backup) PW can be switched to, and pass through Backup PW send the address recovery message for carrying sky MAC List TLV to NPE2;
Step 402, NPE2 receive message, and trust learns to MAC Address from Backup PW, deleted under this example The MAC forwarding-table items that other all PW learn, that is, trust the MAC Address learnt from sender PW.
Further, because Backup PW are U-PW, NPE2 this message can be sent under this VPLS examples it is every other into Member, such NPE1, NPE3 receive the carrying sky MAC List TLV addresses recovery message that NPE2 is sended over, and similarly NPE1 believes Appoint the MAC Address received from PW2, delete the MAC Address that other all PW learn under this example, NPE3 is trusted from PW3 The MAC Address of upper reception, deletes the MAC Address that other all PW learn under this example.
In summary, the embodiment of the present invention propose when MAC List TLV need to carry many quantity MAC Address, do not adopt The sending method that sky MAC List TLV are carried in message is reclaimed used in address, and is used in MAC List TLV using one kind MAC Address (broadcast address) sending method of wildcard, when solving change in topology, receiving terminal PE is only according in MAC List TLV Whether non-NULL judges whether to trust sender PW address list, so that MAC table is refreshed in time, it is to avoid MAC Location is not refreshed in time, caused message forwarding path mistake, cutout situation occurs, and avoid carrying out it is unnecessary flood and MAC is relearned, and improves network convergence speed.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and said procedure can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuits to realize.Accordingly Each module/unit in ground, above-described embodiment can be realized in the form of hardware, it would however also be possible to employ the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, reference only to preferred embodiment to this hair It is bright to be described in detail.It will be understood by those within the art that, technical scheme can be modified Or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention, the claim model in the present invention all should be covered Among enclosing.

Claims (9)

1. MAC address recovery method in a kind of Virtual Private LAN Service VPLS network, it is characterised in that This method includes:
Service provider network edge PE equipment detects access circuit AC links and broken down, and inquires about the direct-connected interface study of the AC The MAC Address arrived;
The PE equipment judges whether the quantity of the MAC Address is more than predetermined threshold value, if more than predetermined threshold value, being connect in media A wildcard address is only encapsulated in the type lengths values MAC List TLV for entering to control address list, if less than or equal to default threshold Value, then encapsulate all MAC Address in MAC List TLV;And belong to the PE equipment under same VPLS srvice instance Other PE equipment send the address recovery message for carrying the MAC List TLV;
Wherein, the wildcard address is broadcast address.
2. according to the method described in claim 1, it is characterised in that:
The PE equipment is detected before AC links break down, and methods described also includes:
AC and pseudo-wire PW sets up business association with the VPLS srvice instance.
3. method according to claim 2, it is characterised in that:
The PE equipment sends address recovery message to other PE equipment belonged under same VPLS srvice instance to be included:
The PE equipment is sent address and reclaimed by the PW associated under same VPLS srvice instance with the AC to other PE equipment to disappear Reclaim the identification information for also being carried in message and sending the PW that message is reclaimed in the address in breath, the address.
4. method according to claim 3, it is characterised in that methods described also includes:
Other PE equipment under same VPLS srvice instance receive the address recovery message for carrying MAC List TLV;
If the MAC List TLV non-NULLs, decoding is carried out to the MAC List TLV and obtains MAC Address, if the MAC Address is only the broadcast address, then deletes the mac address forwarding table learnt from the PW of the identification information mark of the PW; If the MAC Address is not a broadcast address, delete what is learnt from the PW of the identification information mark of the PW, and be located at The mac address forwarding table of MAC Address in MAC List TLV;
If the MAC List TLV are sky, delete from the PW with the identification information of PW mark and belong to same VPLS business The mac address forwarding table that other PW under example learn.
5. a kind of service provider network edge PE equipment, it is characterised in that the PE equipment includes service management module, detection mould Block, signaling control module, pseudo-wire PW management modules, access circuit AC management modules and media access control MAC table management module, Wherein:
The service management module, it is real for the Virtual Private LAN Service VPLS business belonging to PW and AC and the PE equipment Example sets up business association, and the message received from AC sides and PW side joints is carried out after source MAC study, notifies the MAC table Management module, and after knowing that AC links break down, the direct-connected interfaces of AC broken down are obtained from the AC management modules The MAC Address practised, and send the MAC Address to the signaling control module;
The detection module, for detecting whether AC links are normal, and is detecting after AC links break down, is notifying the industry Business management module;
The signaling control module, for judging whether the quantity for the MAC Address that the service management module is sent is more than Predetermined threshold value, if more than predetermined threshold value, in the type lengths values MAC List TLV of Media Access Control Address list only A wildcard address is encapsulated, if less than or equal to predetermined threshold value, all MAC Address are encapsulated in MAC List TLV;And to Other PE equipment that the PE equipment belongs under same VPLS srvice instance send the address go back to for carrying the MAC List TLV Receive message;
The PW management modules, for recording PW information about firms, and the mac address information learnt from the PW;
The AC management modules, for recording AC information about firms, and the mac address information learnt from the AC;
The MAC table management module, the MAC Address for being notified according to the service management module generates mac address forwarding table , and the mac address forwarding table is stored in MAC forward tables.
6. PE equipment according to claim 5, it is characterised in that:
The signaling control module, is to be sent out for the PW by being associated under same VPLS srvice instance with the AC to other PE equipment Address is sent to reclaim message, the identification information for also being carried in message and sending the PW that message is reclaimed in the address is reclaimed in the address.
7. PE equipment according to claim 5, it is characterised in that:
The detection module, whether normal, and when detecting current PW and breaking down, notify the business if being additionally operable to detection PW Management module;
The service management module, is additionally operable to after knowing that the current PW breaks down, and sends standby to the signaling control module Part PW identification information;
The signaling control module, is additionally operable to the PE equipment belong under same VPLS srvice instance by the backup PW Other PE equipment send MAC List TLV of the carrying package containing empty MAC Address address and reclaim message.
8. the PE equipment according to claim 6 or 7, it is characterised in that:
The signaling control module, is additionally operable to receive address recovery message, the MAC carried in message is reclaimed to the address List TLV are decoded, and will decode obtained MAC Address, or empty MAC Address is sent to service management module;
The service management module, is additionally operable to when the MAC Address received is a wildcard address, by the PW management modules The corresponding all MAC Address of PW of the identification information mark of the PW notice the MAC table management module;In the MAC received It is corresponding to the PW of the identification information mark of PW described in the PW management modules when address is not the wildcard address, and position MAC Address in MAC List TLV notices the MAC table management module;Receive be sky MAC Address when, to described The corresponding MAC Address of other PW of business notices the MAC where the PW of the identification information mark of PW described in PW management modules Table management module;
The MAC table management module, is additionally operable to reclaim the MAC Address that the service management module is noticed.
9. PE equipment according to claim 8, it is characterised in that:
The wildcard address is 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 2011-11-28
CN2011103848771 2011-11-28
CN201110384877.1 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 CN102546855A (en) 2012-07-04
CN102546855B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)
CN102916877B (en) * 2012-09-19 2015-06-17 华为技术有限公司 Method and device for setting up black hole media access control (MAC) forwarding table
CN103200089B (en) 2013-04-15 2016-10-19 杭州华三通信技术有限公司 Message forwarding method in virtual special LAN service network and equipment
CN103338277A (en) * 2013-06-20 2013-10-02 华为技术有限公司 Media access control MAC address recovery method and device
CN103634192B (en) * 2013-11-28 2017-07-14 瑞斯康达科技发展股份有限公司 PW MAC deletions, revocation information transmission method and device and double layer network system
CN104954259B (en) * 2015-04-28 2019-04-02 瑞斯康达科技发展股份有限公司 A kind of method that realizing PTN business convergence and PE
CN107483312A (en) * 2017-09-11 2017-12-15 安徽皖通邮电股份有限公司 One kind accelerates the convergent method and system of Media Access Control Address

Citations (5)

* 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
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8059549B2 (en) * 2009-02-17 2011-11-15 Tellabs Operations, Inc. Method and apparatus for supporting network communications using point-to-point and point-to-multipoint protocols

Patent Citations (5)

* 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
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal

Also Published As

Publication number Publication date
CN102546855A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102546855B (en) MAC Address recovery method and PE equipment in VPLS network
CN105245452B (en) Multi-protocol label switching traffic engineering tunnel establishing method and equipment
US9608903B2 (en) Systems and methods for recovery from network changes
CN102571426B (en) Double-homing protection method and device
CN100512148C (en) Convergence method and device based on VPLS dual home full connection network
CN104639470A (en) Flow label encapsulating method and system
CN102185711B (en) Method and equipment for detecting link failure in hybrid network
CN101155076B (en) Method for checking pseudo wire trouble of two-layer special network
CN103326940B (en) Method for forwarding message in network and edge device of operator
WO2009033428A1 (en) Method, system and device for removing media access control address
WO2009012688A1 (en) Method, system and apparatus for forwarding message in three-layer virtual private network
CN101521631A (en) Treatment method, equipment and system for VPLS network messages
CN101931520A (en) Switching method and system
WO2011060667A1 (en) Method and device for link protection in virtual private local area network
CN102088415B (en) Method and device for MAC (media access control) address withdrawal
CN103581025B (en) Method and system for processing routing information and equipment
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN102088400A (en) Provider edge (PE) equipment in virtual special network and switching method
EP2897328B1 (en) Method, system and apparatus for establishing communication link
CN103747026A (en) Alarm method and alarm device of openflow flow table
CN101160862A (en) Method and system for realizing the consistency of the virtual circuit status
CN102857421A (en) VLL fault detection method and device
CN102170387A (en) Method, system, and device for detecting service connection in tunnel
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment
EP2832055B1 (en) Pseudowire groups in a packet switched network

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