Summary of the invention
The present inventor finds to have problems in above-mentioned prior art, and has therefore proposed a kind of new technical scheme at least one problem in described problem.
According to an aspect of the present invention, propose a kind of VPLS implementation method, comprising:
The MAC Address associated with specific VPLS example that PE acquires this locality noticed to Centralized Controller;
The Label Forwarding Information Base (VPLS LFIB) of the VPLS example that PE reception Centralized Controller issues, described VPLS LFIB is made up of MAC Address list, outbound port, vpn label and outer layer label, vpn label is used for identifying VPLS example, and outer layer label is for being identified to the MPLS label forwarding of far-end PE;
Described PE receive from the Ethernet unicast frame or the multicast frame that adhere to the customer edge devices (CE) that circuit (AC) is connected, if local mac address is transmitted the target MAC (Media Access Control) address and the corresponding list item that forwards port that there are this ethernet frame, other all user-side port that belong to same VPLS example to this locality forward; If the VPLS LFIB that Centralized Controller issues exists the target MAC (Media Access Control) address of this ethernet frame and the corresponding list item of forwarding port, described ethernet frame is increased the network-side port forwarding of the backward correspondence of inside and outside two-layer Tag Packaging;
Described PE receives the ethernet broadcasting frame that belongs to certain VPLS example from CE, to all user-side port broadcast that belong to same VPLS example except network-side port; After this ethernet broadcasting frame being increased to internal layer VPLS Tag Packaging, be directly forwarded to Centralized Controller, the PE that described Centralized Controller is specified to its management domain according to predefined strategy forwards the ethernet broadcasting frame through internal layer VPLS Tag Packaging simultaneously;
Described PE receives the ethernet broadcasting frame through internal layer VPLS Tag Packaging that Centralized Controller forwards, after the decapsulation of described VPLS label frame, according to the VPLS label information carrying, broadcast this ethernet broadcasting frame to the local all user-side port that belong to same VPLS example of PE;
Described PE receives Ethernet unicast frame or the multicast frame with internal layer VPLS Tag Packaging of network-side port, after the decapsulation of described label frame, transmit according to the VPLS label information and the local mac address that carry, the respective user side ports that belongs to same VPLS example to PE this locality forwards;
Wherein, the user-side port of described PE refers to the direct-connected customer edge devices CE ethernet port by AC, and the network-side port of described PE refers to the port of direct-connected provider network equipment P.
Further, when described PE detects the connective interruption of certain AC of local direct-connected CE, cancel to Centralized Controller the MAC Address of acquiring by this AC immediately.
Further, the Ethernet unicast frame that described PE receives or the target MAC (Media Access Control) address of multicast frame do not find corresponding occurrence in transmitting, and abandon this ethernet frame.
Further, described PE receives the multiple identical ethernet broadcasting frame of user-side port within the time interval of setting, and only sends an ethernet broadcasting frame to Centralized Controller;
For preventing the impact of a large amount of ethernet broadcasting frames to Centralized Controller, described PE is sending when ethernet broadcasting frame to Centralized Controller, transmission speed that can Control ethernet broadcast frame.
According to a further aspect in the invention, also propose a kind of provider edge PE for the treatment of ethernet frame, comprising:
Configuration and state information report unit, the reporting of configuration information while restarting rear operating state for equipment, and the real-time report of described state information or state variation;
The connective monitoring means of AC, for finding the connectivity of user-side port link by certain connective fast detection mechanism;
The local unit of MAC Address, the MAC address learning for described PE to the ethernet frame from user-side port, generates the local target MAC (Media Access Control) address and the mapping table that forwards port that belongs to specific VPLS example;
MAC Address notification unit, for local mac address unit generate the target MAC (Media Access Control) address Real-time Notification that belongs to specific VPLS example to Centralized Controller;
VPLS LFIB receiving element, transmits for receiving the VPLS example label that Centralized Controller issues, and the mac address forwarding table of acquiring with this locality merges and be arranged on together in corresponding buffer memory, searches and mates for ethernet frame target MAC (Media Access Control) address;
Ethernet frame Tag Packaging unit, for this ethernet frame being carried out to inside and outside two-layer Tag Packaging according to the mac address forwarding table item having mated, then forwards to corresponding network-side port;
Ethernet label frame decapsulation unit, for according to the mac address forwarding table item having mated, this Ethernet label frame being carried out to decapsulation, is reduced into original ethernet frame, then forwards to corresponding user-side port.
Further, the local unit of described MAC Address, according to the user-side port Ethernet unicast frame receiving or the source MAC of broadcast frame, generates local target MAC (Media Access Control) address and the mapping table that forwards port; And according to the IGMP multicast request frame of the user-side port receiving, support the PE of multicast by the binding relationship of IGMP snooping study multicast mac address and port, generate local multicast target MAC (Media Access Control) address and the mapping table that forwards port.
Further, described MAC Address notification unit only notices to Centralized Controller the MAC Address changing.
Further, described VPLS LFIB receiving element is transmitted the up-to-date Centralized Controller target MAC (Media Access Control) address issuing and the mapping table that forwards port to compare with the original unicast mac address of installing, if find the unicast mac address repeating, transmit the original unicast mac address of replacement with up-to-date unicast mac address and transmit.
According to a further aspect in the invention, also propose a kind of VPLS and realize system, comprise according to above-mentioned arbitrary described described PE, provider equipment P, and Centralized Controller; Described P forwards according to normal MPLS label the Ethernet label frame of receiving; Described Centralized Controller comprises:
Configuration and state information collection unit, for configuration and the state information of each PE under collection management territory and P equipment;
Topological automatic discovering unit, for according to the information of described configuration and the input of state information collection unit, generates and safeguards a dynamic network topology view automatically;
PE finds unit automatically, for the VPLS example that reports according to each PE under management domain and the binding relationship of AC, automatically finds to belong to the PE of same VPLS example;
MAC Address receiving element, notices the local MAC Address associated with specific VPLS example of acquiring for each PE under receiving management territory;
Route computing unit, for the network topology view of inputting according to described topological automatic discovering unit, based on shortest path, link load or specify via strategies such as nodes, for each PE under management domain and P equipment calculating ethernet frame forwarding route, be respectively described P and generate MPLS Label Forwarding Information Base LFIB, transmit VPLS LFIB for described PE generates VPLS example label;
Label Forwarding Information Base issues unit, for the MPLS Label Forwarding Information Base LFIB of described route computing unit output is issued to each P equipment; The VPLS example label of described route computing unit output is transmitted to VPLS LFIB and be issued to each PE equipment.
Further, when the MAC Address receiving element of described Centralized Controller is received many notices of same MAC Address, notice and replace old MAC Address notice with up-to-date MAC Address; The MAC Address receiving element of described Centralized Controller receives when MAC Address is cancelled message, and the MAC Address that should upgrade in time Label Forwarding Information Base also issues to affected PE.
VPLS implementation method provided by the invention and system, issue MPLS Label Forwarding Information Base by Centralized Controller to P in management domain, issuing VPLS example label to PE in management domain transmits, PE does not need to learn by data retransmission plane the client mac address of same VPLS example, the complexity of simultaneously having avoided existing VPLS technology to realize, simplified network O&M, is convenient to the rapid deployment of business.
By the detailed description to exemplary embodiment of the present invention referring to accompanying drawing, it is clear that further feature of the present invention and advantage thereof will become.
Embodiment
Describe various exemplary embodiment of the present invention in detail now with reference to accompanying drawing.It should be noted that: unless illustrate in addition, the parts of setting forth in these embodiments and positioned opposite, numeral expression formula and the numerical value of step do not limit the scope of the invention.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship meanwhile.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in suitable situation, described technology, method and apparatus should be regarded as authorizing a part for specification.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: in similar label and letter accompanying drawing below, represent similar terms, therefore, once be defined in an a certain Xiang Yi accompanying drawing, in accompanying drawing subsequently, do not need it to be further discussed.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Fig. 1 is the structural representation of a kind of VPLS of realization according to an aspect of the present invention.This system comprises provider edge PE and the provider equipment P under Centralized Controller and management domain.Centralized Controller is realized communication by southbound interface with P and the PE of bottom.In order to realize the automatic discovery of Centralized Controller to bottom-layer network topology, P and PE need be the connectivity of the configuration of node and port and work state information, port link cost, port link, port link bandwidth utilization rate real-time report to Centralized Controllers, all bottom P that Centralized Controller obtains according to collection and configuration and the state information of PE, can find that the network topology of bottom and actual physical connection fit like a glove automatically.
Fig. 2 is a kind of PE structural representation for the treatment of ethernet frame according to an aspect of the present invention.Described PE structure comprises: configuration and state information report unit 21, the connective monitoring means 22 of AC, the local unit 23 of MAC Address, MAC Address notification unit 24, VPLS LFIB receiving element 25, ethernet frame Tag Packaging unit 26, Ethernet label frame decapsulation unit 27.Wherein:
Configuration and state information report unit 21, restart reporting of configuration information while getting back to operating state for equipment, and the real-time report of described state information or state variation.In order to realize the automatic discovery of Centralized Controller to bottom-layer network topology, PE need be the connectivity of the configuration of node and port and work state information, port link cost, port link, port link bandwidth utilization rate real-time report to Centralized Controller.In order to realize Centralized Controller to belonging to the automatic discovery of same VPLS example PE, PE also needs the binding relationship of real-time report VPLS example and AC.Shown in Figure 1, PE1 connects the customer rs site 1 of VPLS 1 by user-side port 1, connect the customer rs site 2 of VPLS 2 by user-side port 2, therefore PE1 needs configure user side ports 1 and the binding relationship of VPLS 1 and the binding relationship of user-side port 2 and VPLS 2.Equally, PE2 and PE3 also need configure user side ports 1 and the binding relationship of VPLS 1 and the binding relationship of user-side port 2 and VPLS 2.When PE1, PE2, PE3 have reported to Centralized Controller after the binding relationship of AC and VPLS example separately, Centralized Controller can find that PE1, PE2, PE3 have added VPLS 1 and VPLS 2 automatically.
The connective monitoring means 22 of AC, for find the connectivity of user-side port link by certain connective fast detection mechanism, as BFD(Bidirectional Forwarding Detection, two-way converting detects) or Ethernet OAM etc.Certainly, just for for example, should not be construed as limitation of the present invention here.
The local unit 23 of MAC Address, the MAC address learning for described PE to the ethernet frame from user-side port, generates the local target MAC (Media Access Control) address and the mapping table that forwards port that belongs to same VPLS example.When described PE receives Ethernet unicast frame or the broadcast frame of local user's side ports, resolve the source MAC of described ethernet frame, generate local target MAC (Media Access Control) address and the mapping table that forwards port; When described PE receives the IGMP multicast request frame of local user's side ports, if PE supports IGMP snooping function, by resolving the object multicast mac address in described IGMP multicast request frame, the binding relationship of study multicast mac address and port, generates local target MAC (Media Access Control) address and the mapping table that forwards port equally.Therefore the local mac address that, described PE generates is transmitted the mapping table that simultaneously comprises object clean culture and multicast mac address and forwarding port.Shown in Figure 1, PE1 belongs to the MAC Address of the customer rs site 1 of VPLS 1 by user-side port 1 study, belongs to the MAC Address of the customer rs site 2 of VPLS 2 by user-side port 2 study; PE2 belongs to the MAC Address of the customer rs site 3 of VPLS 1 by user-side port 1 study, belong to the MAC Address of the customer rs site 4 of VPLS 2 by user-side port 2 study; PE3 belongs to the MAC Address of the customer rs site 5 of VPLS 1 by user-side port 1 study, belong to the MAC Address of the customer rs site 6 of VPLS 2 by user-side port 2 study.
MAC Address notification unit 24, for local mac address unit generate the target MAC (Media Access Control) address Real-time Notification that belongs to specific VPLS example to Centralized Controller.Shown in Figure 1, PE1, PE2, PE3 acquire this locality to belong to the clean culture of VPLS1 and VPLS2 and multicast mac address Real-time Notification to Centralized Controller respectively.The MAC Address notice message that MAC Address notification unit sends comprises information such as sending the affiliated VPLS example of the PE mark of noticing, the MAC Address list being advertised and these MAC Address being advertised.Centralized Controller can issue VPLS LFIB to each PE under management domain accordingly.MAC Address notice message is divided into two classes: MAC Address can reach message and MAC Address is cancelled message.MAC Address can reach the Real-time Notification of the MAC Address that message acquires this locality for PE, and MAC Address is cancelled message and previously noticed MAC Address for cancelling.In the time that PE detects connective interruption of certain AC of local direct-connected CE, should cancel to Centralized Controller the MAC Address of acquiring by this AC immediately, the MAC Address of Centralized Controller based on cancelling upgraded the Label Forwarding Information Base of VPLS example under this MAC Address.
VPLS LFIB receiving element 25, transmits for receiving the VPLS example label that Centralized Controller issues, and the mac address forwarding table of acquiring with this locality merges and be arranged on together in corresponding buffer memory, searches and mates for ethernet frame target MAC (Media Access Control) address.Shown in Figure 1, hypothesis set middle controller handle belongs to the customer rs site 3 of VPLS 1 and the Label Forwarding Information Base corresponding to MAC Address of customer rs site 5 is handed down to PE 1, the MAC Address list that the VPLS LFIB that now PE1 receives comprises website 3, internal layer VPLS example label 1, outer MPLS label 100, the MAC Address list of outbound port 3 list items and website 5, internal layer VPLS example label 1, outer MPLS label 200, outbound port 3 list items, mac address forwarding table [the MAC Address list of website 1 of the customer rs site that belongs to VPLS 11 of acquiring together with PE1 this locality, outbound port 1] list item, the common mac address forwarding table that forms VPLS 1.
Ethernet frame Tag Packaging unit 26, for this ethernet frame being carried out to inside and outside two-layer Tag Packaging according to the mac address forwarding table item having mated, then forwards to corresponding network-side port.Shown in Figure 1, when PE1 receive belong to VPLS 1 go to customer rs site 3 ethernet frame from customer rs site 1 time, PE1 resolves the target MAC (Media Access Control) address of client's ethernet frame, and search mac address forwarding table, find to exist the mac address forwarding table item of coupling, PE1 carries out to this client's ethernet frame the Tag Packaging that vpn label is 1, outer layer label is 100, then forwards to outbound port 3.
Ethernet label frame decapsulation unit 27, for according to the mac address forwarding table item having mated, this Ethernet label frame being carried out to decapsulation, is reduced into original ethernet frame, then forwards to corresponding user-side port.Shown in Figure 1, when PE1 receives the ethernet frame from the tape label encapsulation of network-side port 3, first PE1 carries out decapsulation to this label frame, be reduced into original ethernet frame, the target MAC (Media Access Control) address of resolving client's ethernet frame belongs to customer rs site 1, then search mac address forwarding table, discovery local mac address is transmitted the mac address forwarding table item of middle existence coupling, so as-reduced client's ethernet frame is forwarded to corresponding user-side port 1.
Fig. 3 is a kind of Centralized Controller structural representation according to a further aspect of the invention.Described Centralized Controller structure comprises: configuration and state information collection unit 31, topological automatic discovering unit 32, PE find that unit 33, MAC Address receiving element 34, route computing unit 35, Label Forwarding Information Base issue unit 36 automatically.
Configuration and state information collection unit 31, for configuration and the state information of each P and PE under collection management territory; Topological automatic discovering unit 32, for according to the information of described configuration and the input of state information collection unit, generates and safeguards a dynamic network topology view automatically; PE finds unit 33 automatically, for the VPLS example that reports according to each PE under management domain and the binding relationship of AC, automatically finds to belong to the PE of same VPLS example; MAC Address receiving element 34, for the associated target MAC (Media Access Control) address of specific VPLS example that under receiving management territory, each PE notices; Route computing unit 35, for the network topology view of inputting according to described topological automatic discovering unit, based on shortest path, link load or specify via strategies such as nodes, for each P under management domain and PE calculating ethernet frame forwarding route, finally generate the label forwarding information table LFIB that the whole network P and PE are corresponding; Label Forwarding Information Base issues unit 36, for the Label Forwarding Information Base of described route computing unit output is issued to each label forwarding equipment under management domain.
In the time that the MAC Address receiving element of described Centralized Controller is received many notices of same MAC Address, notice and replace old MAC Address notice with up-to-date MAC Address.Shown in Figure 4, in the scene of cloud data center disaster-tolerant backup, in the time that the virtual machine VM1 of data center 1 moves to the user-side port 1 of PE2 from the user-side port 1 of PE1, now, PE2 acquires the MAC Address of VM1 in this locality associated with VPLS 1, and notice to Centralized Controller, described Centralized Controller should be noticed and replace the old notice of the MAC from PE1 with the MAC from PE2.Could issue correct VPLS Label Forwarding Information Base to bottom PE like this.Now, the VPLS LFIB that Centralized Controller issues to PE1 and PE3 is by the MAC Address list item that comprises VM1.Described PE1 and PE3 transmit the MAC Address of the up-to-date Centralized Controller VM1 issuing and the mapping table that forwards port to compare with the original unicast mac address of installing, PE1 finds that mac address forwarding table has existed the incidence relation of MAC Address and the user-side port 1 of VM1, and the MAC Address that PE1 should revise VM1 in mac address forwarding table is associated with port 2.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, VPLS implementation method of the present invention and PE are described in further details the handling process of client's ethernet frame.
Fig. 5 is described VPLS realization flow according to an aspect of the present invention.
In described VPLS system, bottom label switching equipment PE and P are restarted and are got back to after operating state, and carry out the MAC address learning of native client website, generate customer rs site MAC Address this locality associated with specific VPLS example and transmit.
Step 501, bottom PE and P equipment report configuration and state information to Centralized Controller respectively.
Step 502, the connectivity state information realization topological automatic discovering of configuration information, node and port link that described Centralized Controller reports according to bottom label forwarding equipment, generates and safeguards dynamic network topology view.
Step 503, meanwhile, the VPLS example that described Centralized Controller reports according to bottom PE and the binding relationship of AC, realize the automatic discovery that belongs to same VPLS example PE.
Step 504, the target MAC (Media Access Control) address Real-time Notification that belongs to specific VPLS example that bottom PE generates local mac address unit is to Centralized Controller.
Step 505, described Centralized Controller calculates tag changeable path warp according to network topology, issues MPLS label to bottom P equipment.
Step 506, described Centralized Controller, according to the automatic discovery result of same VPLS example PE, issues VPLS Label Forwarding Information Base to bottom PE equipment.
Fig. 6 is that described PE is according to an aspect of the present invention to receiving the handling process of client's ethernet frame from user-side port.
Step 601, described PE receives client's ethernet frame from user-side port.
Step 602, described PE judges and does respective handling the ethernet frame receiving:
If the ethernet frame A. receiving is broadcast frame, go to
Step 603, described PE belongs to this ethernet broadcasting frame all user-side port from same VPLS example to this locality forward;
Step 604, simultaneously, after also will this ethernet broadcasting frame increasing internal layer VPLS Tag Packaging, directly be forwarded to Centralized Controller, the PE(that described Centralized Controller is specified to its management domain according to predefined strategy belongs to all or part of PE of same VPLS example) forward the ethernet broadcasting frame through internal layer VPLS Tag Packaging;
If receive multiple identical ethernet broadcasting frames in setting-up time, only send a broadcast frame to Centralized Controller;
If the ethernet frame B. receiving is clean culture or multicast frame, go to
Step 605, described PE searches corresponding occurrence at mac address forwarding table, if there is occurrence, goes to step 606; Otherwise, go to step 607:
Step 606, if local mac address is transmitted the target MAC (Media Access Control) address and the corresponding list item that forwards port that there are this ethernet frame, other all user-side port that belong to same VPLS example to this locality forward; If the VPLS LFIB that Centralized Controller issues exists the target MAC (Media Access Control) address of this ethernet frame and the corresponding list item of forwarding port, described ethernet frame is increased the network-side port forwarding of the backward correspondence of inside and outside two-layer Tag Packaging;
Step 607, described PE abandons this Ethernet clean culture or multicast frame.
So far, described the present invention in detail.For fear of covering design of the present invention, details more known in the field are not described.Those skilled in the art, according to description above, can understand how to implement technical scheme disclosed herein completely.
May realize in many ways method of the present invention and device.For example, can realize method of the present invention and device by any combination of software, hardware, firmware or software, hardware, firmware.The said sequence that is used for the step of described method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program being recorded in recording medium by the invention process, these programs comprise the machine readable instructions for realizing the method according to this invention.Thereby the present invention also covers the recording medium of storing the program for carrying out the method according to this invention.
Although specific embodiments more of the present invention are had been described in detail by example, it should be appreciated by those skilled in the art, above example is only in order to describe, rather than in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.