CN103825794A - Transparent Interconnection of lots of links data frame sending method and device - Google Patents
Transparent Interconnection of lots of links data frame sending method and device Download PDFInfo
- Publication number
- CN103825794A CN103825794A CN201210468141.7A CN201210468141A CN103825794A CN 103825794 A CN103825794 A CN 103825794A CN 201210468141 A CN201210468141 A CN 201210468141A CN 103825794 A CN103825794 A CN 103825794A
- Authority
- CN
- China
- Prior art keywords
- user
- trill
- vlan
- frame
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4675—Dynamic sharing of VLAN information amongst network nodes
- H04L12/4683—Dynamic sharing of VLAN information amongst network nodes characterized by the protocol used
- H04L12/4687—MVRP [multiple VLAN registration protocol]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention provides a transparent Interconnection of lots of links data frame sending method and device. The method comprises that: a user VLAN in a first protocol message, or combination of the user VLAN and a user multicast MAC address, and first port identification are acquired, and the corresponding relations are stored in a forwarding table; and when a TRILL data frame is received, second port identification corresponding to a VLAN in the TRILL data frame or the combination of the user VLAN and the user multicast MAC address is searched according to the user VLAN in the TRILL data frame or the combination of the user VLAN and the user multicast MAC address, and the TRILL data frame is forwarded from a pseudo wire port corresponding to the second port identification. According to the multilink transparent interconnection data frame sending method, the TRILL data frame is copied and then forwarded out only from the corresponding pseudo wire port so that wastage of VPLS network side bandwidth caused by broadcasting and copying of the TRILL data frame by a PE from all far-end devices of PW sides which are connected with the PE is avoided.
Description
Technical field
The present invention relates to the communication technology, relate in particular to a kind of multilink transparent interconnection Frame sending method and device.
Background technology
(English is Transparent Interconnection of lots of links to multilink transparent interconnection, hereinafter to be referred as TRILL) basic principle of agreement is: by by the Intermediate System-to-Intermediate System of expansion, (English is Intermediate System To Intermediate System, hereinafter to be referred as ISIS) link-state protocol apply to data link layer (English for data link layer) network, it is double layer network, (English is Spanning Tree Protocol to overcome the Spanning-Tree Protocol using in double layer network, hereinafter to be referred as STP) technology link bandwidth availability ratio is low, the problem of networking small scale.
(English is Virtual Private Lan Service in virtual special local area network service, hereinafter to be referred as VPLS) can make the user network of isolating on region to be connected by wide area network, and then make connection effect between each network just as in a local area network (LAN).Therefore, can multiple TRILL network interconnection be got up by VPLS, below will be called TRILL over VPLS network by the interconnected network forming of VPLS.TRILL over VPLS has expanded the scale of TRILL network, is conducive to unified management and the maintenance of multiple TRILL networks.
In TRILL over VPLS, (English is Virtual SwitchInstance to use virtual switch instance, hereinafter to be referred as VSI) carry out message repeating, between user vlan and VSI, there is corresponding relation, can obtain the virtual switch instance mark corresponding with user vlan (English for Virtual Switch Instance identity, hereinafter to be referred as VSI ID) by the corresponding relation between user vlan and VSI.Work as broadcast, (English is Broadcast for unknown unicast or multicast, unknown unicastor multicast, hereinafter to be referred as BUM) message is while entering in VPLS, VPLS PE sends this message in the VSI under VSI ID, broadcast the BUM message of this access VPLS by PW port to all PE.Need to receive the far-end PE of this BUM message and BUM message is copied and send to the pseudo-line of local PE (English is pseudowire because the local PE of VPLS in this broadcasting process does not distinguish, hereinafter to be referred as PW) all far-end PE of side, for the far-end PE that does not need to receive this BUM message, cause the waste of the bandwidth between this this locality PE and far-end PE.
Summary of the invention
The invention provides a kind of multilink transparent interconnection Frame sending method and device, when forwarding TRILL Frame to solve, carry out broadcast replication and waste the problem of the bandwidth of network side to all PW sides.
First aspect of the present invention is to provide a kind of multilink transparent interconnection Frame sending method, comprising:
Obtain the user's virtual LAN VLAN in the first protocol massages, or obtain the combination of user vlan and user multicast medium access control MAC Address;
Obtain the first port-mark of the pseudo-line cap that receives described the first protocol massages;
By the corresponding relation of the described user vlan getting and described the first port-mark, or the combination of described user vlan and user multicast MAC Address and the corresponding relation of described the first port-mark, store into and transmit;
In the time receiving multilink transparent interconnection TRILL Frame, according to the user vlan in described TRILL Frame, or the combination of user vlan and user multicast MAC Address, in described transmitting, search with described TRILL Frame in VLAN, or described user vlan second port-mark corresponding with the combination of user multicast MAC Address, forward described TRILL Frame from pseudo-line cap corresponding to described the second port-mark.
In the possible implementation of the first aspect first, described the first protocol massages is multilink transparent interconnection TRILL control frame, described in obtain the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address, comprising:
Obtain the user vlan TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address;
Described the first port-mark that obtains the pseudo-line cap that receives described the first protocol massages, comprising:
Obtain the port-mark of the pseudo-line cap that receives described TRILL control frame, and using the port-mark of the pseudo-line cap of the described TRILL control frame of reception as described the first port-mark.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, when described the first protocol massages is TRILL control frame, describedly obtain the user vlan TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address, comprise following any one mode:
The TRILL control frame that monitoring comprises VLAN interested and spanning tree tree root subtype length value obtains user vlan from the described TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value;
The TRILL control frame that monitoring comprises VLAN multicast, the combination of obtaining user vlan and user multicast MAC Address from the described TRILL control frame that comprises VLAN multicast;
The TRILL control frame that monitoring comprises meticulous label subtype length value obtains label to as described user vlan from the described TRILL control frame that comprises meticulous label subtype length value; With
The TRILL control frame that monitoring comprises meticulous label multicast address subtype length value, the combination of obtaining label pair and the meticulous label multicast mac address of user from the described TRILL control frame that comprises meticulous label multicast address subtype length value.
In the third the possible implementation aspect first, described in obtain the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address, comprising:
Receive from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, described multi-VLAN log-in protocol message comprises the user vlan that described remote equipment obtains from the described TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, described many MAC log-in protocol message comprises user vlan that described remote equipment obtains from the described TRILL control frame listening to and the combination of user multicast MAC Address;
Described the first port-mark that obtains the pseudo-line cap that receives described the first protocol massages, comprising:
Obtain the port-mark of the pseudo-line cap that receives described multi-VLAN log-in protocol message or described many MAC log-in protocol message as described the first port-mark.
In conjunction with the first of first aspect and first aspect, any one mode in the second and the third possible implementation, in the 4th kind of possible implementation, in the time receiving TRILL Frame, according to the combination of the VLAN in described TRILL Frame or user vlan and user multicast MAC Address, in described transmitting, search and VLAN in described TRILL Frame or user vlan second port-mark corresponding with the combination of user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark, comprise:
Be broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark; And
Be multicast packet frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with the combination of user multicast MAC Address with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame and user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark.
Second aspect of the present invention is to provide a kind of multilink transparent interconnection Frame dispensing device, comprising:
The first acquisition module, for obtaining user's virtual LAN VLAN of the first protocol massages, or the combination of obtaining user vlan and user multicast medium access control MAC Address;
The second acquisition module, for obtaining the first port-mark of the pseudo-line cap that receives described the first protocol massages;
Memory module, for by the corresponding relation of the described user vlan getting and described the first port-mark, or the combination of described user vlan and user multicast MAC Address and the corresponding relation of described the first port-mark, store into and transmit;
Sending module, in the time receiving TRILL Frame, according to the combination of the user vlan in described TRILL Frame or user vlan and user multicast MAC Address, in described transmitting, search with described TRILL Frame in VLAN, or the combination of described user vlan and user multicast MAC Address, the second corresponding port-mark, forwards described TRILL Frame from pseudo-line cap corresponding to described the second port-mark.
In the possible implementation of the first aspect second, described the first acquisition module, comprising:
The first acquiring unit, for obtain the user vlan of TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address;
Described the second acquisition module, comprising:
Second acquisition unit, for obtaining the port-mark of the pseudo-line cap that receives described TRILL control frame, and using the port-mark of the pseudo-line cap of the described TRILL control frame of reception as described the first port-mark.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, described the first acquiring unit, specifically for:
The TRILL control frame that monitoring comprises VLAN interested and spanning tree tree root subtype length value obtains user vlan from the described TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value;
The TRILL control frame that monitoring comprises VLAN multicast, the combination of obtaining user vlan and user multicast MAC Address from the described TRILL control frame that comprises VLAN multicast;
The TRILL control frame that monitoring comprises meticulous label subtype length value obtains label to as described user vlan from the described TRILL control frame that comprises meticulous label subtype length value; With
The TRILL control frame that monitoring comprises meticulous label multicast address subtype length value, the combination of obtaining label pair and the meticulous label multicast mac address of user from the described TRILL control frame that comprises meticulous label multicast address subtype length value.
In the third possible implementation aspect second, described the first acquisition module, also comprises:
The 3rd acquiring unit, for receiving from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, described multi-VLAN log-in protocol message comprises the user vlan that described remote equipment obtains from the described TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, described many MAC log-in protocol message comprises user vlan that described remote equipment obtains from the described TRILL control frame listening to and the combination of user multicast MAC Address;
Described the second acquisition module, comprising:
The 4th acquiring unit, for the port-mark that obtains the pseudo-line cap that receives described multi-VLAN log-in protocol message or many MAC log-in protocol message as described the first port-mark.
In conjunction with the first, the second and the third possible implementation of second aspect, in the 4th kind of possible implementation, described sending module, comprising:
The first transmitting element, being used for is broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark;
Described the second transmitting element, being used for is multicast packet frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with the combination of user multicast MAC Address with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame and user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark.
Multilink transparent interconnection Frame sending method provided by the invention and device, PE is by obtaining the user vlan in TRILL control frame, or the combination of user vlan and user multicast MAC Address and receive the first port-mark of the pseudo-line cap of this TRILL control frame, and the user vlan getting or user vlan and user multicast MAC and port-mark are stored into and transmitted, make in receiving TRILL Frame, search and transmit to find the second corresponding port-mark with user multicast MAC according to the user vlan in this TRILL Frame or user vlan, thereby after being copied, TRILL Frame only forwards from pseudo-line cap corresponding to the second port-mark, avoid PE TRILL Frame to be caused to the waste of VPLS network side bandwidth from all remote equipment broadcast replications of connected PW side.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The applicable network architecture schematic diagram of multilink transparent interconnection Frame sending method that Figure 1A is the embodiment of the present invention;
Figure 1B is the flow chart of multilink transparent interconnection Frame sending method embodiment mono-of the present invention;
Fig. 2 is the flow chart of multilink transparent interconnection Frame sending method embodiment bis-of the present invention;
Fig. 3 A is the form schematic diagram of the applicable Interested VLAN and Spanning TreeRoots Sub-TLV of the embodiment of the present invention;
Fig. 3 B is the applicable The Group MAC Address Sub-TLV form schematic diagram of the embodiment of the present invention;
Fig. 4 is the flow chart of multilink transparent interconnection Frame sending method embodiment tri-of the present invention;
Fig. 5 is the flow chart of multilink transparent interconnection Frame sending method embodiment tetra-of the present invention;
Fig. 6 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment mono-of the present invention;
Fig. 7 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment bis-of the present invention;
Fig. 8 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment tri-of the present invention;
Fig. 9 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment tetra-of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, 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 embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The applicable network architecture schematic diagram of multilink transparent interconnection Frame sending method that Figure 1A is the embodiment of the present invention, Figure 1B is the flow chart of multilink transparent interconnection Frame sending method embodiment mono-of the present invention.The method of the present embodiment can be carried out by any one the provider edge equipment in network (English is Provider Edge, hereinafter to be referred as PE).
The bridge (English is network bridge) of operation TRILL agreement is called as routing bridge (English for Routing Bridge, hereinafter to be referred as RB), is a kind of bridge equipment with routing forwarding characteristic.Please refer to Figure 1A, PE1, PE2 and PE3 form TRILL network with multiple RB respectively, multiple TRILL networks interconnect by VPLS, be built into a TRILL over VPLS network, between PE, connect by pseudo-line cap, between PE and RB, connect by place in circuit (English is attachment circuit, hereinafter to be referred as AC) port.The present embodiment is to be interconnected into TRILL over VPLS network with TRILL network 1, TRILL network 2 and TRILL network 3 by VPLS the present invention will be described in detail.In TRILL over VPLS network, PE monitors the first protocol massages, concrete, the first protocol massages is for example that (English is Medium Access Control for TRILL control frame, multi-VLAN log-in protocol message or multimedium access control, hereinafter to be referred as MAC) log-in protocol message etc., by the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address and corresponding relation of receiving the mark of the PW port of this first protocol massages etc. are stored into and transmitted.Realize the forwarding as required to TRILL Frame in PW side.For example, the situation take the first protocol massages as TRILL control frame, PE1 monitors TRILL control frame, to obtain the user vlan in TRILL control frame, or the combination of user vlan and user multicast MAC.For example, and PE1 obtains and receives the PW port of this TRILL control frame, is PW12 port, by the user vlan getting, or the corresponding relation of user vlan and the combination of user multicast MAC Address and the mark of pseudo-line cap stores into and transmits.PE1 is receiving after TRILL Frame, according to the user vlan in this TRILL Frame, user vlan find in transmitting with being combined in of user multicast MAC Address with this TRILL Frame in user vlan or the corresponding pseudo-line cap PW12 of user vlan and the combination of user multicast MAC Address, TRILL Frame is sent by PW12 port, and not by PW13 port repeat, avoid causing the waste of bandwidth between PE1 and PE3.Concrete flow process, please refer to Figure 1B.
As shown in Figure 1B, the method for the present embodiment can comprise:
Step 101:PE obtains the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address.
In this step, PE obtains the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address.In the situation that the first protocol massages is TRILL control frame (English for TRILLControl Frame), PE obtains the user vlan in TRILL control frame, or obtains user vlan in TRILL control frame and the combination of user multicast MAC Address.In the situation that the first protocol massages is multi-VLAN log-in protocol message, PE obtains the user vlan in multi-VLAN log-in protocol message.In the situation that the first protocol massages is many MAC log-in protocol message, PE obtains user vlan in many MAC log-in protocol message and the combination of user multicast MAC Address.
Step 102:PE obtains the first port-mark of the pseudo-line cap that receives the first protocol massages;
PE obtains the port-mark of the pseudo-line cap that receives this first protocol massages, for convenience of description, is the first port-mark hereinafter referred to as this port-mark.
Step 103:PE is by the corresponding relation of the user vlan getting and the first port-mark; Maybe the corresponding relation of the combination of the user vlan getting and user multicast MAC Address and the first port-mark is stored into and transmitted.
Receive first port-mark of pseudo-line cap of the first protocol massages and the user vlan obtaining from this first protocol massages, or user vlan is corresponding with the combination of user multicast MAC Address.PE is by the corresponding relation of the combination of the user vlan getting or user vlan and user multicast MAC Address and pseudo-line cap the first port-mark, store into and transmit, make to transmit middle preservation user vlan, or the combination of user vlan and user multicast MAC Address and receive corresponding relation of the PW port of this TRILL control frame etc.
Step 104: in the time receiving TRILL Frame, according to the user vlan in TRILL Frame, or the combination of user vlan and user multicast MAC Address, in transmitting, search with TRILL Frame in VLAN, or user vlan second port-mark corresponding with the combination of user multicast MAC Address, the pseudo-line cap corresponding from the second port-mark forwards TRILL Frame.
In the time receiving TRILL Frame (English is TRILL Data Frame), PE is according to the user vlan in TRILL Frame, or user vlan and user multicast MAC, search transmit obtain with TRILL Frame in user vlan, or user vlan pseudo-line cap and then the transmission TRILL Frame corresponding with user multicast MAC.
The multilink transparent interconnection Frame sending method that the present embodiment provides, PE is by obtaining the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address and receive the first port-mark of the pseudo-line cap of this first protocol massages, and the corresponding relation of the user vlan getting and the first port-mark is stored into and transmitted, or the combination of user vlan and user multicast MAC Address and the corresponding relation of the first port-mark store into and transmit, make PE in receiving TRILL Frame, according to the user vlan in this TRILL Frame, or user vlan is searched and is transmitted to find the second corresponding port-mark with user multicast MAC, thereby after being copied, TRILL Frame only forwards from pseudo-line cap corresponding to the second port-mark, realize and as required TRILL Frame has been copied to forwarding from corresponding pseudo-line cap, avoid PE that TRILL Frame is carried out to broadcast replication and causes the waste of VPLS network side bandwidth from all remote equipments of connected PW side.
In one embodiment of this invention, PE receives the first protocol massages for example for TRILL control frame.According to the difference in functionality of message, TRILL message is divided into TRILL Frame and TRILL control frame.When the first protocol massages receiving as PE is TRILL control frame, PE obtains the user vlan in TRILL control frame, or the combination of user vlan and user multicast MAC Address and receive the port-mark of pseudo-line (English for Pseudo Wire, hereinafter to be referred as the PW) port of this TRILL control frame.Please refer to Figure 1A, is the RB2 configure user VLAN10 in edge router RB1, the TRILL network 2 in TRILL network 1 according to preset strategy, gives RB3 configure user VLAN20 in TRILL network 3, and PE1 obtains the VLAN10 in TRILL control frame; Or, give the edge router RB1 configure user VLAN10 in TRILL network 1, in user vlan 10, there is user to ask multicast mac address, for example MAC1, give the edge router RB2 configure user VLAN10 in TRILL network 2, in user vlan 10, there is user to ask multicast mac address, for example MAC1, give the edge router RB3 configure user VLAN10 in TRILL network 3, in user vlan 20, there is user to ask multicast mac address, for example MAC2, PE1 obtains the combination of user vlan in TRILL control frame 10 and user multicast MAC Address MAC1.
PE is by the corresponding relation of the user vlan getting and the first port-mark, or the corresponding relation of the combination of user vlan and user multicast MAC Address and the first port-mark of pseudo-line cap stores into and transmits, make to transmit middle preservation user vlan, or the combination of user vlan and user multicast MAC Address and receive corresponding relation of the PW port of this TRILL control frame etc.
In the time receiving TRILL Frame, PE is according to the user vlan in TRILL Frame, or the combination of user vlan and user multicast MAC, search transmit obtain with TRILL Frame in user vlan, or user vlan pseudo-line cap and then the transmission TRILL Frame corresponding with the combination of user multicast MAC Address.
The multilink transparent interconnection Frame sending method that the present embodiment provides, PE is by obtaining the user vlan in TRILL control frame, or the combination of user vlan and user multicast MAC Address and receive the first port-mark of the pseudo-line cap of this TRILL control frame, and by the corresponding relation of the user vlan getting the first port-mark, or the combination of user vlan and user multicast MAC Address and the corresponding relation of the first port-mark store into and transmit, make PE in receiving TRILL Frame, according to the user vlan in this TRILL Frame, or user vlan is searched and is transmitted to find the second corresponding port-mark with the combination of user multicast MAC Address, thereby after being copied, TRILL Frame only forwards from pseudo-line cap corresponding to the second port-mark, realize and as required TRILL Frame has been copied to forwarding from corresponding pseudo-line cap, avoid PE that TRILL Frame is carried out to broadcast replication and causes the waste of VPLS network side bandwidth from all remote equipments of connected PW side.Concrete flow process, please refer to Fig. 2, or with reference to Fig. 4 and Fig. 5.
Fig. 2 is the flow chart of multilink transparent interconnection Frame sending method embodiment bis-of the present invention.In the present embodiment, PE obtains user vlan by monitoring TRILL control frame, or the first port-mark of the pseudo-line cap of the combination of user vlan and user multicast MAC Address and reception TRILL control frame.Concrete, the present embodiment comprises the steps:
Step 201:PE monitors the TRILL control frame that PW side joint is received.
On the PE of VPLS node, realize the monitoring to TRILL control frame, (English is Type-Length-Value to different TRILL control frame type lengths values, hereinafter to be referred as TLV) type difference, obtain the user vlan of TRILL control frame or obtain user vlan and the combination of user multicast MAC Address according to the type of different TLV, and PE node obtains and receive the pseudo-line cap of this TRILL control frame.
Step 202:PE judges whether this TRILL control frame is the TRILL control frame that comprises interested VLAN and spanning tree tree root subtype length value, if this TRILL control frame is the TRILL control frame that comprises interested VLAN and spanning tree tree root subtype length value, perform step 203 to step 204; Otherwise execution step 205 is to step 208;
Type field in the type lengths values that PE comprises according to the TRILL control frame receiving judges whether the TRILL control frame getting is the TRILL control frame that comprises interested VLAN and spanning tree tree root subtype length value (English is Interested VLAN and Spanning Tree Roots Sub-TLV), concrete, the form of Interested VLAN and Spanning Tree Roots Sub-TLV is as shown in Figure 3A.Fig. 3 A is the form schematic diagram of the applicable Interested VLAN and SpanningTree Roots Sub-TLV of the embodiment of the present invention, and wherein, user vlan is the Interested VLAN as shown in Fig. 3 A.
Step 203:PE obtains user vlan and receives the port-mark of the PW port of this TRILL control frame.
PE equipment determine the TRILL control frame that receives for after the TRILL control frame that comprises Interested VLAN andSpanning Tree Roots Sub-TLV, obtain Interested VLAN in this TRILL control frame as user vlan, and obtain the port-mark of the PW port that receives this TRILL control frame.
Step 204:PE is transmitting the corresponding relation of middle storage user vlan and PW port.
In this step, the corresponding relation of the user vlan that PE obtains above-mentioned steps and PW port stores into be transmitted, make to receive after broadcast data frame or unknown unicast data frame as PE, according to the user vlan in broadcast data frame or unknown unicast data frame, from this is transmitted, obtain corresponding PW port, thereby copy and forward the TRILL Frame of this broadcast or unknown unicast.
Step 205:PE judges whether TRILL control frame is the TRILL control frame that comprises multicast mac address; If the TRILL control frame that comprises multicast mac address, performs step 206 to step 207, otherwise, execution step 208.
Type field in the type lengths values that PE comprises according to the TRILL control frame receiving judges whether the TRILL control frame getting is the TRILL control frame that comprises group MAC Address subtype length value (Group MACAddress Sub-TLV).Concrete, the form of Group MAC Address Sub-TLV is as shown in Figure 3 B.Fig. 3 B is the applicable The Group MAC AddressSub-TLV form schematic diagram of the embodiment of the present invention, and wherein, the combination of user vlan and user multicast MAC Address is as VLAN ID in Fig. 3 B and Group records.
Step 206:PE obtains the combination of user vlan and user multicast MAC Address and receives the port-mark of the PW port of this TRILL control frame.
PE is after determining the TRILL control frame receiving and being the TRILL control frame that comprises Group MAC Address Sub-TLV, obtain the user vlan of this TRILL control frame and the combination of user multicast MAC Address, and obtain the port-mark of the PW port that receives this TRILL control frame.
Step 207:PE is transmitting the combination of middle storage user vlan and user multicast MAC Address and the corresponding relation of PW port.
In this step, the user vlan that PE obtains above-mentioned steps and user multicast MAC Address, PW port store into and transmit, make to receive after the TRILL Frame of multicast as PE, from this is transmitted, obtain corresponding PW port, thereby copy and forward the TRILL Frame of this multicast.
Step 208:PE does not process this TRILL control frame.
The present embodiment is take the first protocol massages as TRILL control frame, and the present invention will be described in detail for the TRILL control frame that comprises Interested VLANand Spanning Tree Roots Sub-TLV or the TRILL control frame that comprises Group MAC AddressSub-TLV.But, the present invention is not as limit, in other execution mode, can be in different ways, for example, TRILL control frame is for comprising the TRILL control frame of meticulous label subtype length value (English is Fine Grained Lable Sub-TLV), or TRILL control frame is for comprising the TRILL control frame of meticulous label multicast address subtype length value (English is FineGrained Lable Group MAC Address Sub-TLV).
The present embodiment is first to perform step 202 ~ 204 to perform step 205 ~ 207 again the present invention will be described in detail for example, but the present invention, not as limit, in other execution mode, also can first perform step 205 ~ 207, then performs step 202 ~ 204.
The multilink transparent interconnection Frame sending method that the present embodiment provides, PE can be stored into and be transmitted by the port-mark that obtains user vlan or user vlan and the user multicast MAC in TRILL control frame in PW side and receive the pseudo-line cap of this TRILL control frame, make in receiving TRILL Frame, search and transmit to find corresponding pseudo-line cap with user multicast MAC according to the user vlan in this TRILL Frame or user vlan, thereby after being copied, TRILL Frame only forwards from corresponding pseudo-line cap, avoid PE TRILL Frame to be caused to the waste of VPLS network side bandwidth from all remote equipment broadcast replications of connected PW side.
Fig. 4 is the flow chart of multilink transparent interconnection Frame sending method embodiment tri-of the present invention.In the present embodiment, multi-VLAN log-in protocol message or many MAC log-in protocol message that PE sends by receiving remote equipment, and obtain the combination of user vlan in protocol massages or user vlan and user multicast MAC Address and the first port-mark with the pseudo-line cap of reception TRILL control frame.Concrete, the present embodiment comprises following flow process:
Step 401:PE is at AC side joint TRILL control frame.
Step 402:PE judges whether this TRILL control frame is the TRILL control frame that comprises interested VLAN and spanning tree tree root subtype length value; If so, perform step 403 to step 404; Otherwise, execution step 405.
Type field in the type lengths values that PE comprises according to the TRILL control frame receiving judges whether the TRILL control frame receiving is the TRILL control frame that comprises interested VLAN and spanning tree tree root subtype length value (English is Interested VLAN and Spanning Tree Roots Sub-TLV), concrete, the form of Interested VLAN and Spanning Tree Roots Sub-TLV, can be referring to shown in Fig. 3 A, wherein, user vlan is as the Interested VLAN in Fig. 3 A.
Step 403:PE obtains user vlan.
After PE determines the TRILL control frame receiving and is the TRILL control frame that comprises Interested VLAN and SpanningTree Roots Sub-TLV, obtain the user vlan of this TRILL control frame.
Step 404:PE is carried at user vlan in MVRP message and sends.
User vlan is carried at multi-VLAN log-in protocol by PE, and (English is Multiple VLANRegistration Protocol, hereinafter to be referred as MVRP) in message to all far-end PE broadcast of the PW side being connected with this PE, thereby the corresponding relation of PW port and user vlan is passed to the PE of far-end, so that far-end PE obtains user vlan in MVRP message and receive the port-mark of the pseudo-line cap of this MVRP message, and the corresponding relation of user vlan and port-mark is stored into and transmitted.
Step 405:PE judges whether this TRILL control frame is the TRILL control frame that comprises user multicast MAC Address, if so, performs step 406 to step 407, otherwise, execution step 408.
Type field in the type lengths values that PE comprises according to the TRILL control frame receiving judges whether the TRILL control frame getting is the TRILL control frame that comprises user multicast MAC Address subtype length value (English is Group MAC Address Sub-TLV), concrete, Group MAC AddressSub-TLV form, can be referring to shown in Fig. 3 B.
Step 406:PE obtains the combination of user vlan and user multicast MAC Address.
After PE determines the TRILL control frame receiving and is the TRILL control frame that comprises Group MAC Address Sub-TLV, obtain the user vlan of this TRILL control frame and the combination of user multicast MAC Address, and obtain the AC port that receives this TRILL control frame.
Step 407:PE is carried at the combination of user vlan and user multicast MAC Address in MMRP message and sends.
User vlan and user multicast MAC are carried at many MAC log-in protocol (English Multiple MAC Registration Protocol of being by PE, hereinafter to be referred as MMRP) in message to all far-end PE broadcast of the PW side being connected with this PE, thereby the corresponding relation of the combination of PW port and user vlan and user multicast MAC Address is passed to the PE of far-end, transmit so that the corresponding relation that far-end PE is obtained the combination of user vlan in protocol massages and user multicast MAC Address and received the port-mark of the pseudo-line cap of protocol massages stores into.
Step 408:PE does not process this TRILL control frame.
When the TRILL control frame receiving does not belong to the TRILL control frame of above-mentioned two kinds of forms, PE does not process.
The present embodiment is take the first protocol massages as multi-VLAN log-in protocol message or many MAC log-in protocol message, and be that the present invention will be described in detail for the multi-VLAN log-in protocol message that comprises Interested VLAN and Spanning Tree Roots Sub-TLV or the many MAC log-in protocol message that comprises Group MAC Address Sub-TLV, but, the present invention is not as limit, in other execution mode, can be in different ways, for example, multi-VLAN log-in protocol message can be the multi-VLAN log-in protocol message that comprises meticulous label subtype length value, many MAC log-in protocol message can be the many MAC log-in protocol message that comprises meticulous label multicast address subtype length value.
Due to the symmetry that sends, receives, far-end PE can be used as local PE, far-end PE and local PE receive multi-VLAN log-in protocol message or many MAC log-in protocol message, and obtain the user vlan in protocol massages, or the combination of user vlan and user multicast MAC Address and with receive TRILL control frame the process of the first port-mark of pseudo-line cap time similar, repeat no more herein.
The present embodiment is first to perform step 402 ~ 404 to perform step 405 ~ 407 again the present invention will be described in detail for example, but the present invention, not as limit, in other execution mode, also can first perform step 405 ~ 407, then performs step 402 ~ 404.
The multilink transparent interconnection Frame sending method that the present embodiment provides, PE can be by obtaining the user vlan in TRILL control frame in AC side, the combination of user vlan and user multicast MAC Address and be carried at MVRP message or MMRP message in send to far-end PE, so that remote equipment can be according to the user vlan in the MVRP message receiving or MMRP message, or the combination of user vlan and user multicast MAC Address and the corresponding relation that receives the PW port of this MVRP message or MMRP message store into and transmit.
Fig. 5 is the flow chart of multilink transparent interconnection Frame sending method embodiment tetra-of the present invention.The present embodiment, take previous embodiment as basis, receives to PE the operation forwarding after TRILL Frame and is elaborated.Concrete, the present embodiment comprises the steps:
Step 501:PE receives TRILL Frame.
PE receives TRILL Frame from AC side joint, for example, receives the broadcast data frame, unknown unicast data frame or the multicast packet frame that enter VPLS.
Step 502:PE judges whether this TRILL Frame is multicast packet frame, if multicast packet frame performs step 503 to step 504; Otherwise, execution step 505.
PE judges according to the target MAC (Media Access Control) address of the TRILL Frame receiving whether TRILL Frame is multicast packet frame.
Step 503:PE searches and transmits according to the combination of user vlan and user multicast MAC Address, if hit, performs step 504; Otherwise, execution step 505.
In this step, the TRILL Frame that PE receives is multicast packet frame, according to user vlan and the combination of user multicast MAC Address search transmit in and the user vlan port-mark corresponding with the combination of user multicast MAC Address, and then find the PW port corresponding with port-mark.
Step 504:PE copies forwarding with the combination of user multicast MAC Address toward PW port corresponding to port-mark according to user vlan.
PE is according to the PW port finding, and duplicated multicast Frame also forwards.
Step 505:PE judges that whether this TRILL Frame is broadcast or unknown unicast data frame, if so, performs step 506; Otherwise, execution step 508.
In the time that PE judges the TRILL Frame receiving and is not multicast packet frame, further determine whether broadcast data frame or unknown unicast data frame.For example, in the time that the target MAC (Media Access Control) address of the TRILL Frame receiving is complete 1, think broadcast data frame.If the TRILL Frame receiving does not belong to multicast packet frame or broadcast data frame or unknown unicast data frame, perform step 508.
Step 506:PE searches and transmits according to user vlan, if hit, performs step 507; Otherwise, execution step 508.
In this step, the TRILL Frame that PE receives is broadcast data frame or unknown unicast data frame, searches in transmitting of multicast and port-mark corresponding to user vlan according to user vlan, and then finds the PW port corresponding with port-mark.
Step 507:PE copies forwarding according to user vlan toward PW port corresponding to port-mark.
PE is according to the PW port finding, and the Frame of copy broadcast or unknown unicast also forwards.
This TRILL Frame of step 508:PE broadcast replication.
If the TRILL Frame that PE receives does not belong to multicast packet frame or broadcast data frame or unknown unicast data frame, or can not hit and transmit, copy the TRILL Frame receiving and broadcast.
The multilink transparent interconnection net data frame sending method that the present embodiment provides, by monitor TRILL control frame on VPLS PE, realize multicast to TRILL and the TRILL Frame of broadcast/unknown unicast forwards as required in PW side, avoid VPLS network in forwarding TRILL Frame, carry out the problem of broadcast replication to all PW sides, thereby can save the bandwidth of VPLS network side.
For clearer elaboration skill method of the present invention, obtain the user vlan in TRILL control frame for PE, below by the concrete scene of answering, the above embodiment of the present invention is elaborated.
Please refer to again Figure 1A, suppose that according to preset strategy be the RB2 configure user VLAN10 in edge router RB1, the TRILL network 2 in TRILL network 1, give RB3 configure user VLAN20 in TRILL network 3, PE1 obtains the port-mark PW12 with the PW port of this TRILL control frame of reception from the user vlan 10 in the TRILL control frame of PE2, and stores the corresponding relation of VLAN10 and PW12; In like manner, PE1 obtains the port-mark PW13 with the PW port of this TRILL control frame of reception from the user vlan 20 in the TRILL control frame of PE3, and stores the corresponding relation of VLAN20 and PW13.
In the time that PE1 receives from the broadcast data frame of RB1 or unknown unicast data frame, search and transmit according to the user vlan 10 in broadcast data frame or unknown unicast data frame, thereby find the port PW12 corresponding with VLAN10 that broadcast data frame or unknown unicast data frame are forwarded and do not forwarded from PW13 from PW12, avoid causing the waste of the link bandwidth between PE1 and PE3.
Fig. 6 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment mono-of the present invention.As shown in Figure 6, the device of the present embodiment can comprise: the first acquisition module 11, the second acquisition module 12, memory module 13 and sending module 14.
The first acquisition module 11, for obtaining user's virtual LAN VLAN of the first protocol massages, or the combination of obtaining user vlan and user multicast medium access control MAC Address;
The second acquisition module 12, for obtaining the first port-mark of the pseudo-line cap that receives the first protocol massages;
Sending module 14, in the time receiving TRILL Frame, according to the combination of the user vlan in TRILL Frame or user vlan and user multicast MAC Address, in transmitting, search with TRILL Frame in VLAN, or the combination of user vlan and user multicast MAC Address, the second corresponding port-mark, the pseudo-line cap corresponding from the second port-mark forwards TRILL Frame.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 1B, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 7 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment bis-of the present invention.As shown in Figure 7, the device of the present embodiment is on the basis of Fig. 6 shown device structure, and the first acquisition module 11, further can comprise: the first acquiring unit 111; The second acquisition module 12, further can comprise: second acquisition unit 112.
The first acquiring unit 111, for obtain the user vlan of TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address;
Further, the first acquiring unit 111, specifically for:
The TRILL control frame that monitoring comprises VLAN interested and spanning tree tree root subtype length value obtains user vlan from the TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value;
The TRILL control frame that monitoring comprises VLAN multicast, the combination of obtaining user vlan and user multicast MAC Address from the TRILL control frame that comprises VLAN multicast;
The TRILL control frame that monitoring comprises meticulous label obtains label to as user vlan from the TRILL control frame that comprises meticulous label; With
Monitor the meticulous label TRILL of multicast control frame, from the meticulous label TRILL of multicast control frame, obtain the meticulous label of user and meticulous label multicast mac address as user vlan and user multicast MAC Address.
Please refer to Fig. 7, further, the first acquisition module 11 of multilink transparent interconnection Frame dispensing device of the present invention, also comprises again:
The 3rd acquiring unit 113, for receiving from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, multi-VLAN log-in protocol message comprises the user vlan that remote equipment obtains from the TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, many MAC log-in protocol message comprises user vlan that remote equipment obtains from the TRILL control frame listening to and the combination of user multicast MAC Address;
The second acquisition module 12, comprising:
The 4th acquiring unit 114, for the port-mark that obtains the pseudo-line cap that receives multi-VLAN log-in protocol message or many MAC log-in protocol message as the first port-mark.
Fig. 8 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment tri-of the present invention.As shown in Figure 8, the device of the present embodiment is on the basis of Fig. 7 shown device structure, and further, sending module 14, further can comprise:
The first transmitting element 141, being used for is broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in transmitting, search second port-mark corresponding with user vlan in TRILL Frame according to the user vlan in TRILL Frame, TRILL Frame is forwarded from pseudo-line cap corresponding to the second port-mark;
The second transmitting element 142, being used for is multicast packet frame at the TRILL Frame receiving, in transmitting, search second port-mark corresponding with the combination of user multicast MAC Address with user vlan in TRILL Frame according to the user vlan in TRILL Frame and user multicast MAC Address, TRILL Frame is forwarded from pseudo-line cap corresponding to the second port-mark.
Fig. 9 is the structural representation of multilink transparent interconnection Frame dispensing device embodiment tetra-of the present invention.As shown in Figure 9, the multilink transparent interconnection Frame dispensing device 900 of the present embodiment comprises at least one CPU901, a forwarding chip 902, at least one network interface 903 or other user interfaces 904, memory 905, and at least one communication bus 906.Communication bus 906 is for realizing the connection communication between each device.This multilink transparent interconnection Frame dispensing device 900 optionally comprises user interface 904, comprises display, keyboard or pointing device.Memory 905 may comprise high-speed RAM memory, also may also comprise nonvolatile memory (English for non-volatile memory, hereinafter to be referred as NVM), for example at least one magnetic disc store.Memory 905 optionally can comprise at least one and be positioned at the storage device away from aforementioned CPU901, stores various codes etc., for realizing various basic businesses and processing hardware based task;
Following action is carried out in the indication of the code that wherein, CUP901 stores according to memory 905:
Obtain the user vlan in the first protocol massages, or obtain the combination of user vlan and user multicast MAC Address;
Obtain the first port-mark of the pseudo-line cap that receives the first protocol massages;
By the corresponding relation of the user vlan getting and the first port-mark, or the combination of user vlan and user multicast MAC Address and the corresponding relation of the first port-mark, store into and transmit;
Further, CPU901 also for: obtain the user vlan of TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address; Obtain the port-mark of the pseudo-line cap that receives TRILL control frame, and using the port-mark of the pseudo-line cap of reception TRILL control frame as the first port-mark.
Further, CPU901 also for: monitor comprise VLAN interested and spanning tree tree root subtype length value TRILL control frame, from the TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value, obtain user vlan;
The TRILL control frame that monitoring comprises VLAN multicast, the combination of obtaining user vlan and user multicast MAC Address from the TRILL control frame that comprises VLAN multicast;
The TRILL control frame that monitoring comprises meticulous label obtains label to as user vlan from the TRILL control frame that comprises meticulous label; With
Monitor the meticulous label TRILL of multicast control frame, from the meticulous label TRILL of multicast control frame, obtain the meticulous label of user and meticulous label multicast mac address as user vlan and user multicast MAC Address.
Further, CPU901 also for: receive from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, multi-VLAN log-in protocol message comprises the user vlan that remote equipment obtains from the TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, many MAC log-in protocol message comprises user vlan that remote equipment obtains from the TRILL control frame listening to and the combination of user multicast MAC Address;
Obtain the port-mark of the pseudo-line cap that receives multi-VLAN log-in protocol message or many MAC log-in protocol message as the first port-mark.
Further, forwarding chip 902 for, be broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in transmitting, search second port-mark corresponding with user vlan in TRILL Frame according to the user vlan in TRILL Frame, TRILL Frame is forwarded from pseudo-line cap corresponding to the second port-mark; And
The core component that the multilink transparent interconnection Frame dispensing device 900 that the present embodiment provides comprises for the treatment of business, due to uncorrelated with execution mode specific purposes, is not repeated herein.In the multilink transparent interconnection Frame dispensing device that the present embodiment provides and Fig. 7, the course of work of multilink transparent interconnection Frame dispensing device is approximate, repeats no more.
Multilink transparent interconnection Frame sending method and device that the embodiment of the present invention provides, PE is by obtaining the user vlan in multilink transparent interconnection TRILL control frame, or the combination of user vlan and user multicast MAC Address and receive the port-mark of the pseudo-line cap of this TRILL control frame, and by the user vlan getting, or user vlan and the combination of user multicast MAC Address and the corresponding relation of port-mark store into and transmit, make in receiving TRILL Frame, according to the user vlan in this Frame, or user vlan is searched and is transmitted to find corresponding pseudo-line cap with the combination of user multicast MAC Address, thereby after being copied, TRILL Frame only forwards from corresponding pseudo-line cap, avoid PE TRILL Frame to be caused to the waste of VPLS network side bandwidth from all remote equipment broadcast replications of connected PW side.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a multilink transparent interconnection Frame sending method, is characterized in that, comprising:
Obtain the user's virtual LAN VLAN in the first protocol massages, or obtain the combination of user vlan and user multicast medium access control MAC Address;
Obtain the first port-mark of the pseudo-line cap that receives described the first protocol massages;
By the corresponding relation of the described user vlan getting and described the first port-mark, or the combination of described user vlan and user multicast MAC Address and the corresponding relation of described the first port-mark, store into and transmit;
In the time receiving multilink transparent interconnection TRILL Frame, according to the user vlan in described TRILL Frame, or the combination of user vlan and user multicast MAC Address, in described transmitting, search with described TRILL Frame in VLAN, or described user vlan second port-mark corresponding with the combination of user multicast MAC Address, forward described TRILL Frame from pseudo-line cap corresponding to described the second port-mark.
2. method according to claim 1, is characterized in that, described the first protocol massages is TRILL control frame, described in obtain the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address, comprising:
Obtain the user vlan TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address;
Described the first port-mark that obtains the pseudo-line cap that receives described the first protocol massages, comprising:
Obtain the port-mark of the pseudo-line cap that receives described TRILL control frame, and using the port-mark of the pseudo-line cap of the described TRILL control frame of reception as described the first port-mark.
3. method according to claim 2, is characterized in that, describedly obtains the user vlan TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address, comprises following any one mode:
The TRILL control frame that monitoring comprises VLAN interested and spanning tree tree root subtype length value obtains user vlan from the described TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value;
The TRILL control frame that monitoring comprises multicast address subtype length value, the combination of obtaining user vlan and user multicast MAC Address from the described TRILL control frame that comprises multicast address subtype length value;
The TRILL control frame that monitoring comprises meticulous label subtype length value obtains label to as described user vlan from the described TRILL control frame that comprises meticulous label subtype length value; With
The TRILL control frame that monitoring comprises meticulous label multicast address subtype length value, the combination of obtaining label pair and the meticulous label multicast mac address of user from the described TRILL control frame that comprises meticulous label multicast address subtype length value.
4. method according to claim 1, is characterized in that, described in obtain the user vlan in the first protocol massages, or the combination of user vlan and user multicast MAC Address, comprising:
Receive from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, described multi-VLAN log-in protocol message comprises the user vlan that described remote equipment obtains from the TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, described many MAC log-in protocol message comprises user vlan that described remote equipment obtains from the TRILL control frame listening to and the combination of user multicast MAC Address;
Described the first port-mark that obtains the pseudo-line cap that receives described the first protocol massages, comprising:
Obtain the port-mark of the pseudo-line cap that receives described multi-VLAN log-in protocol message or described many MAC log-in protocol message as described the first port-mark.
5. according to the arbitrary described method of claim 1 ~ 4, it is characterized in that, in the time receiving TRILL Frame, according to the combination of the VLAN in described TRILL Frame or user vlan and user multicast MAC Address, in described transmitting, search and VLAN in described TRILL Frame or user vlan second port-mark corresponding with the combination of user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark, comprising:
Be broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark; And
Be multicast packet frame at the TRILL Frame receiving, according to searching described second port-mark corresponding with the combination of user multicast MAC Address with user vlan in described TRILL Frame in transmitting described in being combined in of the user vlan in described TRILL Frame and user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark.
6. a multilink transparent interconnection Frame dispensing device, is characterized in that, comprising:
The first acquisition module, for obtaining user's virtual LAN VLAN of the first protocol massages, or the combination of obtaining user vlan and user multicast medium access control MAC Address;
The second acquisition module, for obtaining the first port-mark of the pseudo-line cap that receives described the first protocol massages;
Memory module, for by the corresponding relation of the described user vlan getting and described the first port-mark, or the combination of described user vlan and user multicast MAC Address and the corresponding relation of described the first port-mark, store into and transmit;
Sending module, in the time receiving multilink transparent interconnection TRILL Frame, according to the user vlan in described TRILL Frame, or the combination of user vlan and user multicast MAC Address, in described transmitting, search with described TRILL Frame in VLAN, or described user vlan second port-mark corresponding with the combination of user multicast MAC Address, forward described TRILL Frame from pseudo-line cap corresponding to described the second port-mark.
7. device according to claim 6, is characterized in that, described the first acquisition module, comprising:
The first acquiring unit, for obtain the user vlan of TRILL control frame from pseudo-line side, or the combination of user vlan and user multicast MAC Address;
Described the second acquisition module, comprising:
Second acquisition unit, for obtaining the port-mark of the pseudo-line cap that receives described TRILL control frame, and using the port-mark of the pseudo-line cap of the described TRILL control frame of reception as described the first port-mark.
8. device according to claim 7, is characterized in that, described the first acquiring unit, specifically for:
The TRILL control frame that monitoring comprises VLAN interested and spanning tree tree root subtype length value obtains user vlan from the described TRILL control frame that comprises virtual local area interested and spanning tree tree root subtype length value;
The TRILL control frame that monitoring comprises VLAN multicast, the combination of obtaining user vlan and user multicast MAC Address from the described TRILL control frame that comprises VLAN multicast;
The TRILL control frame that monitoring comprises meticulous label subtype length value obtains label to as described user vlan from the described TRILL control frame that comprises meticulous label subtype length value; With
The TRILL control frame that monitoring comprises meticulous label multicast address subtype length value, the combination of obtaining label pair and the meticulous label multicast mac address of user from the described TRILL control frame that comprises meticulous label multicast address subtype length value.
9. require the device described in 6 according to power, it is characterized in that, described the first acquisition module, also comprises:
The 3rd acquiring unit, for receiving from pseudo-line side joint the multi-VLAN log-in protocol message that remote equipment sends, described multi-VLAN log-in protocol message comprises the user vlan that described remote equipment obtains from the described TRILL control frame listening to, or, receive from pseudo-line side joint many MAC log-in protocol message that remote equipment sends, described many MAC log-in protocol message comprises user vlan that described remote equipment obtains from the described TRILL control frame listening to and the combination of user multicast MAC Address;
Described the second acquisition module, comprising:
The 4th acquiring unit, for the port-mark that obtains the pseudo-line cap that receives described multi-VLAN log-in protocol message or described many MAC log-in protocol message as described the first port-mark.
10. according to the arbitrary described device of claim 6 ~ 9, it is characterized in that, described sending module, comprising:
The first transmitting element, being used for is broadcast data frame or unknown unicast data frame at the TRILL Frame receiving, in described transmitting, search described second port-mark corresponding with user vlan in described TRILL Frame according to the user vlan in described TRILL Frame, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark;
Described the second transmitting element, being used for is multicast packet frame at the TRILL Frame receiving, according to searching described second port-mark corresponding with the combination of user multicast MAC Address with user vlan in described TRILL Frame in transmitting described in being combined in of the user vlan in described TRILL Frame and user multicast MAC Address, described TRILL Frame is forwarded from pseudo-line cap corresponding to described the second port-mark.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468141.7A CN103825794B (en) | 2012-11-19 | 2012-11-19 | Transparent interconnection of lots of links internet data frame sending method and device |
PCT/CN2013/073988 WO2014075421A1 (en) | 2012-11-19 | 2013-04-10 | Method and apparatus for sending multi-link transparent interconnected data frame |
EP13855587.5A EP2908476B1 (en) | 2012-11-19 | 2013-04-10 | Method and apparatus for sending multi-link transparent interconnected data frame |
US14/714,764 US9654304B2 (en) | 2012-11-19 | 2015-05-18 | Method and apparatus for sending transparent interconnection of lots of links data frame |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468141.7A CN103825794B (en) | 2012-11-19 | 2012-11-19 | Transparent interconnection of lots of links internet data frame sending method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103825794A true CN103825794A (en) | 2014-05-28 |
CN103825794B CN103825794B (en) | 2017-07-14 |
Family
ID=50730548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210468141.7A Active CN103825794B (en) | 2012-11-19 | 2012-11-19 | Transparent interconnection of lots of links internet data frame sending method and device |
Country Status (4)
Country | Link |
---|---|
US (1) | US9654304B2 (en) |
EP (1) | EP2908476B1 (en) |
CN (1) | CN103825794B (en) |
WO (1) | WO2014075421A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103546385B (en) * | 2012-07-10 | 2017-12-15 | 新华三技术有限公司 | Flow transmission control method and equipment |
CN104253759B (en) * | 2013-06-30 | 2017-08-29 | 华为技术有限公司 | Message forwarding method, apparatus and system |
CN114598422A (en) * | 2022-02-28 | 2022-06-07 | 展讯半导体(南京)有限公司 | Ethernet data sending and receiving method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616014A (en) * | 2009-07-30 | 2009-12-30 | 中兴通讯股份有限公司 | A kind of method that realizes cross-virtual private local area network multicast |
CN102075446A (en) * | 2011-03-01 | 2011-05-25 | 杭州华三通信技术有限公司 | Interconnection method of transparent interconnection network of lots of links in different places and operator edge device |
CN102244614A (en) * | 2011-08-15 | 2011-11-16 | 福建星网锐捷网络有限公司 | Message forwarding method, system and routing switch |
US20120177042A1 (en) * | 2011-01-07 | 2012-07-12 | Berman Stuart B | Methods, systems and apparatus for the interconnection of fibre channel over ethernet devices using a fibre channel over ethernet interconnection apparatus controller |
CN102647324A (en) * | 2011-02-21 | 2012-08-22 | 中兴通讯股份有限公司 | TRILL (Transparent Interconnection over Lots of Links) network interconnection method and system |
US20120218994A1 (en) * | 2009-10-21 | 2012-08-30 | Ruobin Zheng | Network communication method and network node device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2497234B1 (en) * | 2009-11-02 | 2018-09-19 | Marvell World Trade Ltd. | Network device and method based on virtual interfaces |
US8446914B2 (en) * | 2010-06-08 | 2013-05-21 | Brocade Communications Systems, Inc. | Method and system for link aggregation across multiple switches |
US8559433B2 (en) * | 2011-01-07 | 2013-10-15 | Jeda Networks, Inc. | Methods, systems and apparatus for the servicing of fibre channel fabric login frames |
US8605626B2 (en) * | 2011-05-18 | 2013-12-10 | Cisco Technology, Inc. | Method and apparatus for preserving extensions in multi-vendor trill networks |
US9100215B2 (en) * | 2011-07-29 | 2015-08-04 | Aruba Networks, Inc. | Managing multiple virtual network memberships |
-
2012
- 2012-11-19 CN CN201210468141.7A patent/CN103825794B/en active Active
-
2013
- 2013-04-10 EP EP13855587.5A patent/EP2908476B1/en active Active
- 2013-04-10 WO PCT/CN2013/073988 patent/WO2014075421A1/en active Application Filing
-
2015
- 2015-05-18 US US14/714,764 patent/US9654304B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616014A (en) * | 2009-07-30 | 2009-12-30 | 中兴通讯股份有限公司 | A kind of method that realizes cross-virtual private local area network multicast |
US20120218994A1 (en) * | 2009-10-21 | 2012-08-30 | Ruobin Zheng | Network communication method and network node device |
US20120177042A1 (en) * | 2011-01-07 | 2012-07-12 | Berman Stuart B | Methods, systems and apparatus for the interconnection of fibre channel over ethernet devices using a fibre channel over ethernet interconnection apparatus controller |
CN102647324A (en) * | 2011-02-21 | 2012-08-22 | 中兴通讯股份有限公司 | TRILL (Transparent Interconnection over Lots of Links) network interconnection method and system |
CN102075446A (en) * | 2011-03-01 | 2011-05-25 | 杭州华三通信技术有限公司 | Interconnection method of transparent interconnection network of lots of links in different places and operator edge device |
CN102244614A (en) * | 2011-08-15 | 2011-11-16 | 福建星网锐捷网络有限公司 | Message forwarding method, system and routing switch |
Also Published As
Publication number | Publication date |
---|---|
WO2014075421A1 (en) | 2014-05-22 |
EP2908476A1 (en) | 2015-08-19 |
EP2908476B1 (en) | 2016-09-28 |
CN103825794B (en) | 2017-07-14 |
EP2908476A4 (en) | 2015-08-19 |
US9654304B2 (en) | 2017-05-16 |
US20150249550A1 (en) | 2015-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102035729B (en) | Multicast data forwarding method | |
CN101160902B (en) | Data forwarding method and switching arrangement | |
US8730979B2 (en) | Method and system for increasing forwarding efficiency of virtual private LAN service network | |
CN103269299B (en) | Message forwarding method in SPBM network and device | |
US20110032945A1 (en) | Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers | |
CN102273177B (en) | Neighbour discovery protocol mediation | |
CN102075422B (en) | Multicast management method and two-layer equipment | |
CN102143026B (en) | Method for avoiding loop circuit in virtual two layer network | |
CN105812259A (en) | Packet forwarding method and device | |
CN104378296A (en) | Message forwarding method and device | |
CN101330424A (en) | Method, system and apparatus for processing service fault of virtual special network | |
CN102932254A (en) | Message forwarding method and device | |
CN102420762B (en) | Message forwarding method, message forwarding system, network equipment and firewall wire card | |
CN103117935A (en) | Multicast data forwarding method and multicast data forwarding device applied to multi-homing networking | |
US10225091B2 (en) | Method for implementing point-to-multipoint multicast, network node, and system | |
CN105187311A (en) | Message forwarding method and message forwarding device | |
CN102098202A (en) | Virtual private topology control method, device and system | |
CN103138955A (en) | Managing IGMP multicast transmission using multiple queriers | |
CN102957620A (en) | Equipment and method for management of MAC (media access control) address table entries in TRILL (transparent interconnection of lots of links) network | |
CN102801622A (en) | Transmitting method and device for data messages | |
CN103685007A (en) | Method for MAC address learning during packet forwarding of edge devices and edge device | |
CN103825794A (en) | Transparent Interconnection of lots of links data frame sending method and device | |
CN102724126A (en) | Method, device and equipment for forwarding Ethernet tree (E-tree) service message | |
US9548887B2 (en) | Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover | |
CN102244615B (en) | Forwarding entry sending method, device and system as well as autonomous system border router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |