CN102882761B - VPLS realization method - Google Patents

VPLS realization method Download PDF

Info

Publication number
CN102882761B
CN102882761B CN201210431733.1A CN201210431733A CN102882761B CN 102882761 B CN102882761 B CN 102882761B CN 201210431733 A CN201210431733 A CN 201210431733A CN 102882761 B CN102882761 B CN 102882761B
Authority
CN
China
Prior art keywords
vpls
mac address
address learning
business
virtual port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210431733.1A
Other languages
Chinese (zh)
Other versions
CN102882761A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201210431733.1A priority Critical patent/CN102882761B/en
Publication of CN102882761A publication Critical patent/CN102882761A/en
Application granted granted Critical
Publication of CN102882761B publication Critical patent/CN102882761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

VPLS realization method
Technical field
The present invention relates to VPLS technology, be specifically related to VPLS realization 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 the PE(provider edge utilizing signaling protocol in VPLS example, provider edge router) set up between node and safeguard PW(pseudo wire, pseudo line tag), transmit on PW after two-layer protocol frame is encapsulated, exchange, to make in wide scope multiple local area network (LAN) be integrated into one in data link aspect to throw the net network, provide virtual Ethernet service to user.
VPLS technology combines the feature of the multiple technologies such as IP/MPLS, L2VPN Ethernet exchanging effectively, supports point-to-point, point-to-multipoint, how point-to-multipoint type of service, can support carrier ethernet service under comparatively macroreticular scale.
At present, the configuration mode of VPLS is global configuration, and namely on single-ended equipment, all business single-decks all receive identical VPLS configuration, and like this, the resource by single business single-deck limited by the VPLS volume of business of single-ended equipment.As shown in Figure 1, the VP(virtual port virtual port that single business single-deck is supported) quantity is 12K, the VPLS example number that so whole set equipment is supported is 4K (supposing that each VPLS example comprises 3 VP).When the VP in same VPLS example is distributed on different business single-decks, each single-deck can carry out source MAC learning process separately, there will be the nonsynchronous problem of mac address learning table between each single-deck like this, thus causes business inundation.
Summary of the invention
Technical problem to be solved by this invention solves when the VP in same VPLS example is distributed on different business single-decks, because mac address table is asynchronous and easily cause the problem of business inundation.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of VPLS realization method, comprises VPLS configuration and MAC address learning two steps:
Described VPLS configuration step is as follows:
Webmaster configures corresponding VPLS according to the slot involved by different VPLS business i;
For each VPLS i, set up webmaster overall situation VP key assignments and described VPLS respectively imapping table between local VP index, in described mapping table, on the business single-deck of different slot the VP of same sequence number all there is different local VP call numbers and with same webmaster overall situation VP key assignments one_to_one corresponding;
Described MAC address learning step is as follows:
Belong to same VPLS iin each single-deck of example, after the business single-deck of access VPLS business completes source MAC study, the local VP call number according to this business single-deck searches described mapping table, obtains the webmaster overall situation VP key assignments that local VP is corresponding, and by VPLS i, the MAC of packet and overall VP is encapsulated in MAC address learning message, described MAC address learning message enters Cross Trade broadcast tunnels and broadcasts; After other business single-decks receive described MAC address learning message, the overall VP key assignments according to carrying in described MAC address learning message searches described mapping table, obtains corresponding local VP call number, then uses VPLS i, after the MAC of packet and local VP carries out MAC Address synchronous study, abandon described MAC address learning message;
For not belonging to VPLS ieach single-deck, directly abandon described MAC address learning message.
In the above-mentioned methods, in different VPLS example, the ID of VPLS is different.
The present invention, improves VPLS configuration mode, global configuration is improved to and is configured according to slot, VPLS business place, make full use of single-deck resource, reach the maximized object of resource.After service access single-deck completes MAC address learning process, study message encapsulation webmaster overall situation VP key assignments information, enter Cross Trade broadcast tunnels and broadcast, other all business single-decks all receive this study message.The single-deck belonging to this VPLS example resolves the study message received, and proceeds MAC address learning process; The business single-deck not belonging to this VPLS example then directly abandons this study message.
Accompanying drawing explanation
Fig. 1 is existing VPLS global configuration schematic diagram;
Fig. 2 is the schematic diagram that in the present invention, VPLS is configured by slot, business place;
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 MAC address learning schematic diagram of mechanism.
Embodiment
VPLS realization method provided by the invention, is improved to the global configuration mode of VPLS business and is configured according to the slot at VPLS business place, take full advantage of single-deck resource, reach the maximized object of resource.Below in conjunction with accompanying drawing, the present invention is described in detail.
VPLS realization method comprises VPLS configuration and MAC address learning two steps:
VPLS configuration step is as follows:
(1) webmaster configures corresponding VPLS according to the slot involved by different VPLS business, as shown in Figure 2, suppose that VPLS1 business relates to slot 1,2,3, VPLS2 business relates to slot 4,5,6, VPLS3 business relates to slot 7,8,9 ... so, configure VPLS1 according to slot 1,2,3, configure VPLS2 according to slot 4,5,6, configure VPLS3 according to slot 7,8,9.Because single business single-deck supports 12K VP, the VPLS example number that business single-deck so on slot 1,2,3 is supported is 4K (supposing that each VPLS example comprises 3 VP), similarly, the VPLS example number that the business single-deck on slot 4,5,6 and 7,8,9 is supported also is 4K.And for the VPLS global configuration situation shown in Fig. 1, same VPLS configuration can be issued to all business 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, each single-deck all sets up identical VPLS business, 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 by the restriction of single business single-deck resource, reaches the object of business single-deck resource maximum using.
In Fig. 2, [4K+1,8K] represents can set up the different VPLS of 4K, 4K+1,4K+2 ..., 8K represents No. ID of VPLS, the VPLS of [the Isosorbide-5-Nitrae K] that set up with slot #1,2,3 makes a distinction.Because Fig. 2 is configured by slot to issue, the ID of the VPLS of each slot can not repeat; But Fig. 1 is global configuration, the ID of what each slot was all set up is identical VPLS, VPLS is the same.
(2) for each VPLS, set up the mapping table between webmaster overall situation VP key assignments and the local VP index of described VPLS respectively, in described mapping table, on the business single-deck of different slot the VP of same sequence number all there is different VP call numbers and with same webmaster overall situation VP key assignments one_to_one corresponding.
When the VPLS configuration that webmaster issues arrives each business single-deck by corresponding slot, the local VP resource of corresponding service single-deck can be applied for, thus the mapping table set up between webmaster overall situation VP key assignments to local VP index, as shown in Figure 3, slot 1 is comprised for VPLS1(, 2, 3, difference plug-in mounting business single-deck a on it, b, c), local VP call number ID-a1 on the corresponding slot 1 of webmaster overall situation VP key assignments KEY1, local VP call number ID-b1 on the slot 2 and local VP call number ID-c1 on slot 3, ID-a1, ID-b1 and ID-c1 be corresponding business single-deck a respectively, b, VP1 on c, according to this mapping table, the overall VP key assignments that the local VP call number of each business single-deck is corresponding unique, overall situation VP key-value pair should unique VP specifically in certain VPLS example.
MAC address learning step is as follows:
As shown in Figure 4, webmaster sets up VPLS1 and VPLS2 respectively, VPLS1 is corresponding business single-deck a, b, c be inserted on slot 1,2,3 respectively, and VPLS2 is corresponding business single-deck d, e, f be inserted on slot 4,5,6 respectively, and VPLS1 and VPLS2 carries out exchanges data by Cross Trade.
(1) VPLS1 business accesses from the VP1 of business single-deck a, business single-deck a on slot 1 completes source MAC study, then local VP index ID-A1 is utilized to search the mapping table shown in Fig. 3, obtain the webmaster overall situation VP key assignments KEY1 that local VP call number D-a1 is corresponding, then the MAC of VPLS1, packet and overall VP key assignments KEY1 is encapsulated in MAC address learning message enters Cross Trade broadcast tunnels and broadcast.
(2) after the business single-deck on other each slots receives above-mentioned MAC address learning message, the overall VP key assignments according to carrying in MAC address learning message searches the mapping table shown in Fig. 3, obtains corresponding local VP call number.Such as, after business single-deck b on slot 2 receives MAC address learning message, search the mapping table shown in Fig. 3, obtain the local VP call number ID-b1 of the business single-deck b on slot 2, then use the MAC of VPLS1, packet and local VP call number ID-b1 carry out MAC address learning after abandon this MAC address learning message.In like manner, the business single-deck c on slot 3 determines that the VP of business single-deck c is VP1.Because business single-deck d, e, the f on slot 4,5,6 does not set up VPLS1 example, (business single-deck d, e, f are inserted on slot 4,5,6, set up VPLS2 example), therefore the failure when searching the mapping table between overall VP key assignments to local VP index, directly abandons this MAC address learning message.Like this, business inundation is just avoided after having carried out MAC Address synchronous study between different single-deck.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made 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 MAC address learning two steps:
Described VPLS configuration step is as follows:
Webmaster is according to different VPLS business VPLS iinvolved slot configures corresponding VPLS i, i is VPLS class of business;
For each VPLS i, set up webmaster overall situation virtual port key assignments and described VPLS respectively imapping table between local virtual port index, in described mapping table, on the business single-deck of different slot the virtual port of same sequence number all there is different local virtual port index number and with same webmaster overall situation virtual port key assignments one_to_one corresponding;
Described MAC address learning step is as follows:
Belong to same VPLS iin each single-deck of example, after the business single-deck of access VPLS business completes source MAC study, the local virtual port index number according to this business single-deck searches described mapping table, obtains the webmaster overall situation virtual port key assignments that local virtual port is corresponding, and by VPLS i, the MAC of packet and overall virtual port be encapsulated in MAC address learning message, described MAC address learning message enters Cross Trade broadcast tunnels and broadcasts; After other business single-decks receive described MAC address learning message, the overall virtual port key assignments according to carrying in described MAC address learning message searches described mapping table, obtains corresponding local virtual port index number, then uses VPLS i, after the MAC of packet and local virtual port carry out MAC Address synchronous study, abandon described MAC address learning message;
For not belonging to VPLS ieach single-deck, directly abandon described MAC address learning message.
2. VPLS realization method as claimed in claim 1, is characterized in that, in different VPLS example, the ID of VPLS is different.
CN201210431733.1A 2012-10-31 2012-10-31 VPLS realization method Active CN102882761B (en)

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 CN102882761A (en) 2013-01-16
CN102882761B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243318B (en) * 2014-09-29 2018-10-09 新华三技术有限公司 MAC address learning method and device in VXLAN networks
CN108965129B (en) * 2018-06-25 2021-01-26 烽火通信科技股份有限公司 Method for realizing multicast physical port iteration of VPLS service
CN109768900B (en) * 2019-01-04 2020-09-15 烽火通信科技股份有限公司 Method and system for processing second-level performance of network element
CN110266599B (en) * 2019-06-28 2021-08-03 烽火通信科技股份有限公司 MAC address learning method and system based on distributed equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7796611B2 (en) * 2004-06-07 2010-09-14 Alcatel Method for providing efficient multipoint network services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102882761A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
US8718071B2 (en) Method to pass virtual local area network information in virtual station interface discovery and configuration protocol
CN102137001B (en) Routing information exchange method, equipment and system
CN103259725B (en) Messaging method and network equipment
CN102934410B (en) DS-LITE is strengthened by private IPV4 accessibility
US20150143369A1 (en) Communications Method and System
CN102611634A (en) IP (Internet protocol) network access method and edge device
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN104168184A (en) Message forwarding method and device
TW201519621A (en) Management server and management method thereof for managing cloud appliances in virtual local area networks
EP4239973A1 (en) Packet sending method, device, and system
CN102347889B (en) Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service)
CN102882761B (en) VPLS realization method
WO2013029440A1 (en) Method and apparatus for implementing layer-2 interconnection of data centers
WO2022048412A1 (en) Method for generating table item, method for sending message, device, and system
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN105187311A (en) Message forwarding method and message forwarding device
CN103701679A (en) VLAN (virtual local area network) conversion implementation method
CN107896188A (en) Data forwarding method and device
JP5673027B2 (en) Switch and switch control method
CN106230684B (en) Message forwarding method, interchanger and system
CN114760165A (en) Message transmission method, device and system
CN102035659A (en) Method and device for broadcasting messages in domain dividing process
CN104954255A (en) Method and device for processing VPN message
CN101316239B (en) Method for controlling access and forwarding in virtual special LAN service network
CN102263692A (en) Three-layer switchboard and routing method used for same

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