CN101047601B - Implementing method and system of double-attach network based on VPLS - Google Patents

Implementing method and system of double-attach network based on VPLS Download PDF

Info

Publication number
CN101047601B
CN101047601B CN 200610073158 CN200610073158A CN101047601B CN 101047601 B CN101047601 B CN 101047601B CN 200610073158 CN200610073158 CN 200610073158 CN 200610073158 A CN200610073158 A CN 200610073158A CN 101047601 B CN101047601 B CN 101047601B
Authority
CN
China
Prior art keywords
link
port
vpls
network
mac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200610073158
Other languages
Chinese (zh)
Other versions
CN101047601A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200610073158 priority Critical patent/CN101047601B/en
Priority to PCT/CN2007/001116 priority patent/WO2007115493A1/en
Publication of CN101047601A publication Critical patent/CN101047601A/en
Application granted granted Critical
Publication of CN101047601B publication Critical patent/CN101047601B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Landscapes

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

Abstract

A method for realizing double-attribution network based on VPLS includes setting up protection group containing master-standby link, sending broadcast message for informing device in VPLS network to learn new MAC address mapping relation in said protection group for carrying out master-standby switchover of port and link when link fault is detected out, not executing switchover operation immediately when link fault is removed off but restoring link after certain time of forbiddingness in order to avoid repeat oscillation when link is switched over.

Description

Implementation method and system based on the dual-home network of VPLS
Technical field
The present invention relates to network communication field, relate in particular to a kind of implementation method of switching based on the dual-home network of VPLS.
Background technology
Along with the demand of network service constantly develops, network size is increasing, has also become increasingly complex.At this moment, for the user provides a safety, stable, communication environment fast, become operator provides communication service to the user the most basic requirement.In order to satisfy the demands and to bring into play the characteristics of ethernet technology fully, in current network, the service supplier utilizes VLAN (VLAN) that the Ethernet interconnection technique of multiple spot to multiple spot is provided, the many technology such as VPLS, Spanning-Tree Protocol of also having derived simultaneously.
To at first introduce some relevant vlan technologys below.
1, VPLS technology
More a kind of two-layer VPN (VPN (virtual private network)) business that VPLS (VPLS) provides in common network to multiple spot.VPLS can be linked user site different on the region by metropolitan area network or wide area network, and a network that forms therefrom, is equivalent to each user concerning the user in a local area network (LAN).Different user's groups are mapped as different local area network (LAN)s, and each VLAN is called a virtual interacting example.Generally, in the virtual switch instance of a VPLS, use the virtual link link to form the full mesh structure between any two NPE (network side provider edge equipment).In the VPLS network, user's message transmits by tunnel between the NPE equipment and virtual link, and, after user's message arrives another NPE from a NPE, will no longer be forwarded to the 3rd NPE, avoided network loop.UPE (user side provider edge equipment) then generally plays the user's effect of converging in network.
2, MAC In MAC technology
MAC in MAC (MIM, MAC Address in the MAC Address): the front at the standard ethernet message increases a new Ethernet heading, comprise destination address, source MAC, VLAN TAG (VPN (virtual private network) label), form new a kind of standard technique of message.
3, Spanning-Tree Protocol
Two layers of switching network are netted structures in enterprise uses, the arbitrfary point can arrive other node in the network in order to make, automatically learn the forwarding route that mapping relations form by MAC Address, in order to obtain reliable network, each equipment has adopted redundant link more.These measures just make that two layers of ethernet switched network is inevitable must to have formed loop, and network loop can cause the network traffics storm, takies a large amount of network bandwidths and transmits resource, and regular traffic is had a strong impact on.Therefore, Spanning-Tree Protocol is just arisen at the historic moment.
Described Spanning-Tree Protocol is used at two layers of switching network, by between equipment, transmitting device port information, the redundant link of blocking-up network, algorithm and communication protocol that a network that the loop arranged is trimmed to a loop-free tree topology are called Spanning-Tree Protocol.
4, dual-home network
In data communication network, device A is connected with equipment C with equipment B simultaneously, connects and composes link between the equipment, and two links of device A and B and device A and C formation backup each other, and the network of this topological structure is called dual-home network.Dual-home network can provide link backup, node backup, load balancing function, can improve the reliability of network greatly, and double-attaching technology provides the basic topological structure of redundant link.
In carrier network, require to transmit passage the passage that is manageable, reliable and has redundancy protecting, described double-attaching technology can satisfy this requirement of operator substantially, and therefore, double-attaching technology is widely used in the carrier network at present.
In the double layer network that the prior art Ethernet switch is formed, utilize VPLS that a kind of LAN access technology is provided based on vlan technology, can promptly in network, find target by the MIM technology, for message transmission and the problems such as link failure and changes of topology structure in the communication in the network, handle by Spanning-Tree Protocol, for the reliability of network, can improve the reliability of network by dual-homing networking.
Wherein, realization for the reliability of network, conventional method is to provide the redundancy of equipment to connect in a VLAN, on each port of whole network equipment, start STP (Spanning Tree Protocol, Spanning-Tree Protocol), calculate main port and standby port by the STP agreement, make main port in forwarding state, other backup port is in blocked state.When main port breaks down, by BPDU (bridge agreement routing unit) bridge protocol data message with the diffusion of the change in topology information of network to the whole network, and recalculate the topology of a loop-free tree, make original port blocked be converted to normal forwarding port.The main port of fault gets clogged or does not participate in topology and calculates, thereby finishes the switching of standby port to main port.
After the fault of main port was eliminated, the network topological information that the announcement of BPDU message changes triggered STP generation tree and calculates, and keeps new tree network topology structure.
But also there is following shortcoming in prior art when the active/standby link switchover method that adopts:
1, because STP carries out the diffusion of BPDU message to whole double layer network, generating tree according to the topology information of whole network calculates and switches, thereby cause the link switchover convergence rate slow, especially more outstanding in complex network, it is in particular in that the active/standby link switchover time is long.Improved RSTP (RSTP) does not still fundamentally solve the whole network and generates tree and calculate and cause the slow problem of link switchover, promptly still can't reach the telecommunication apparatus requirement less than 50 milliseconds requirement switching time.
2, before the generation of complex network tree was stablized, port status had the oscillatory occurences that changes repeatedly, and port status has the time of long interrupting service when switching.
3, whole network topology data all participate in calculating, and the algorithm complexity especially generates in the tree calculating at many examples, and is high to the processor performance requirement of equipment.It is low to show as reliability in existing commercial network, the maintenance cost height.
4, be vulnerable to rogue attacks.The assailant is by forging the BPDU message, and the configuration parameter vector among the personation BPDU participates in generating tree and calculates, and causes network topological change.Can also cause the routing mistake by attacking the root device of STP in addition, even service disconnection.
Summary of the invention
The purpose of this invention is to provide a kind of implementation method and system of switching based on the dual-home network of VPLS, can in the VPLS network, realize the switching quickly and safely to the dual-homed link of NPE by UPE by this method.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of implementation method of switching based on the dual-home network of VPLS, comprising:
A, when link detecting when the fault, active and standby in the protection group of the dual-homing networking of virtual special local area network service VPLS network switches with port, and sends the broadcasting packet of the new mapping relations of relevant device study in the notice VPLS network; Comprise: the user side provider edge equipment (UPE) as the source end sends broadcasting packet to connected network side provider edge equipment (NPE), and continues to send this broadcasting packet by this NPE all specific relevant NPE in the VPLS network;
Equipment in B, the VPLS network is learnt corresponding mapping relations according to the broadcasting packet of receiving, and carries out the transmission of service message by reserve link;
Wherein, increase outer Ethernet heading based on MAC in MAC in the user's message that the provider edge equipment of user side sends, this heading comprises source MAC, target MAC (Media Access Control) address, virtual local area network tags; Described mapping relations comprise: the binding relationship of the outbound port of user's message information, outer Ethernet header and protection group.
Described protection group comprises:
Active link, main port, reserve link and standby port, wherein link and port have forwarding state and blocked state two states, and under forwarding state, link and port E-Packet, and under blocked state, link and port do not E-Packet.
The method that described mapping relations are stored in the provider edge equipment of user side comprises:
Setting comprises the source of user's MAC address information, user's virtual LAN VLAN information, operating side, the user's message mapping table of target MAC (Media Access Control) address information, with the protection group mapping table that comprises source, operating side, target MAC (Media Access Control) address information and primary, spare port information, and by the described mapping relations of two table preservations;
Perhaps,
Setting comprises the user's message mapping table of user's MAC address information, user vlan information and operating side target MAC (Media Access Control) address information; with the protection group mapping table that comprises operating side target MAC (Media Access Control) address information and primary, spare port information; with the local side oral thermometer that comprises local port information, and by described three described mapping relations of table preservation.
Described steps A specifically comprises:
After active link detects fault, standby port on the provider edge equipment of described user side as the source end is converted to forwarding state, main port is converted to blocked state, and carry out describedly sending broadcasting packet, and continue to send these broadcasting packets by this NPE all specific relevant NPE in the VPLS network to connected NPE.
Described steps A comprises:
In the active and standby whole process of switching with link of protection group, the source MAC and the target MAC (Media Access Control) address of protection group remain unchanged.
Described step B comprises:
After active was finished with link switchover, the user side provider edge equipment was handled by the transmission that reserve link carries out service message according to the new mapping relations of learning by broadcasting packet.
Described method also comprises:
Behind link failure recovery, active link and main port revert to forwarding state from blocked state, and reserve link and standby port are converted to blocked state;
The user side provider edge equipment sends the broadcasting packet that has source address, refreshes the information in the table of the MAC in the network side provider edge equipment in the VPLS network.
Described method also comprises:
When active and standby switch with port after, the link in the user side provider edge equipment recovers the transmission of the service message of active link in the switching of forbidding the laggard line link of a preset time section.
The present invention also provides a kind of and has realized the system that dual-home network switches based on VPLS, comprising:
The fault detect processing unit, be used for when link detecting when the fault, active and standby in the protection group of the dual-homing networking of control VPLS network switches with port, and triggers the broadcasting packet transmitting element;
The broadcasting packet transmitting element is arranged in the network side provider edge equipment, is used under the triggering of fault detect processing unit the broadcasting packet of the mapping relations that the learning equipment in the transmission notice VPLS network is new;
Message sends processing unit, is arranged in the user side provider edge equipment, is arranged in the VPLS network equipment, is used for learning corresponding mapping relations according to the described broadcasting packet of receiving, and carries out the transmission of service message by reserve link; And increase outer Ethernet heading based on MAC in MAC in the user's message that sends, this heading comprises source MAC, target MAC (Media Access Control) address, virtual local area network tags;
Wherein, described mapping relations comprise: the binding relationship of the outbound port of user's message information, outer Ethernet header and protection group.
Described fault detect processing unit comprises:
Fault detection unit is used for detecting the fault of link, and after detecting fault, triggers main port processing unit, standby port processing unit and broadcasting packet transmitting element;
The main port processing unit is used for main port is converted to blocked state;
The standby port processing unit is used for standby port is converted to forwarding state.
Described system also comprises:
The link failure recovery processing unit is arranged in the user side provider edge equipment, is used for when link failure recovery active link and main port being reverted to forwarding state from blocked state, and reserve link and standby port are converted to blocked state.
Described system also comprises:
The time-delay trigger element is arranged in the user side provider edge equipment, be used for control when active and standby with after the port switching, behind the one section preset time of delaying time, trigger link fault recovery processing unit.
Described system also comprises:
MAC table information updating message sending unit is arranged in the user side provider edge equipment, is used to send the broadcasting packet that has source address;
MAC table information updating processing unit is arranged in the VPLS network in the network side provider edge equipment, receives the broadcasting packet that MAC table information updating message sending unit is sent, and refreshes the information in self the MAC table.
As seen from the above technical solution provided by the invention, the present invention only is implemented in the link switchover from UPE to NPE in the VPLS network at localized network, makes link switchover efficient improve greatly, can not have oscillation problem repeatedly again in the link switchover process simultaneously; And, realization of the present invention in the VPLS network other UPE and NPE without any influence, do not need other UPE, NPE node upgrading yet or revise configuration.Therefore, among the present invention, do not need two-layer protocol or three layer protocols to control its running, thereby make the problem that in handoff procedure, does not exist protocol massages under fire to cause regular traffic to interrupt.In a word, the present invention realizes simply, switches reliable and securely, is convenient to hardware and realizes.
Description of drawings
Fig. 1 is the flow chart of the implementation method of dual-home network;
Fig. 2 is the schematic diagram of dual-home network;
The schematic diagram that Fig. 3 switches for the dual-home network port;
Fig. 4 is the schematic diagram after the dual-home network link switchover success;
Fig. 5 is the specific implementation structural representation of system provided by the invention.
Embodiment
Core concept of the present invention is that the process that protection is switched is only implemented to the Access Network of NPE is local at UPE; and do not rely on the state of opposite end at UPE and NPE; promptly do not need to hold consultation, thereby can realize the quick switching between the main/slave link with the UPE and the NPE of opposite end.
Specifically, the present invention is after in network active/standby link switchover taking place, send broadcasting packet by UPE to connected NPE, and give this broadcasting packet at this VPLS net relaying supervention, thereby guarantee that each NPE may learn the mac address information of UPE by NPE with link source end.
To describe detailed process of the present invention one by one in detail below, as shown in Figure 1, method concrete steps shown in the present are as described below:
Step 11: set up the protection group in the VPLS network, this protection group is made up of with link and port one+1 backup active and standby, and link and port all have forwarding state and blocked state; under forwarding state; link and port E-Packet, and under blocked state, link and port do not E-Packet.
As shown in Figure 2, in ether local switching network, suppose that protection group G1 is made up of P1 port and the link of NPE1, the P2 port of UPE1 and the link of NPE2 of UPE1, for the message of user CE1 provides protection passage based on MAC in MAC.In UPE1, protection group G1 is applied to port P1 and port P2, specifies main port and standby port by configuration.Suppose that main port is P1, standby port is P2, and then P1 need be made as forwarding state, and P2 is made as blocked state.
Need increase outer Ethernet heading based on MAC in MAC in the user's message in the protection group, described heading comprises source address, destination address, VLAN label.This protection group as shown in Figure 2, heading comprises source address SP-MAC1, destination address SP-MAC2, VLAN label SP-VLAN1; The Ethernet heading purpose that increases is to be used for link when switching, can utilize the binding relationship of destination address and port, link to find the destination very soon rapidly, and because contain source address, the loss of packet is near zero packet loss in the time of can making link failure recovery according to it.
The basic binding relationship of user's message information, outer Ethernet header and protection group outbound port (or going out VLAN) need be set on UPE for the message transmissions that realizes above-mentioned mechanism.
The present invention will enumerate two kinds of methods and illustrate in UPE1, the basic binding relationship of user's message information, outer Ethernet header and protection group outbound port (or going out VLAN).
Method one: set up following two mapping tables among the UPE1.
Table 1 UPE1 user's message mapping table
User's MAC address User vlan The MAC of operator destination address Operator mac source address
MAC-AA? CVLAN1? SP-MAC2? SP-MAC1?
Table 1 is based on user's MAC Address and VLAN classification classifies, the corresponding different protection group of sorted users according to this, and obtain outer Ethernet header information.
Table 2 UPE1 protection group mapping table
The MAC of operator destination address Operator mac source address Main port Standby port The main SP-VLAN that uses Standby SP-VLAN
SP-MAC2? SP-MAC1? P1? P2? Optional Optional
Table 2 is according to different protection groups, obtains corresponding main port and standby port, in many exemplary application, obtains main information with SP-VLAN and standby SP-VLAN.
Mapping relations are based on the details of user's protection group relation different with other in the method one of the present invention, set up user and active and standby with the corresponding relation between the port, make the user carry out the switching of main port and standby port according to this corresponding relation
Method two: set up following three mapping tables among the UPE1.
Table 3 UPE1 user's message mapping table
User's MAC address User vlan The MAC of operator destination address
MAC-AA? CVLAN1? SP-MAC2?
Table 3 is according to user's message information, searches next and jumps outer Ethernet target MAC (Media Access Control) address.Table 4 UPE1 protection group mapping table
The MAC of operator destination address Main port Standby port The main SP-VLAN that uses Standby SP-VLAN
SP-MAC2? P1? P2? Optional Optional
Table 4:, search main with outbound port and standby outbound port information according to outer Ethernet target MAC (Media Access Control) address.In many exemplary application, obtain main information with SP-VLAN and standby SP-VLAN.
Table 5 UPE1 local side oral thermometer
Port Port local mac address (source address)
P1? SP-MAC1?
P2? SP-MAC1?
Table 5:, search outer ethernet source MAC Address according to outbound port information.
The mapping relations of method two of the present invention are based on the process that the user carries out searching when active and standby port switches the destination, and the user of foundation and active and standby with the corresponding relation between the port makes the user carry out the switching of main port and standby port according to this corresponding relation.
Two kinds of mapping relations enumerating among the present invention have been described the fundamental relation between user's message information, outer Ethernet header, the protection group outbound port, also can to the relation between them, adopt other method to set according to user's needs.
Just can carry out the encapsulation of message and transmit processing based on the above-mentioned basic binding relationship that user's message information, outer Ethernet header and protection group outbound port (or going out VLAN) are set.
Simultaneously, after breaking down in the network, also can carry out hand-off process between the corresponding main/slave link, to guarantee the reliability of communication according to above-mentioned information.
Step 12: after active link broke down, UPE sent to standby port and carries the source address broadcasting packet, and NPE receives broadcasting packet and relearns mapping relations according to this information, recovers proper communication.
Can detect fault message by specific fault detection mechanism for the link failure that takes place, wherein said fault detection mechanism includes but not limited to the described method of IEEE802.1ag Ethernet OAM, can also add new method according to user's needs.
Concrete thes contents are as follows: the port P2 of UPE1 becomes forwarding state by blocked state, and then the port P1 state of UPE1 is set to blocked state.UPE1 sends to the P2 port and carries the broadcasting packet of local SP-MAC1 address, after NPE2 receives the broadcasting literary composition, all specific in local VPN relevant NPE equipment send broadcasting packet, this broadcasting packet carries MAC Address SP-MAC1, make all NPE relearn the SP-MAC1 address, the transfer path of broadcasting packet is UPE-〉1NPE2-〉NPE1, NPE3 and NPE4.In the VPLS network, this broadcasting packet no longer continues to transmit to next NPE, promptly behind the broadcasting packet of receiving from a NPE, can not be transmitted to other NPE again, only transmits in specific VPLS scope.Address among the NPE3 in the MAC address entries changes the outbound port PW6 of SP-MAC2 into from the outbound port PW5 of original SP-MAC2, guarantees Ethernet service message that UPE2 sends after changing the path, and this information can be forwarded to the PW6 port, as shown in Figure 3.
Step 13: after active and standby handover success, start the spare communication link, UPE sends data message according to the information in the protection group mapping table.
As shown in Figure 4, the path that E-Packets from UPE2 to UPE1 is UPE2-〉NPE3-〉NPE2-〉UPE1.Transmitting in UPE1 finds protection group mapping table; make the outbound port of the user's message that belongs to the protection group change port P2 into; source MAC and target MAC (Media Access Control) address remain unchanged, and at this moment, the service message from UPE1 to UPE2 is according to path UPE1-〉NPE2-〉NPE3-〉UPE2 transmits.
In the path from UPE2 to UPE1, the outbound port of list item SP-MAC2 is PW2 in the MAC of the NPE2 table, and the information of this list item is to be obtained by the MAC broadcasting packet study that NPE3 sends.If SP-MAC2 is during because of aging the deletion, first information of being sent by NPE3 is destination address, and this destination address is SP-MAC1, and source address to be NPE3 learn to obtain from the message of SP-MAC2.
Therefore, in the handoff process of main port that this step provides and standby port, SP-SA-MAC and the SP-DA-MAC of protection group G1 remain unchanged, and have avoided UPE2 to make amendment MAC Address and switching time of causing prolongs.
Step 14: after main port P1 finds fault recovery by fault detection mechanism, UPE1 switches according to the inverse process of said process, promptly switch back main port P1 according to active and standby switching processing mode again, make UPE1 adopt former active link carry out with UPE2 between communicate by letter;
Fault recovery switching and failover have an important difference to be that it is to control that fault recovery is switched, and failover to be extraneous the triggering cause, cannot control.
In fault recovery, at first, active link and main port revert to forwarding state from blocked state, former reserve link and former standby port are converted to blocked state once more.Secondly, send the broadcasting packet that has source address, refresh the information in the MAC table among the NPE3, make that the protection group G1 among the UPE1 successfully switches to protection group outbound port, during with the assurance fault recovery, the loss rate of packet approaches zero packet loss.
Behind main port P1 and standby port handover success; UPE1 switches continuously to the protection group an inhibition time; promptly after main port P1 fault recovery; not to switch immediately; but after forbidding switching a period of time; therefore link just can carry out continuous handover operation, can avoid recovering moment of connecting at communication link, and communication is unstable and port in the link that causes switches repeatedly.Simultaneously, the control aspect reason that also can not cause because of carrying out agreement to calculate makes Link State vibrate.
The present invention also provides a kind of and has realized the system that dual-home network switches based on VPLS, as shown in Figure 5, specifically comprises following each functional unit:
(1) fault detect processing unit
Be arranged in the network side provider edge equipment, be used for when link detecting when the fault, active and standby in the protection group of the dual-homing networking of control VPLS network switches with port, and triggers the broadcasting packet transmitting element;
Described fault detect processing unit specifically comprises:
Fault detection unit is used for detecting the fault of link, and after detecting fault, triggers main port processing unit, standby port processing unit and broadcasting packet transmitting element;
The main port processing unit is used for main port is converted to blocked state, promptly no longer carries out the transmission of message and handles;
The standby port processing unit is used for standby port is converted to forwarding state, promptly is responsible for the transmission processing of message by standby port.
(2) broadcasting packet transmitting element
Be arranged in the network side provider edge equipment, be used under the triggering of fault detect processing unit, the broadcasting packet of the mapping relations that the learning equipment in the transmission notice VPLS network is new;
(3) message sends processing unit
Be arranged in the VPLS network equipment, for example, this unit can be arranged in the user side operating side edge device in the VPLS network, is used for learning corresponding mapping relations according to the described broadcasting packet of receiving, and carries out the transmission of service message by reserve link.
(4) link failure recovery processing unit
This unit is arranged in the user side provider edge equipment, be used for when link failure recovery, active link and main port are reverted to forwarding state from blocked state, promptly be responsible for the transmission processing of message by active link and main port, reserve link and standby port are converted to blocked state, promptly no longer send message by reserve link and standby port.
(5) time-delay trigger element
Be arranged in the user side provider edge equipment, be used for control when active and standby with after the port switching, behind the one section preset time of delaying time, trigger link fault recovery processing unit.
(6) MAC table information updating message sending unit
Be arranged in the user side provider edge equipment, be used under the triggering of link failure recovery processing unit, send the broadcasting packet that has source address;
(7) MAC table information updating processing unit
Be arranged in the VPLS network in the network side provider edge equipment, receive the broadcasting packet that MAC table information updating message sending unit is sent, and refresh the information in self the MAC table.
In sum; the present invention utilizes the information in the protection group; the switching of dual-home network can be carried out by protectorate in localized network; after fault recovery; recovering link is not to switch immediately; but after suppressing a period of time, just carry out link-recovery and switch, can avoid like this because of the unstable switching repeatedly that causes of link.Therefore, the present invention can carry out the localized network handover operation reliably, safely, makes the network topology data computation simple, fast, and the oscillatory occurences repeatedly can avoid network to switch the time.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (13)

1. an implementation method of switching based on the dual-home network of VPLS is characterized in that, comprising:
A, when link detecting when the fault, active and standby in the protection group of the dual-homing networking of virtual special local area network service VPLS network switches with port, sends the broadcasting packet of the new mapping relations of relevant device study in the notice VPLS network; Comprise: the user side provider edge equipment UPE as the source end sends broadcasting packet to connected network side provider edge equipment NPE, and continues to send this broadcasting packet by this NPE all specific relevant NPE in the VPLS network;
Equipment in B, the VPLS network is learnt corresponding mapping relations according to the broadcasting packet of receiving, and carries out the transmission of service message by reserve link;
Wherein, increase outer Ethernet heading based on MAC in MAC in the user's message that the provider edge equipment of user side sends, this heading comprises source MAC, target MAC (Media Access Control) address, virtual local area network tags; Described mapping relations comprise: the binding relationship of the outbound port of user's message information, outer Ethernet header and protection group.
2. the implementation method of switching based on the dual-home network of VPLS according to claim 1 is characterized in that described protection group comprises:
Active link, main port, reserve link and standby port, wherein link and port have forwarding state and blocked state two states, and under forwarding state, link and port E-Packet, and under blocked state, link and port do not E-Packet.
3. the implementation method that the dual-home network based on VPLS according to claim 1 switches is characterized in that, the method that described mapping relations are stored in the provider edge equipment of user side comprises:
Setting comprises the source of user's MAC address information, user's virtual LAN VLAN information, operating side, the user's message mapping table of target MAC (Media Access Control) address information, with the protection group mapping table that comprises source, operating side, target MAC (Media Access Control) address information and primary, spare port information, and by the described mapping relations of two table preservations;
Perhaps,
Setting comprises the user's message mapping table of user's MAC address information, user vlan information and operating side target MAC (Media Access Control) address information; with the protection group mapping table that comprises operating side target MAC (Media Access Control) address information and primary, spare port information; with the local side oral thermometer that comprises local port information, and by three described mapping relations of table preservation.
4. according to each described implementation method of switching based on the dual-home network of VPLS of claim 1 to 3, it is characterized in that described steps A specifically comprises:
After active link detects fault, standby port on the provider edge equipment of described user side as the source end is converted to forwarding state, main port is converted to blocked state, and carry out describedly sending broadcasting packet, and continue to send these broadcasting packets by this NPE all specific relevant NPE in the VPLS network to connected NPE.
5. the implementation method of switching based on the dual-home network of VPLS according to claim 4 is characterized in that described steps A comprises:
In the active and standby whole process of switching with link of protection group, the source MAC and the target MAC (Media Access Control) address of protection group remain unchanged.
6. the implementation method of switching based on the dual-home network of VPLS according to claim 4 is characterized in that described step B comprises:
After active was finished with link switchover, the user side provider edge equipment was handled by the transmission that reserve link carries out service message according to the new mapping relations of learning by broadcasting packet.
7. the implementation method of switching based on the dual-home network of VPLS according to claim 4 is characterized in that described method also comprises:
Behind link failure recovery, active link and main port revert to forwarding state from blocked state, and reserve link and standby port are converted to blocked state;
The user side provider edge equipment sends the broadcasting packet that has source address, refreshes the information in the table of the MAC in the network side provider edge equipment in the VPLS network.
8. the implementation method of switching based on the dual-home network of VPLS according to claim 7 is characterized in that described method also comprises:
When active and standby switch with port after, the link in the user side provider edge equipment recovers the transmission of the service message of active link in the switching of forbidding the laggard line link of a preset time section.
9. a system of switching based on VPLS realization dual-home network is characterized in that, comprising:
The fault detect processing unit, be used for when link detecting when the fault, active and standby in the protection group of the dual-homing networking of control VPLS network switches with port, and triggers the broadcasting packet transmitting element;
The broadcasting packet transmitting element is arranged in the network side provider edge equipment, is used under the triggering of fault detect processing unit the broadcasting packet of the mapping relations that the learning equipment in the transmission notice VPLS network is new;
Message sends processing unit, is arranged in the user side provider edge equipment, is used for learning corresponding mapping relations according to the described broadcasting packet of receiving, and carries out the transmission of service message by reserve link; And increase outer Ethernet heading based on MAC in MAC in the user's message that sends, this heading comprises source MAC, target MAC (Media Access Control) address, virtual local area network tags;
Wherein, described mapping relations comprise: the binding relationship of the outbound port of user's message information, outer Ethernet header and protection group.
10. the system that realizes the dual-home network switching based on VPLS according to claim 9 is characterized in that described fault detect processing unit comprises:
Fault detection unit is used for detecting the fault of link, and after detecting fault, triggers main port processing unit, standby port processing unit and broadcasting packet transmitting element;
The main port processing unit is used for main port is converted to blocked state;
The standby port processing unit is used for standby port is converted to forwarding state.
11., it is characterized in that described system also comprises according to claim 9 or the 10 described systems that realize the dual-home network switching based on VPLS:
The link failure recovery processing unit is arranged in the user side provider edge equipment, is used for when link failure recovery active link and main port being reverted to forwarding state from blocked state, and reserve link and standby port are converted to blocked state.
12. the system that realizes the dual-home network switching based on VPLS according to claim 11 is characterized in that described system also comprises:
The time-delay trigger element is arranged in the user side provider edge equipment, be used for control when active and standby with after the port switching, behind the one section preset time of delaying time, trigger link fault recovery processing unit.
13. the system that realizes the dual-home network switching based on VPLS according to claim 11 is characterized in that described system also comprises:
MAC table information updating message sending unit is arranged in the user side provider edge equipment, is used to send the broadcasting packet that has source address;
MAC table information updating processing unit is arranged in the network side provider edge equipment, is used to receive the broadcasting packet that MAC table information updating message sending unit is sent, and refreshes information in self the MAC table.
CN 200610073158 2006-04-10 2006-04-10 Implementing method and system of double-attach network based on VPLS Expired - Fee Related CN101047601B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200610073158 CN101047601B (en) 2006-04-10 2006-04-10 Implementing method and system of double-attach network based on VPLS
PCT/CN2007/001116 WO2007115493A1 (en) 2006-04-10 2007-04-06 A method, device and system for achieving the switch in the dual-homed network based on the vpls

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610073158 CN101047601B (en) 2006-04-10 2006-04-10 Implementing method and system of double-attach network based on VPLS

Publications (2)

Publication Number Publication Date
CN101047601A CN101047601A (en) 2007-10-03
CN101047601B true CN101047601B (en) 2010-12-01

Family

ID=38580712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610073158 Expired - Fee Related CN101047601B (en) 2006-04-10 2006-04-10 Implementing method and system of double-attach network based on VPLS

Country Status (2)

Country Link
CN (1) CN101047601B (en)
WO (1) WO2007115493A1 (en)

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159690B (en) * 2007-11-19 2010-10-27 杭州华三通信技术有限公司 Multi-protocol label switch forwarding method, device and label switching path management module
CN101459926B (en) * 2007-12-14 2011-02-16 华为技术有限公司 Method, network element equipment and network system for guaranteeing service data transmission
CN101615989A (en) * 2008-06-26 2009-12-30 中兴通讯股份有限公司 Ethernet dual-grouping network and mac address table method for refreshing thereof
CN101626335B (en) * 2008-07-09 2013-02-27 中兴通讯股份有限公司 Data protection method of dual-connection network
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
CN101465858B (en) * 2008-12-31 2013-03-20 中兴通讯股份有限公司 Method for implementing private network penetration of monitoring business, network appliance and server
CN102549979A (en) * 2009-07-10 2012-07-04 诺基亚西门子通信公司 Method and device for conveying traffic
CN101958812B (en) * 2009-07-15 2015-10-21 中兴通讯股份有限公司 Link failure detection method and system
CN101640941B (en) 2009-08-06 2012-03-21 华为技术有限公司 Connection resource release processing method and device
CN102548026B (en) * 2009-08-06 2014-12-31 华为技术有限公司 Method and device for processing connection resource release
WO2011044731A1 (en) * 2009-10-15 2011-04-21 中兴通讯股份有限公司 Method and apparatus for data equipment recovering service fast
CN102104489A (en) * 2009-12-16 2011-06-22 中兴通讯股份有限公司 Method, device and system for protecting communication link
US8990411B2 (en) * 2010-04-22 2015-03-24 Microsoft Technology Licensing, Llc Dynamic connection management on mobile peer devices
CN102316014B (en) * 2010-07-01 2015-01-21 杭州华三通信技术有限公司 Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN102325037B (en) * 2011-05-25 2016-01-20 中兴通讯股份有限公司 A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
CN102223660B (en) * 2011-08-02 2013-10-09 华为技术有限公司 Method and device for controlling switching of active/standby pseudo wires
CN102638469B (en) * 2012-04-12 2015-07-22 北京星网锐捷网络技术有限公司 Route switching method, device, system and network equipment
CN103580961B (en) * 2012-08-06 2016-12-21 杭州华三通信技术有限公司 VLAN allocation method and equipment
CN103888353B (en) * 2012-12-19 2017-07-14 北京华为数字技术有限公司 Protection group pretection switch switchback processing method and customer edge devices
CN104125083A (en) * 2013-04-24 2014-10-29 中兴通讯股份有限公司 Active/standby switchover method, device, equipment and system for network equipment
CN113542093A (en) * 2013-05-24 2021-10-22 华为技术有限公司 Method and apparatus for Ethernet virtual private network
CN104243196B (en) 2013-06-21 2019-03-12 中兴通讯股份有限公司 Virtual network mapping guard method and system under a kind of SDN framework
CN106230728B (en) * 2013-12-12 2019-05-21 安科讯(福建)科技有限公司 The method and device of fast route convergence in the case that route shakes
CN103634215B (en) * 2013-12-17 2016-09-07 中国联合网络通信集团有限公司 The method of a kind of MAC Address synchronization, device
CN104734874B (en) * 2013-12-20 2018-04-27 华为技术有限公司 A kind of method and device of definite network failure
CN104869055B (en) * 2014-02-20 2019-11-05 南京中兴软件有限责任公司 A kind of data forwarding method and device
CN103888356B (en) * 2014-04-12 2018-03-02 湖南省通信建设有限公司 VPLS realization method, system and provider edge
CN104468233B (en) * 2014-12-23 2018-01-12 新华三技术有限公司 Ethernet virtualization interconnects dual-homed site disasters switching method and device
CN104601381B (en) * 2015-01-30 2018-07-20 新华三技术有限公司 The method and apparatus for preventing flow interrupt
CN106209398A (en) * 2015-04-30 2016-12-07 中兴通讯股份有限公司 A kind of method and device obtaining service error information based on Management Information Model
CN106937254A (en) * 2015-12-31 2017-07-07 希姆通信息技术(上海)有限公司 Zigbee positions networking equipment timer-controlled self-inspection system and method
CN105979490B (en) * 2016-07-20 2019-05-07 浙江昱能科技有限公司 A kind of communications setting amending method of wireless communication network
CN107579899B (en) * 2017-09-29 2020-04-28 烽火通信科技股份有限公司 Access method and device for realizing VLAN (virtual local area network) isolation in VPLS (virtual private LAN service)
CN108270624A (en) * 2018-01-30 2018-07-10 中波动光工业通信(江苏)有限公司 A kind of method that redundancy network transmission path is switched fast in coupling network
CN110278094B (en) * 2018-03-13 2022-09-27 中兴通讯股份有限公司 Link recovery method, device, system, storage medium and electronic device
CN109815065B (en) * 2019-01-31 2022-09-30 杭州迪普科技股份有限公司 Main-standby switching method and device for dual computers and electronic equipment
CN110177010B (en) * 2019-05-07 2022-05-24 京信网络系统股份有限公司 Link switching method and device
CN110120891A (en) * 2019-05-13 2019-08-13 北京东土军悦科技有限公司 Method, apparatus, the network equipment and the storage medium of link switchback are prevented in networking
CN112039766B (en) * 2020-09-04 2022-08-02 苏州盛科通信股份有限公司 Protection switching implementation method and device based on Ethernet
CN115277545A (en) * 2022-06-21 2022-11-01 浪潮通信技术有限公司 Main/standby network switching method and device
CN115065614B (en) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Method for identifying multi-activity service connectivity of VPWS
CN115051946A (en) * 2022-07-05 2022-09-13 杭州云合智网技术有限公司 Method for eliminating message forwarding ring in dual-homing scene
CN114978296B (en) * 2022-08-01 2022-11-15 成都星联芯通科技有限公司 Equipment switching method, device, earth station and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561041A (en) * 2004-02-26 2005-01-05 中兴通讯股份有限公司 Device and method of Ethernet interface thermal backup
CN1610314A (en) * 2003-10-22 2005-04-27 华为技术有限公司 Method for realizing PVC group backup in PVC group communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7733856B2 (en) * 2004-07-15 2010-06-08 Alcatel-Lucent Usa Inc. Obtaining path information related to a virtual private LAN services (VPLS) based network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610314A (en) * 2003-10-22 2005-04-27 华为技术有限公司 Method for realizing PVC group backup in PVC group communication network
CN1561041A (en) * 2004-02-26 2005-01-05 中兴通讯股份有限公司 Device and method of Ethernet interface thermal backup

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CN 1561041 A,全文.
LASSERRE M..INTERNET DRAFT DOCUMENT :Virtual Private LAN Services over MPLS DRAFT-IETF-12VPN-VPLS-LDP-08.TXT.L2VPN WORKING GROUP,2005,4.2,7.2,10.2节.
LASSERRE M..INTERNET DRAFT DOCUMENT :Virtual Private LAN Services over MPLS DRAFT-IETF-12VPN-VPLS-LDP-08.TXT.L2VPN WORKING GROUP,2005,4.2,7.2,10.2节. *

Also Published As

Publication number Publication date
CN101047601A (en) 2007-10-03
WO2007115493A1 (en) 2007-10-18

Similar Documents

Publication Publication Date Title
CN101047601B (en) Implementing method and system of double-attach network based on VPLS
US7269135B2 (en) Methods and systems for providing redundant connectivity across a network using a tunneling protocol
CN102664788B (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN100558111C (en) Metro Ethernet provides reliability processing method and the system under the multi-service networking
EP2027676B1 (en) Technique for providing interconnection between communication networks
CN100512148C (en) Convergence method and device based on VPLS dual home full connection network
JP4688765B2 (en) Network redundancy method and intermediate switch device
US8102760B2 (en) Method for reconvergence after failure in a dual-homing network environment
EP2643940B1 (en) Method of shrinking a data loss window in a packet network device
US10277418B2 (en) Method and device for clearing media access control forwarding entry
US20040133619A1 (en) Hierarchical virtual private lan service protection scheme
US20130272114A1 (en) Pseudo wire switching method and device
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN104378296A (en) Message forwarding method and device
CN101217457A (en) A method to realize fast reroute and router
JPWO2005048540A1 (en) Communication system and communication method
CN101330424A (en) Method, system and apparatus for processing service fault of virtual special network
CN102325037A (en) Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment
WO2011060667A1 (en) Method and device for link protection in virtual private local area network
CN102316014B (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN105591936A (en) Method and device for updating forwarding table item
CN103297338B (en) A kind of VPN route advertising method and equipment
CN102857399B (en) MAC address deleting method, device and system of VPLS dual homing network
US20120087233A1 (en) Address Refresh Method and System
US20120269056A1 (en) Method, device, and system for protecting semi-ring 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101201

Termination date: 20190410

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