CN102882761A - VPLS realization method - Google Patents
VPLS realization method Download PDFInfo
- Publication number
- CN102882761A CN102882761A CN2012104317331A CN201210431733A CN102882761A CN 102882761 A CN102882761 A CN 102882761A CN 2012104317331 A CN2012104317331 A CN 2012104317331A CN 201210431733 A CN201210431733 A CN 201210431733A CN 102882761 A CN102882761 A CN 102882761A
- Authority
- CN
- China
- Prior art keywords
- vpls
- mac address
- local
- address learning
- deck
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a VPLS (Virtual Private LAN Service) realization method. The method comprises the steps as follows: according to slots relative to different VPLS services, a network manager configures the corresponding VPLSi; in each single disk belonging to the same VPLSi example, a mapping list is found according to local VP index numbers after the service single disk accesses the VPLS service completes source MAC address learning, a network management overall VP key value corresponding to the local VP is obtained, and the VPLSi, the MAC and the overall VP are encapsulated in an MAC address learning message and broadcast; after the MAC address learning message is received by other service single disks, corresponding local VP index numbers are obtained via finding the mapping list, the message is rejected after the local VP executes the MAC address synchronous learning; and in regard to each single disk not belonging to the VPLSi, the MAC address learning message is directly rejected. According to the invention, an improved VPLS configuration way is provided, the overall configuration is improved to the configuration according to the slots in which the VPLS service is located, single disk resources is completely utilized, and the purpose of resource maximization is obtained.
Description
Technical field
The present invention relates to the VPLS technology, be specifically related to the VPLS implementation method.
Background technology
VPLS(virtual private lan service, VPLS) technology belongs to two layers of packet bearer technology, is a kind of L2VPN technology based on IP/MPLS and Ethernet in essence.Its core concept is to utilize the PE(provider edge of signaling protocol in the VPLS example, provider edge router) sets up and safeguards PW(pseudo wire between the node, pseudo line tag), to transmit, exchange at PW after the encapsulation of two-layer protocol frame, make in the wide scope a plurality of local area network (LAN)s be integrated into the network of throwing the net in the data link aspect, provide virtual Ethernet service to the user.
The VPLS technology combines the characteristics of the multiple technologies such as IP/MPLS, L2VPN Ethernet exchanging effectively, supports point-to-point, point-to-multipoint, multiple spot to the type of service of multiple spot, can support the carrier class Ethernet to serve under than the macroreticular scale.
At present, the configuration mode of VPLS is global configuration, and namely all professional single-decks all receive identical VPLS configuration on the single-ended equipment, and like this, the VPLS volume of business of single-ended equipment will be limited by the resource of single professional single-deck.As shown in Figure 1, the VP(virtual port virtual port that single professional single-deck is supported) quantity is 12K, and the VPLS example number supported of whole set equipment is 4K (supposing that each VPLS example comprises 3 VP) so.When the VP in the same VPLS example was distributed on the different professional single-decks, each single-deck can carry out the source MAC learning process separately, the nonsynchronous problem of mac address learning table between each single-deck can occur like this, thereby cause professional inundation.
Summary of the invention
Technical problem to be solved by this invention is to solve when the VP in the same VPLS example is distributed on the different professional single-decks, easily causes the problem of professional inundation because mac address table is asynchronous.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention provides a kind of VPLS implementation method, comprises VPLS configuration and two steps of MAC address learning:
Described VPLS configuration step is as follows:
Webmaster configures corresponding VPLS according to the professional related groove position of different VPLS
i
For each VPLS
i, set up respectively webmaster overall situation VP key assignments and described VPLS
iMapping table between the local VP index, in the described mapping table, the VP of same sequence number all has different local VP call number and corresponding one by one with same webmaster overall situation VP key assignments on the professional single-deck of different slots position;
Described MAC address learning step is as follows:
Belong to same VPLS
iIn each single-deck of example, after the professional single-deck of access VPLS business is finished source MAC study, search described mapping table according to the local VP call number of this business single-deck, obtain webmaster overall situation VP key assignments corresponding to local VP, and with VPLS
i, packet MAC and overall VP be encapsulated in the MAC address learning message, described MAC address learning message enters the Cross Trade broadcast tunnels and broadcasts; After other professional single-decks receive described MAC address learning message, search described mapping table according to the overall VP key assignments that carries in the described MAC address learning message, obtain corresponding local VP call number, then use VPLS
i, after the MAC of packet and local VP carry out synchronously study of MAC Address, abandon described MAC address learning message;
For not belonging to VPLS
iEach single-deck, directly abandon described MAC address learning message.
In said method, the ID of VPLS is different in the different VPLS examples.
The present invention improves the VPLS configuration mode, global configuration is improved to according to groove position, the professional place of VPLS be configured, and takes full advantage of the single-deck resource, reaches the maximized purpose of resource.After the service access single-deck was finished the MAC address learning process, study message encapsulation webmaster overall situation VP key assignments information entered the Cross Trade broadcast tunnels and broadcasts, and other all professional single-decks all receive this study message.The single-deck that belongs to this VPLS example is resolved the study message of receiving, proceeds the MAC address learning process; The professional single-deck that does not belong to this VPLS example then directly abandons this study message.
Description of drawings
Fig. 1 is existing VPLS global configuration schematic diagram;
Fig. 2 is the schematic diagram that VPLS is configured by groove position, professional place among the present invention;
Fig. 3 is the mapping table schematic diagram between webmaster overall situation VP key assignments and the local VP index of single-deck;
Fig. 4 is the MAC address learning schematic diagram of mechanism.
Embodiment
VPLS implementation method provided by the invention, the groove position that the global configuration mode of VPLS business is improved to according to the professional place of VPLS is configured, and takes full advantage of the single-deck resource, reaches the maximized purpose of resource.Below in conjunction with accompanying drawing the present invention is made detailed explanation.
The VPLS implementation method comprises VPLS configuration and two steps of MAC address learning:
The VPLS configuration step is as follows:
(1) webmaster configures corresponding VPLS according to the professional related groove position of different VPLS, as shown in Figure 2, suppose that the VPLS1 business relates to groove position 1,2,3, the VPLS2 business relates to groove position 4,5,6, the VPLS3 business relates to groove position 7,8,9 ... so, according to groove position 1,2,3 configuration VPLS1, according to groove position 4,5,6 configuration VPLS2, according to groove position 7,8,9 configuration VPLS3.Because single professional single-deck is supported 12K VP, the VPLS example number supported of professional single-deck on the groove position 1,2,3 is 4K (supposing that each VPLS example comprises 3 VP) so, similarly, the VPLS example number supported of the professional single-deck on the groove position 4,5,6 and 7,8,9 also is 4K.And for VPLS global configuration situation shown in Figure 1, same VPLS configuration can be issued to all professional single-decks, do not belong to the single-deck that this VPLS business relates to and can receive this configuration yet, and scheme provided by the invention, it is professional that each single-deck is all set up identical VPLS, the heap(ed) capacity that whole set equipment VPLS can reach is single-deck capacity 4K, and the VPLS volume of business that whole set equipment is supported no longer is subjected to the restriction of single professional single-deck resource, reaches the purpose of professional single-deck resource maximum using.
Among Fig. 2, [4K+1,8K] expression can be set up 4K different VPLS, 4K+1,4K+2 ..., 8K represents ID number of VPLS, the VPLS of [the Isosorbide-5-Nitrae K] that sets up with groove position #1,2,3 makes a distinction.Because Fig. 2 is configured by the groove position to issue, the ID of the VPLS of each groove position can not repeat; But Fig. 1 is global configuration, and that each groove position is all set up is identical VPLS, and the ID of VPLS is the same.
(2) for each VPLS, set up respectively the mapping table between the local VP index of webmaster overall situation VP key assignments and described VPLS, in the described mapping table, the VP of same sequence number all has different VP call number and corresponding one by one with same webmaster overall situation VP key assignments on the professional single-deck of different slots position.
When the VPLS configuration that webmaster issues arrives each professional single-deck by corresponding groove position, can apply for the local VP resource of corresponding service single-deck, thereby set up webmaster overall situation VP key assignments to the mapping table between the local VP index, as shown in Figure 3, comprise groove position 1 for VPLS1(, 2,3, the professional single-deck a of difference plug-in mounting on it, b, c), local VP call number ID-a1 on the webmaster overall situation VP key assignments KEY1 corresponding groove position 1, local VP call number ID-c1 on local VP call number ID-b1 on the groove position 2 and the groove position 3, ID-a1, ID-b1 and ID-c1 be corresponding professional single-deck a respectively, b, VP1 on the c, according to this mapping table, the overall VP key assignments that the local VP call number of each professional single-deck is corresponding unique, overall VP key-value pair be the unique VP in certain VPLS example specifically.
The MAC address learning step is as follows:
As shown in Figure 4, webmaster is set up respectively VPLS1 and VPLS2, VPLS1 is corresponding professional single-deck a, b, the c that is inserted on the groove position 1,2,3 respectively, and VPLS2 is corresponding professional single-deck d, e, the f that is inserted on the groove position 4,5,6 respectively, and VPLS1 and VPLS2 carry out exchanges data by Cross Trade.
(1) the VPLS1 business is from the VP1 access of professional single-deck a, professional single-deck a on the groove position 1 finishes source MAC study, then utilize local VP index ID-A1 to search mapping table shown in Figure 3, obtain webmaster corresponding to local VP call number D-a1 overall situation VP key assignments KEY1, again the MAC of VPLS1, packet and overall VP key assignments KEY1 are encapsulated in and enter the Cross Trade broadcast tunnels in the MAC address learning message and broadcast.
(2) after the professional single-deck on other each groove positions receives above-mentioned MAC address learning message, search mapping table shown in Figure 3 according to the overall VP key assignments that carries in the MAC address learning message, obtain corresponding local VP call number.For example, after professional single-deck b on the groove position 2 receives the MAC address learning message, search mapping table shown in Figure 3, obtain the local VP call number ID-b1 of the professional single-deck b on the groove position 2, then use the MAC of VPLS1, packet and local VP call number ID-b1 to carry out abandoning this MAC address learning message after the MAC address learning.In like manner, the professional single-deck c on the groove position 3 determines that the VP of professional single-deck c is VP1.(professional single-deck d, e, f are inserted on the groove position 4,5,6 because professional single-deck d, e, f on the groove position 4,5,6 do not set up the VPLS1 example, set up the VPLS2 example), therefore failure when searching overall VP key assignments to the mapping table between the local VP index directly abandons this MAC address learning message.Like this, carry out MAC Address between the different single-deck and just avoided professional inundation after the study synchronously.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change of making under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.
Claims (2)
1.VPLS implementation method is characterized in that, comprises VPLS configuration and two steps of MAC address learning:
Described VPLS configuration step is as follows:
Webmaster configures corresponding VPLS according to the professional related groove position of different VPLS
i
For each VPLS
i, set up respectively webmaster overall situation VP key assignments and described VPLS
iMapping table between the local VP index, in the described mapping table, the VP of same sequence number all has different local VP call number and corresponding one by one with same webmaster overall situation VP key assignments on the professional single-deck of different slots position;
Described MAC address learning step is as follows:
Belong to same VPLS
iIn each single-deck of example, after the professional single-deck of access VPLS business is finished source MAC study, search described mapping table according to the local VP call number of this business single-deck, obtain webmaster overall situation VP key assignments corresponding to local VP, and with VPLS
i, packet MAC and overall VP be encapsulated in the MAC address learning message, described MAC address learning message enters the Cross Trade broadcast tunnels and broadcasts; After other professional single-decks receive described MAC address learning message, search described mapping table according to the overall VP key assignments that carries in the described MAC address learning message, obtain corresponding local VP call number, then use VPLS
i, after the MAC of packet and local VP carry out synchronously study of MAC Address, abandon described MAC address learning message;
For not belonging to VPLS
iEach single-deck, directly abandon described MAC address learning message.
2. VPLS implementation method as claimed in claim 1 is characterized in that, the ID of VPLS is different in the different VPLS examples.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210431733.1A CN102882761B (en) | 2012-10-31 | 2012-10-31 | VPLS realization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210431733.1A CN102882761B (en) | 2012-10-31 | 2012-10-31 | VPLS realization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102882761A true CN102882761A (en) | 2013-01-16 |
CN102882761B CN102882761B (en) | 2015-07-01 |
Family
ID=47483913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210431733.1A Active CN102882761B (en) | 2012-10-31 | 2012-10-31 | VPLS realization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102882761B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016050158A1 (en) * | 2014-09-29 | 2016-04-07 | Hangzhou H3C Technologies Co., Ltd. | Learning a mac address in vxlan |
CN108965129A (en) * | 2018-06-25 | 2018-12-07 | 烽火通信科技股份有限公司 | A kind of implementation method of VPLS business multicast physical port iteration |
CN109768900A (en) * | 2019-01-04 | 2019-05-17 | 烽火通信科技股份有限公司 | Network element second grade processing method for performance and system |
CN110266599A (en) * | 2019-06-28 | 2019-09-20 | 烽火通信科技股份有限公司 | One kind being based on distributed apparatus MAC address learning method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050271036A1 (en) * | 2004-06-07 | 2005-12-08 | Native Networks Technologies, Ltd. | Method for providing efficient multipoint network services |
CN101534209A (en) * | 2009-04-20 | 2009-09-16 | 杭州华三通信技术有限公司 | A method and device for sending multicast messages |
CN101616082A (en) * | 2009-07-29 | 2009-12-30 | 杭州华三通信技术有限公司 | The method and apparatus that message is handled in a kind of virtual private LAN service network |
-
2012
- 2012-10-31 CN CN201210431733.1A patent/CN102882761B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050271036A1 (en) * | 2004-06-07 | 2005-12-08 | Native Networks Technologies, Ltd. | Method for providing efficient multipoint network services |
CN101534209A (en) * | 2009-04-20 | 2009-09-16 | 杭州华三通信技术有限公司 | A method and device for sending multicast messages |
CN101616082A (en) * | 2009-07-29 | 2009-12-30 | 杭州华三通信技术有限公司 | The method and apparatus that message is handled in a kind of virtual private LAN service network |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016050158A1 (en) * | 2014-09-29 | 2016-04-07 | Hangzhou H3C Technologies Co., Ltd. | Learning a mac address in vxlan |
US10956194B2 (en) | 2014-09-29 | 2021-03-23 | Hewlett Packard Enterprise Development Lp | Learning a MAC address in VXLAN |
CN108965129A (en) * | 2018-06-25 | 2018-12-07 | 烽火通信科技股份有限公司 | A kind of implementation method of VPLS business multicast physical port iteration |
CN109768900A (en) * | 2019-01-04 | 2019-05-17 | 烽火通信科技股份有限公司 | Network element second grade processing method for performance and system |
CN109768900B (en) * | 2019-01-04 | 2020-09-15 | 烽火通信科技股份有限公司 | Method and system for processing second-level performance of network element |
CN110266599A (en) * | 2019-06-28 | 2019-09-20 | 烽火通信科技股份有限公司 | One kind being based on distributed apparatus MAC address learning method and system |
CN110266599B (en) * | 2019-06-28 | 2021-08-03 | 烽火通信科技股份有限公司 | MAC address learning method and system based on distributed equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102882761B (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8718071B2 (en) | Method to pass virtual local area network information in virtual station interface discovery and configuration protocol | |
CN104426681B (en) | The distributed multicast of endpoint | |
US20150143369A1 (en) | Communications Method and System | |
CN103179228B (en) | Internet Protocol address analytic method and fringe node | |
CN103259725B (en) | Messaging method and network equipment | |
CN102137001B (en) | Routing information exchange method, equipment and system | |
CN102934410B (en) | DS-LITE is strengthened by private IPV4 accessibility | |
CN103685006A (en) | Packet forwarding method for edge device and edge device | |
CN102611634A (en) | IP (Internet protocol) network access method and edge device | |
CN104168184A (en) | Message forwarding method and device | |
WO2016107512A1 (en) | Method and apparatus for establishing multicast group in fat-tree network, and fat-tree network | |
CN102347889B (en) | Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service) | |
CN103078969A (en) | Method and equipment for announcing media access control (MAC) address information | |
CN102882761B (en) | VPLS realization method | |
CN101242370B (en) | Method for realizing Ethernet and frame-relay Internet and protocol conversion device | |
CN101330466A (en) | Method and device for forwarding multicast message | |
CN102065018B (en) | Method and system for transmitting message | |
CN101330411B (en) | Method and system for simulating large-scale network topological | |
JP5673027B2 (en) | Switch and switch control method | |
CN103200119B (en) | A kind of Ethernet virtual interconnection site inner load sharing method and edge device | |
CN114760165A (en) | Message transmission method, device and system | |
CN102035659A (en) | Method and device for broadcasting messages in domain dividing process | |
CN101924698A (en) | Method, system and equipment for balancing two-layer domain load based on IP unicast route | |
CN104954255A (en) | Method and device for processing VPN message | |
CN106230684A (en) | Message forwarding method, switch and system |
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 |