CN102340446B - Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment - Google Patents

Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment Download PDF

Info

Publication number
CN102340446B
CN102340446B CN201010239606.2A CN201010239606A CN102340446B CN 102340446 B CN102340446 B CN 102340446B CN 201010239606 A CN201010239606 A CN 201010239606A CN 102340446 B CN102340446 B CN 102340446B
Authority
CN
China
Prior art keywords
packet
label
leaf
root
described packet
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
CN201010239606.2A
Other languages
Chinese (zh)
Other versions
CN102340446A (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 CN201010239606.2A priority Critical patent/CN102340446B/en
Publication of CN102340446A publication Critical patent/CN102340446A/en
Application granted granted Critical
Publication of CN102340446B publication Critical patent/CN102340446B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for realizing an Ethernet-tree (E-tree) service in a virtual private local area network service (VPLS) network and provider edge (PE) equipment. The method comprises the following steps of: receiving a data packet from customer edge (CE) equipment; judging whether the CE equipment transmitting the data packet is a root node or a leaf node; if the data packet is transmitted by the root node, adding a root tag into the data packet, and if the data packet is transmitted by the leaf node, adding a leaf tag into the data packet; performing pseudo wire (PW) packaging on the data packet; and transmitting the data packet by using a PW. By the method and the equipment provided by the embodiment of the invention, the E-tree service in the VPLS network is realized and can be well compatible with the conventional PE equipment; moreover, only one PW is required and more PWs and virtual switch instances are not required between two pieces of PE equipment.

Description

The implementation method of E-tree business and PE equipment in VPLS network
Technical field
The embodiment of the present invention relates to communication technical field, particularly relate to a kind of VPLS (Virtual Private LAN Service, be called for short VPLS) implementation method of ether tree (E-tree) business and Provider Edge (Provider Edge is called for short PE) equipment in network.
Background technology
E-tree is a kind of business that Metro Ethernet Forum's (Metro Ethernet Forum is called for short MEF) defines, and E-tree has following characteristic: be the relation of one-to-many between root node and leaf node, can there is multiple root node; Root node can send packet to arbitrary root node and leaf node, and leaf node also can send packet to arbitrary root node.
VPLS is a kind of technology utilizing wide area network architecture to carry out virtual ethernet local area network, it can at multiprotocol label switching (Multi-Protocol Label Switching, be called for short MPLS) network provides be similar to local area network (LAN) (Local Area Network, be called for short LAN) many Point-to-multipoint connections, be convenient to the point that user disperses from multiple geographical position and access MPLS network simultaneously, and mutually access, just as these points are directly linked on LAN.Because current core net mainly adopts IP/MPLS technology, so provide the demand of virtual ethernet business to get more and more by VPLS.
Owing to using VPLS technology in increasing network, in VPLS network, so how realize E-tree business is exactly a problem demanding prompt solution.
E-tree service implementation method in a kind of VPLS network of the prior art comprises: between two PE equipment, realize E-tree business by two PW, namely the packet that root node sends is transmitted by a PW, the packet sent from leaf node is transmitted by another root PW, after outlet PE equipment receives packet, namely can determine that packet is sended over by root node according to PW, or sended over by leaf node.
This method Problems existing is: owing to needing two PW between often pair of PE equipment, need to take two virtual switch instance (Virtual Switch Instance simultaneously, be called for short VSI), and PW and VSI is very valuable resource, therefore when E-tree number of services is numerous, PW and VSI may be caused not enough, if E-tree business takies too many PW and VSI resource, other PW and the VSI resource needed for business (such as transparent Ethernet (E-LAN) business) can be caused not enough.
Summary of the invention
The embodiment of the present invention provides implementation method and the PE equipment of E-tree business in a kind of VPLS network, can realize E-tree business in VPLS network, does not need to take more PW and VSI.
Embodiments provide the implementation method of E-tree business in a kind of VPLS network, comprising:
Receive the packet that CE equipment sends, described CE equipment is root node or leaf node;
Judge that described CE equipment is root node or leaf node;
If described packet is sended over by root node, then in described packet, add root label, send over if described packet is leaf node, then in described packet, add leaf label;
Described packet is carried out PW encapsulation, the packet after encapsulation is sent by PW.
The embodiment of the present invention additionally provides the implementation method of E-tree business in a kind of VPLS network, comprising:
Entry PE device package is received by PW;
Resolve described packet;
If described packet comprises root label, then by described Packet Generation to being connected to self root node and leaf node;
If described packet comprises leaf label, then by described Packet Generation to being connected to self root node.
The embodiment of the present invention additionally provides a kind of PE equipment, comprising:
First processing module, for receiving the packet that CE equipment sends, and judges that described CE equipment is root node or leaf node;
Second processing module, the described packet for receiving in described first processing module is when being sended over by root node, adds root label in described packet; When the packet that described first processing module receives be leaf node send over, in described packet, add leaf label, and sent by PW after described packet is carried out PW encapsulation.
The embodiment of the present invention additionally provides a kind of PE equipment, comprising:
The PW outlet module corresponding with each PW, for being received the packet of entry PE equipment by PW, and resolves described packet;
3rd processing module, the packet for receiving at PW outlet module comprises root label, by described Packet Generation to being connected to self root node and leaf node; When the packet that described PW outlet module receives comprises leaf label, by described Packet Generation to being connected to self root node.
In the VPLS network that the embodiment of the present invention provides, the implementation method of E-tree business and PE equipment, add root label or leaf label in the packet received, and identifies this packet and sent by root node or leaf node.Like this, received the PE equipment of packet by PW, correspondingly can forward or filtering data bag according to the root label in packet or leaf label.Particularly, if this packet comprises root label, then can by this Packet Generation to being connected to self all root nodes and leaf node, if this packet comprises leaf label, then can give all root nodes with self communication by Packet Generation, achieve forwarding and the filtration of packet, thus achieve E-tree business.
Distinguish by root label, leaf label the packet that root node and leaf node send in the embodiment of the present invention, only a PW is needed between two PE equipment, realize E-tree business not need to take more PW and VSI, therefore when class of business One's name is legion in E-tree business, also PW and VSI needed for E-tree business can not be caused not enough, other PW and the VSI resource needed for business also can not be caused not enough.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Figure 1 shows that the flow chart of the implementation method embodiment one of E-tree business in VPLS network of the present invention;
Figure 2 shows that the flow chart of the implementation method embodiment two of E-tree business in VPLS network of the present invention;
Figure 3 shows that a kind of schematic diagram of the implementation method of E-tree business in VPLS network of the present invention;
Figure 4 shows that the packing forms schematic diagram of the packet that in the present invention, each embodiment relates to;
Figure 5 shows that and consult schematic diagram between PE equipment;
Figure 6 shows that the another kind of schematic diagram of the implementation method of E-tree business in VPLS network of the present invention;
Figure 7 shows that the structural representation of PE apparatus embodiments one of the present invention;
Figure 8 shows that the structural representation of PE apparatus embodiments two of the present invention;
Figure 9 shows that the structural representation of PE apparatus embodiments three of the present invention;
Figure 10 shows that the structural representation of PE apparatus embodiments four of the present invention;
Figure 11 shows that the structural representation of PE apparatus embodiments five of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part preferred embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Be illustrated in figure 1 the flow chart of the implementation method embodiment one of E-tree business in VPLS network of the present invention, comprise:
The packet that step 101, reception client edge (Customer Edge is called for short CE) equipment send.When VPLS network provides E-Tree business, each CE equipment can be leaf node or root node.
In VPLS network, PE equipment and CE equipment connection, when packet is sent to a PE equipment from CE equipment, the PE equipment receiving this packet is called entry PE equipment.Packet Generation is given other PE equipment by PW by entry PE equipment, other PE equipment by Packet Generation to object CE equipment.The PE equipment being received the packet that entry PE equipment sends by PW is called outlet PE equipment.Root node in various embodiments of the present invention and leaf node are each CE equipment in VPLS network.
The CE equipment that step 102, judgement send packet is root node or leaf node.
Particularly, when receiving the ether packet of CE equipment transmission, PE equipment can go out this packet from the port identification receiving packet and be sended over by root node, or sended over by leaf node.PE equipment can also add VLAN (Virtual Local Area Network, be called for short VLAN) label in the packet further, by VLAN label identify this packet be sent by root node or sent by leaf node.
If step 103 packet is sended over by root node, then add root label (Root Label) in the packet, if packet is sended over by leaf node, then add leaf label (Leaf Label) in the packet.
In this step, PE equipment can according to receive grouping port attribute or according to VLAN label judge this packet be sended over by root node or leaf node sends over.If the VLAN Tag identification data bag in packet is sended over by root node, then add root label in the packet, and delete VLAN label; If VLAN Tag identification data bag is sended over by leaf node, then add leaf label in the packet, and delete VLAN label.
Step 104, packet is carried out PW encapsulation, the packet after PW encapsulation is sent by PW.
Be illustrated in figure 2 the flow chart of the implementation method embodiment two of E-tree business in VPLS network of the present invention, comprise:
Step 201, the packet sended over by PW reception entry PE equipment.
Step 202, resolution data bag.
Particularly, decapsulation can be carried out to packet, parse the root label in packet or leaf label; Then add VLAN label in the packet according to the root label in packet or leaf label, wherein said VLAN label is root label or leaf label for what identify that this packet comprised before decapsulation.
What can comprise before decapsulation with this packet of VLAN tag identifier is root label, and what comprised before decapsulation with another this packet of VLAN tag identifier is leaf label.
If step 203 packet comprises root label, then by Packet Generation to being connected to self all root nodes and leaf node; If packet comprises leaf label, then by Packet Generation to being connected to self all root nodes.
Particularly, this packet decapsulation can be identified according to the VLAN label in packet before what comprise is root label or leaf label.If what comprise before the VLAN Tag identification data bag decapsulation in packet is root label, then delete VLAN label, and by the Packet Generation deleted after VLAN label to being connected to self root node and leaf node; If what comprise before the VLAN Tag identification data bag decapsulation in packet is leaf label, then delete VLAN label, and by the Packet Generation deleted after VLAN label to being connected to self root node, and will the Packet Filtering of the leaf node being connected to self be sent to fall.
In E-tree business, the packet of root node transmission can send to other root node and leaf node, and the packet that leaf node sends can send to root node, but can not send to other leaf node.
The implementation procedure of the embodiment of the present invention one and embodiment two is described below in conjunction with concrete network configuration.
Be illustrated in figure 3 a kind of schematic diagram of the implementation method of E-tree business in VPLS network of the present invention, this VPLS network comprises these three PE equipment of PE1, PE2 and PE3, PE1 is connected with root node R1 and leaf node L1, PE2 is connected with root node R2 and leaf node L2, PE3 is connected with root node R3 and leaf node L3, communicated by pseudo-line PW1 between PE1 and PE2, communicated by pseudo-line PW2 between PE1 and PE3, communicated by pseudo-line PW3 between PE2 and PE3.
Such as, root node R1 sends packet (such as, ether packet) to PE1, the module receiving packet in PE1 according to the port receiving packet can determine packet be sended over by leaf node or root node sends over, the module then receiving packet can add VLAN label further in this packet.
Destination address in this packet can be multicast address, also can be unicast address.The module of packet is received in PE1, after adding VLAN label, can by Packet Generation to corresponding VSI.The VSI that different VPLS business is corresponding different.
VSI searches medium education (Media Access Control is called for short MAC) addresses forwarding table, if find, the destination address of this packet is multicast address, then give the PW inlet module corresponding with each PW by Packet Generation.
If find, the destination address of this packet is unicast address, then search PW corresponding to the destination address of packet according to mac address forwarding table, and Packet Generation to the PW inlet module corresponding with this PW.
Because this packet is sent (can determining according to the VLAN label in packet) by root node, PW inlet module is before sending packet by PW, add root label in the packet, and delete VLAN label, then this packet is carried out PW encapsulation, further across tunnel encapsulation, finally packet can also be sent to opposite end PE equipment by PW.Such as, be that the packet of multicast address sends to PE2 and PE3 by PW2 and PW3 by destination address.
Such as, leaf node L1 sends packet (such as, ether packet) to PE1, the module receiving packet in PE1 according to the port receiving packet can determine packet be sended over by leaf node or root node sends over, the module then receiving packet can add VLAN label further in this packet.
Destination address in this packet can be multicast address, also can be unicast address.The module of packet is received in PE1, after adding VLAN label, can by Packet Generation to corresponding VSI.。
VSI is by mac address forwarding table, if find, the destination address of this packet is multicast address, then give the PW inlet module corresponding with each PW by Packet Generation.
If find, the destination address of this packet is unicast address, then search PW corresponding to the destination address of packet according to mac address forwarding table, and Packet Generation to the PW inlet module corresponding with this PW.
Because this packet is sent (can determining according to the VLAN label in packet) by leaf node, PW inlet module is before sending packet by PW, add leaf label in the packet, and delete VLAN label, then this packet is carried out PW encapsulation, further across tunnel encapsulation, afterwards packet can also be sent to opposite end PE equipment by PW, such as, be that the packet of multicast address sends to PE2 and PE3 by PW2 and PW3 by destination address.
After PW outlet module in PE2 receives packet, resolution data bag.If packet comprises root label, then the processing module in PE2 by Packet Generation to all root nodes and the leaf node that are connected to PE2, if packet comprises leaf label, then by Packet Generation to all root nodes being connected to PE2.
Particularly, PE2 after receiving packet, can carry out decapsulation to packet, ejects root label wherein or leaf label, can also add VLAN label in the packet, identifies this packet and comprised root label or leaf label before parsing.The packet added after VLAN label can be sent to VSI, gives the sending module corresponding with each CE equipment by VSI according to Packet Generation.If this packet of VLAN tag identifier comprised root label before parsing, then sending module in PE2 deletes VLAN label, and by Packet Generation to being connected to self root node and leaf node.If this packet of VLAN tag identifier comprised root label before parsing, then sending module in PE2 deletes VLAN label, and by Packet Generation to being connected to self root node.
In Fig. 3, PE3 also can receive packet, PE3 receive packet after processing method identical with PE2.
In embodiment as shown in Figure 1, step 101-104 can be performed by entry PE equipment, such as PE1.In embodiment as shown in Figure 2, step 201 and 202 can be performed by outlet PE equipment, such as PE2 or PE3.
The implementation method of E-tree business in the VPLS network that the embodiment of the present invention provides, entry PE equipment adds root label or leaf label in the packet received, and identifies this packet and is sent by root node or leaf node.Like this, outlet PE equipment, from after a PW receives packet, just can correspondingly forward or filtering data bag according to the root label in packet or leaf label.Particularly, if this packet comprises root label, then outlet PE equipment can by this Packet Generation to being connected to self all root nodes and leaf node, if this packet comprises leaf label, then outlet PE equipment by Packet Generation to being connected to self all root nodes, thus can realize forwarding and the filtration of E-tree business data packet.
In the method that the embodiment of the present invention provides, owing to the addition of root label or leaf label in the packet, can forwarding or filtering data bag at Ethernet forwarding plane like this, and VSI to be changed without the need to making, can well with existing hardware compatibility.
Distinguish by root label or leaf label the packet that root node and leaf node send in the embodiment of the present invention, only a PW is needed between two PE equipment, without the need to arranging two PW, also just without the need to using two VSI, reduce the requirement for PW and VSI resource.Therefore, when class of business One's name is legion in E-tree business, PW and VSI needed for E-tree business can not be caused not enough, other PW and the VSI resource needed for business can not be caused not enough.
In various embodiments of the present invention, root label or leaf label can be added at the bottom of the stack of multiprotocol label switching (Multi-Protocol Label Switching is called for short MPLS) label stack of packet.Be illustrated in figure 4 the packing forms schematic diagram of the packet that in the present invention, each embodiment relates to, the embodiment of the present invention comprise E-tree label (E-tree Label) this, usual and packet payload (Ethernet Payload) immediate label is called at the bottom of the stack of MPLS label stack, in Fig. 4, control word (Control Word) is optional item, and therefore namely E-tree label is at the bottom of the stack of MPLS label stack.In figure, identification field S at the bottom of the stack in MPLS label stack and PW label value is 0, and the field S value of E-tree label is 1.In Fig. 4, be Ethernet head (Ethernet Header) between Ethernet payload and optional control word.
E-tree gets different values, namely can represent root label or leaf label respectively.Such as, can be 100 by E-tree root label value, representing that the label 100 under this E-tree business is root label, be 200 by E-tree leaf label value, represents that the label 200 under this E-tree business is leaf label.
Owing to comprising some Hold stickers in MPLS system, such as 0-15, in embodiments of the invention, the value of leaf label and root label should be other numerical value except these values, to avoid obscuring mutually with the Hold sticker of MPLS system.
Carrying out identification data packet with adopting the mode such as control word is compared with the method that sent by root node or leaf node, E-tree label is added in the packet in the embodiment of the present invention, carry out identification data packet to be sent by root node or leaf node, like this, just without the need to designing new forwarding engine, this packet can forward or filtering data bag at Ethernet forwarding plane, and changes without the need to making for VSI, can well with existing hardware compatibility.
VPLS network can be the network (full mesh) of the whole network type, and each PE equipment in network can consult the attribute information of root label or leaf label in advance.The attribute information of root label and leaf label can be such as the numerical value being used to indicate root label and leaf label.
In VPLS network, between each PE equipment, PW can be set up based on label distribution (Label Distribute Protocol is called for short LDP) agreement.The step that each PE equipment consults the attribute information of root label or leaf label specifically can comprise: each PE equipment exchanges LDP negotiation message mutually, a type-length-value (Type-Length-Value is carried in this LDP negotiation message, be called for short TLV) field, this TLV field comprises the attribute information of root label and leaf label.Be illustrated in figure 5 between PE equipment and consult schematic diagram, a LDP negotiation message with TLV field is sent mutually between two PE equipment, this TLV field comprises the attribute information of root label and leaf label, such as, can comprise that leaf label value is 200, root label value is the attribute information of 100.
Certainly, can also communicate based on borde gateway (Broder Gateway Protocol is called for short BGP) agreement between PE equipment, the attribute information of root label and leaf label can be carried by the message in bgp protocol.
Or can send a message by a PE equipment to other each PE equipment, this message comprises the attribute information of root label and leaf label.
In a step 102, entry PE equipment specifically can according to consult in advance root label or the attribute information of leaf label, in packet, add root label or leaf label.
In E-tree business, some PE equipment is only connected with leaf node, and is not connected with root node, in embodiments of the invention, such PE equipment is called the PE equipment of leaf node type.Like this, the PE equipment of leaf node type send a notice message can to other PE equipment, and this notice message comprises and being connected with leaf node and the information of PE equipment that is not connected with root node, namely comprises the information of the PE equipment of leaf node type.Namely other PE equipment can know which PE equipment is the PE equipment of leaf node type after receiving notice message.
In this case, other PE equipment can not forward this packet to the PE equipment of leaf node type after receiving the data of leaf node transmission that it connects.That is, if the opposite end PE equipment connection of certain PW be all leaf node time, entry PE equipment can filter in PW inlet module the received packet from leaf node, namely, for the packet that leaf node sends over, entry PE equipment would not be corresponding by the PE equipment with leaf node type PW send packet, thus avoid this part packet taking for the communication resource.
Be illustrated in figure 6 the another kind of schematic diagram of the implementation method of E-tree business in VPLS network of the present invention, in this embodiment, PE3 is only connected with leaf node L3, and is not connected with root node, is the PE equipment of a leaf node type.In this case, PE3 can send to PE1 and PE2 the PE equipment that notice message declaration oneself is leaf node type, thus PE1 and PE2 can know that PE3 is leaf node type PE equipment.If L1 sends packet to PE1, because PE3 is the PE equipment of leaf node type, so PE1 can not send packet to PE3, doing so avoids PE1 and sends to the packet of PE3 to take Internet resources.In fact, even if PE1 sends packet to PE3, owing to carrying leaf label in this packet, this Packet Filtering also can be fallen by PE3, and can not by this Packet Generation to L3.
For embodiment as shown in Figure 1, if the label that entry PE equipment adds in the packet is leaf label, and PE equipment corresponding to the opposite end of PW is the PE equipment of leaf node type, then filter out packet in PW inlet module.
This embodiment can also comprise the step receiving notice message, if this notice message comprises the information of the PE equipment of leaf node type, then this advertised information is associated with the PW corresponding with the PE equipment of leaf node type by entry PE equipment.
After entry PE equipment receives notice message, entry PE equipment can know that the opposite end of which PW is the PE equipment of leaf node type.At step 104, if the packet that entry PE equipment receives is sent by leaf node, and PE equipment corresponding to the opposite end of PW is the PE equipment of leaf node type, then filter out packet in PW inlet module.If the packet that access device receives is sent by root node, then PW inlet module is sent by PW, without the need to filtering after can carrying out PW encapsulation to this packet.
Be illustrated in figure 7 the structural representation of PE apparatus embodiments one of the present invention, this PE equipment comprises the first processing module 11 and the second processing module 12.The packet that first processing module 11 sends for receiving CE equipment, and judge that the CE equipment sending packet is root node or leaf node.Second processing module is connected with the first processing module 11, described packet for receiving in the first processing module 11 is when being sended over by root node, add root label in the packet, when the packet that the first processing module 11 receives be leaf node send over, add leaf label in the packet, and sent by PW after packet is carried out PW encapsulation.
Be illustrated in figure 8 the structural representation of PE apparatus embodiments two of the present invention, in this PE equipment, the second processing module 12 comprises a VSI module 121 and the PW inlet module 122 corresponding with each PW.VSI module 121 gives the PW inlet module 122 corresponding with the destination address in packet for the Packet Generation that the first processing module 11 received.PW inlet module 122 comprises: the first process submodule 122a, encapsulation submodule 122b and transmission submodule 122c.First process submodule 122a be used for when the packet that the first processing module 11 receives be sended over by root node, add root label in the packet, when the packet that the first processing module 11 receives be sended over by leaf node, add leaf label in the packet.Encapsulation submodule 122b is used for the packet of the first process submodule 122a process to carry out PW encapsulation.Send submodule 122c to be used for the packet after encapsulation submodule 122b encapsulation to be sent by PW.
Wherein, first processing module 11 specifically may be used for the packet receiving the transmission of CE equipment, judge that the CE equipment sending packet is root node or leaf node, and VLAN label can be added further in the packet, identify described packet be sent by root node or have leaf node to send.According to port attribute, first processing module 11 specifically can judge that the CE equipment sending packet is root node or leaf node.The packet that first process submodule 122a specifically may be used for receiving in the first processing module 11 is when being sended over by root node, adds root label in the packet, specifically can add root label at the bottom of the stack of the MPLS label stack of packet; When the packet that the first processing module 11 receives be sended over by leaf node, add leaf label in the packet, specifically can add leaf label at the bottom of the stack of the MPLS label stack of packet.It is when being sended over by root node that first process submodule 122a specifically can also be used for packet described in VLAN tag identifier in the packet, then add root label in the packet, and delete VLAN label; When packet described in VLAN tag identifier be sended over by leaf node, then add leaf label in the packet, and delete VLAN label.
Be illustrated in figure 9 the structural representation of PE apparatus embodiments three of the present invention, this PE equipment also comprises negotiation module 13 on the basis of embodiment as shown in Figure 9, this negotiation module 13 and first processes submodule 122a and is connected, for the attribute information with opposite end PE equipment negotiation root label and leaf label.First processing module 12 can add root label or leaf label in the packet according to the attribute information of this root label and leaf label.
Particularly, first process submodule 122a be used for when the packet that the first processing module 11 receives be sended over by root node, according to the attribute information of root label or leaf label, add root label in the packet, when the packet that the first processing module 11 receives be sended over by leaf node, according to the attribute information of leaf label, add leaf label in the packet.
Message processing module 14 can also be comprised, this message processing module 14 and first processes submodule 122a and is connected, for receiving the notice message that other PE equipment sends, when described notice message comprises the information of PE equipment of leaf node type, notice message is associated with the PW corresponding with the PE equipment of leaf node type.
Concrete, this message processing module 14 can comprise message sink submodule 141, process submodule 142 and associate submodule 143.Message sink submodule 141 for receiving submodule 141, for receive other PE equipment send notice message.Process submodule 142 is connected with message sink submodule 141, for determining the information of the PE equipment whether comprising leaf node type in notice message.Association submodule 143 is connected with PW entrance processing module 122, for notice message being associated with the PW corresponding with the PE equipment of described leaf node type.If what the first process submodule 122a added in the packet received is leaf label, and its PW associates with the PE equipment of leaf node type, so this Packet Filtering can be fallen.
Be the structural representation of PE apparatus embodiments four of the present invention as shown in Figure 10, this PE equipment comprises the PW outlet module 21 corresponding with each PW and the 3rd processing module 22.The PW outlet module 21 corresponding with each PW is for receiving packet by PW, and resolution data bag.3rd processing module 22 is connected with each PW outlet module 21, the packet for receiving at PW outlet module 21 comprises root label, by Packet Generation to being connected to self root node and leaf node; When the packet that PW outlet module 21 receives comprises leaf label, by Packet Generation to being connected to self root node.
Be the structural representation of PE apparatus embodiments five of the present invention as shown in figure 11, in this embodiment, the PW outlet module 21 corresponding with each PW comprise respectively receive submodule 211, decapsulation submodule 212 and second processes submodule 213.Receive submodule 211 for receiving packet by PW.Decapsulation submodule 212 is connected with reception submodule 211, carries out decapsulation, eject the root label in packet or leaf label for the packet received reception submodule 211.Second process submodule 213 is connected with decapsulation submodule 212, and for adding VLAN label in the packet after decapsulation submodule 212 processes, what this VLAN Tag identification data comprised before wrapping in decapsulation is root label or leaf label.
In this embodiment, eject out E-tree label at the bottom of the stack of the MPLS label stack of the packet that decapsulation submodule 212 specifically can receive from reception submodule, E-tree label is leaf label or root label.
3rd processing module 22 can comprise the 2nd VSI module 221 and the sending module 222 corresponding with each CE equipment.
2nd VSI module 221 and second processes submodule 213 and is connected, and gives the sending module corresponding with each CE equipment for the Packet Generation that PW inlet module received.
The sending module 222 corresponding with each CE equipment is for after receiving packet, if the VLAN Tag identification data in packet comprises root label before wrapping in decapsulation, and the CE equipment corresponding with this sending module is root node or leaf node, then delete the VLAN label in packet, give the CE equipment corresponding with this sending module by the Packet Generation after deletion VLAN label; If packet comprised leaf label before decapsulation described in the VLAN tag identifier in packet, and the CE equipment corresponding with this sending module is root node, then delete the VLAN label in described packet, give the CE equipment corresponding with this sending module by the Packet Generation after deletion VLAN label; If the VLAN Tag identification data in packet comprises leaf label before wrapping in decapsulation, and the CE equipment corresponding with this sending module is leaf node, then will the Packet Filtering of the CE equipment corresponding with this sending module be sent to fall.
In the VPLS network that the embodiment of the present invention provides, the implementation method of E-tree business and PE equipment, add root label or leaf label in the packet received, and identifies this packet and sent by root node or leaf node.Like this, received the PE equipment of packet by PW, correspondingly can forward or filtering data bag according to the root label in packet or leaf label.Particularly, if this packet comprises root label, then can by this Packet Generation to being connected to self all root nodes and leaf node, if this packet comprises leaf label, then can give all root nodes with self communication by Packet Generation, achieve forwarding and the filtration of packet, thus achieve E-tree business.
Add root label or leaf label in the packet by the first processing module in the embodiment of the present invention and distinguish the packet that root node and leaf node send, only a PW is needed between two PE equipment, realize E-tree business not need to take more PW and VSI, therefore when class of business One's name is legion in E-tree business, also PW and VSI needed for E-tree business can not be caused not enough, other PW and the VSI resource needed for business can not be caused not enough.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. the implementation method of ether tree service in virtual special LAN service network, is characterized in that, comprising:
Receive the packet that client edge equipment sends, described client edge equipment is root node or leaf node;
In described packet, add virtual local area network tags, described virtual local area network tags for identify described packet be sent by root node or sended over by leaf node;
Judge that described client edge equipment is root node or leaf node;
If described packet is sended over by root node, then in described packet, add root label, send over if described packet is leaf node, then in described packet, add leaf label, described label or leaf label are arranged at the bottom of the stack of multi-protocol label switching (T-MPLS) label stack of described packet;
Described packet is carried out pseudo-line encapsulation, the packet after described encapsulation is sent by pseudo-line;
If described packet is sended over by root node, then in described packet, add root label, specifically comprise: sended over by root node if the virtual local area network tags in described packet identifies described packet, then in described packet, add root label, and delete described virtual local area network tags;
Send over if described packet is leaf node, then in described packet, add leaf label, specifically comprise: sended over by leaf node if described virtual local area network tags identifies described packet, then in described packet, add leaf label, and delete described virtual local area network tags.
2. method according to claim 1, is characterized in that, also comprises: consulted the attribute information of root label or leaf label with opposite end provider edge equipment before the packet receiving the transmission of client edge equipment.
3. method according to claim 1, is characterized in that, also comprises: if described packet is sended over by leaf node, and opposite end provider edge equipment is the provider edge equipment of leaf node type, then filter out described packet.
4. the implementation method of ether tree service in virtual special LAN service network, is characterized in that, comprising:
The packet of entrance provider edge equipment is received by pseudo-line;
Resolve described packet;
If described packet comprises root label, then by described Packet Generation to being connected to self root node and leaf node;
If described packet comprises leaf label, then by described Packet Generation to being connected to self root node, described label or leaf label are arranged at the bottom of the stack of multi-protocol label switching (T-MPLS) label stack of described packet;
The described packet of described parsing, comprising: carry out decapsulation to described packet, ejects the root label in described packet or leaf label; In described packet, add virtual local area network tags, described virtual local area network tags is root label or leaf label for identifying what comprise before decapsulation in described packet.
5. method according to claim 4, is characterized in that, if described packet comprises root label, then by described Packet Generation to being connected to self root node and leaf node, comprising:
If what the virtual local area network tags in described packet comprised before identifying described packet decapsulation is root label, then delete described virtual local area network tags, and by the described Packet Generation deleted after virtual local area network tags to being connected to self root node and leaf node;
If described packet comprises leaf label, then by described Packet Generation to being connected to self root node, comprising:
If what the virtual local area network tags in described packet comprised before identifying described packet decapsulation is leaf label, then delete described virtual local area network tags; If what be connected with self is root node, then will delete the Packet Generation of described virtual local area network tags to described root node;
If what the virtual local area network tags in described packet comprised before identifying described packet decapsulation is leaf label, then delete described virtual local area network tags; If what be connected with self is leaf node, then the Packet Filtering deleting described virtual local area network tags is fallen.
6. a provider edge equipment, is characterized in that, comprising:
First processing module, for receiving the packet that client edge equipment sends, and judges that described client edge equipment is root node or leaf node;
Second processing module, the described packet for receiving in described first processing module is when being sended over by root node, adds root label and add root label at the bottom of the stack of the multi-protocol label switching (T-MPLS) label stack of described packet; When the packet that described first processing module receives be leaf node send over, at the bottom of the stack of the multi-protocol label switching (T-MPLS) label stack of described packet, add leaf label, and sent by pseudo-line after described packet is carried out pseudo-line encapsulation;
Described first processing module specifically for, receive the packet that client edge equipment sends, judge that described client edge equipment is root node or leaf node, and in described packet, add virtual local area network tags, identify described packet be sent by root node or have leaf node to send;
Described second processing module comprises the first virtual switch instance module and the pseudo-line inlet module corresponding with each pseudo-line;
Described first virtual switch instance module, gives the pseudo-line inlet module corresponding with the destination address in packet for the Packet Generation that described first processing module received;
Described pseudo-line inlet module comprises:
First process submodule, the packet for receiving in described first processing module is when being sended over by root node, adds root label in described packet; When the packet that described first processing module receives be sended over by leaf node, in described packet, add leaf label;
Described first process submodule specifically for, when virtual local area network tags identify described packet be sended over by root node, then in described packet, add root label, and delete described virtual local area network tags; When described virtual local area network tags identify described packet be sended over by leaf node, then in described packet, add leaf label, and delete described virtual local area network tags;
Encapsulation submodule, for carrying out pseudo-line encapsulation by the packet of described first process submodule process;
Send submodule, for being sent by pseudo-line by the packet after described encapsulation submodule encapsulation.
7. provider edge equipment according to claim 6, is characterized in that, also comprises negotiation module, for consulting the attribute information of root label or leaf label with opposite end provider edge equipment.
8. a provider edge equipment, is characterized in that, comprising:
The pseudo-line outlet module corresponding with each pseudo-line, for being received the packet of entrance provider edge equipment by pseudo-line, and resolves described packet;
3rd processing module, the packet for receiving at pseudo-line outlet module comprises root label, by described Packet Generation to being connected to self root node and leaf node; When the packet that described pseudo-line outlet module receives comprises leaf label, by described Packet Generation to being connected to self root node;
The pseudo-line outlet module corresponding with each pseudo-line comprises respectively:
Receive submodule, for receiving packet by pseudo-line;
Decapsulation submodule, carries out decapsulation for the packet received described reception submodule, ejects the root label in described packet or leaf label;
Second process submodule, for adding virtual local area network tags in described packet, described virtual local area network tags is root label or leaf label for what identify that described packet comprised before decapsulation.
CN201010239606.2A 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment Expired - Fee Related CN102340446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010239606.2A CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010239606.2A CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Publications (2)

Publication Number Publication Date
CN102340446A CN102340446A (en) 2012-02-01
CN102340446B true CN102340446B (en) 2015-06-03

Family

ID=45515952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010239606.2A Expired - Fee Related CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Country Status (1)

Country Link
CN (1) CN102340446B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248548B (en) * 2012-02-08 2018-05-04 中兴通讯股份有限公司 The method and node of the E-tree business based on VPLS of realization
CN102594647B (en) * 2012-03-15 2014-08-27 福建星网锐捷网络有限公司 Method, system, device and network device for realizing E-TREE service
CN102724126A (en) * 2012-06-27 2012-10-10 福建星网锐捷网络有限公司 Method, device and equipment for forwarding Ethernet tree (E-tree) service message
US9742678B2 (en) * 2014-04-01 2017-08-22 Cisco Technology, Inc. E-tree service with optimal forwarding in EVPN
CN111447131B (en) * 2019-01-16 2022-11-08 中兴通讯股份有限公司 Message de-encapsulation method and device and message encapsulation method and device
CN111711555B (en) * 2020-05-29 2022-10-21 新华三信息安全技术有限公司 Message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829213A (en) * 2005-02-28 2006-09-06 西门子(中国)有限公司 Method for putting user mark structure in communication network
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for conveying VPLS client data
EP1953956A1 (en) * 2005-11-11 2008-08-06 Huawei Technologies Co., Ltd. Communication network system and leaf-node network element of the multicasting tree signal transmission method and node network element thereof
CN101360062A (en) * 2008-09-17 2009-02-04 中兴通讯股份有限公司 Method and system implementing service of multi-point to multi-point Ethernet with root node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829213A (en) * 2005-02-28 2006-09-06 西门子(中国)有限公司 Method for putting user mark structure in communication network
EP1953956A1 (en) * 2005-11-11 2008-08-06 Huawei Technologies Co., Ltd. Communication network system and leaf-node network element of the multicasting tree signal transmission method and node network element thereof
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for conveying VPLS client data
CN101360062A (en) * 2008-09-17 2009-02-04 中兴通讯股份有限公司 Method and system implementing service of multi-point to multi-point Ethernet with root node

Also Published As

Publication number Publication date
CN102340446A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
CN109995634B (en) Bearing method and equipment for multicast virtual private network
US9264354B2 (en) Mapping PBT and PBB-TE traffic to VPLS and other services
KR100733020B1 (en) Customer MAC Frame Forwarding Method, Edge Bridge, And Storage Medium Registering Program
CN101536411B (en) Ethernet OAM at intrmediate nodes in a PBT network
CN101442467B (en) Method for providing multipoint to multipoint connection in network based on operator backbone network transmission
CN102801625B (en) A kind of method of heterogeneous network double layer intercommunication and equipment
CN102340446B (en) Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN111917622B (en) Reverse Path Forwarding (RPF) checking method and device
CN102368726B (en) Forwarding method and device applied to L2VPN (layer 2 virtual private network)
CN103259724A (en) Method, system and client edge device for implementing MPLS VPN
CN107070789A (en) The flow black hole of active active PBB EVPN redundancies is avoided and rapid fusion
CN103326940A (en) Method for forwarding message in network and edge device of operator
US8964749B2 (en) Method, device and system for establishing a pseudo wire
CN107018076A (en) A kind of monitoring messages method and apparatus
CN102474451B (en) Connecting inner and outer MPLS labels
CN102546433A (en) Data forwarding method based on MPLS (Multi Protocol Label Switching) VPN (Virtual Private Network) and PEs (Provider Edges)
CN104780090A (en) VPN multicast transmission method and device PE equipment
CN109039903B (en) Route determining method, device and machine-readable storage medium
CN112202670A (en) SRv 6-segment route forwarding method and device
EP2736202A1 (en) Message receiving and sending method, device, and system
CN101888336B (en) Access device realizes method and the access device of TDM business relaying
CN101827023B (en) Processing method of data and device thereof
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment

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: 20150603

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