WO2018099393A1 - 组播数据报文的转发 - Google Patents

组播数据报文的转发 Download PDF

Info

Publication number
WO2018099393A1
WO2018099393A1 PCT/CN2017/113553 CN2017113553W WO2018099393A1 WO 2018099393 A1 WO2018099393 A1 WO 2018099393A1 CN 2017113553 W CN2017113553 W CN 2017113553W WO 2018099393 A1 WO2018099393 A1 WO 2018099393A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
port
ecid
data packet
vlan
Prior art date
Application number
PCT/CN2017/113553
Other languages
English (en)
French (fr)
Inventor
周孟韬
祁正林
修亦宏
刘刀桂
朱育超
宋高
Original Assignee
新华三技术有限公司
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 新华三技术有限公司 filed Critical 新华三技术有限公司
Priority to JP2019528865A priority Critical patent/JP6845934B2/ja
Priority to US16/465,005 priority patent/US10880109B2/en
Priority to EP17876182.1A priority patent/EP3534577B1/en
Publication of WO2018099393A1 publication Critical patent/WO2018099393A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation

Definitions

  • the Extended Bridge consists of a Control Bridge (CB) and one or more Port Extenders (PEs).
  • CB can be a single bridge or a bridge composed of multiple bridge stacks.
  • the CB is the multicast ECID of the outbound port in the virtual local area network (VLAN) of the same multicast group of the PE.
  • the egress port replicates multicast data packets and adds VLAN tags and ETAGs to each replicated multicast data packet.
  • the multicast ECID carried by the ETAG indicates the egress port located in the VLAN corresponding to the VLAN tag.
  • the CB sends the multicast data packets carrying the VLAN tag and the ETAG to the PE through the Cascade port.
  • the PE copies a multicast data packet according to each egress port corresponding to the multicast ECID of the multicast data packet with the VLAN tag and the ETAG, and strips the ETAG of each replicated multicast data packet.
  • Out port is sent.
  • FIG. 1 is a flowchart of a method for forwarding a multicast data packet according to an embodiment of the present disclosure.
  • FIG. 2 is another flowchart of a method for forwarding a multicast data packet according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of multicast data packet forwarding of an extended bridge according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a multicast data packet forwarding apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a control bridge provided with the multicast data packet forwarding device of FIG. 4 according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a control bridge provided with the multicast data packet forwarding device of FIG. 4 according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a multicast data packet forwarding apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a port expander provided with the multicast data packet forwarding device of FIG. 7 according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a port expander provided with the multicast data packet forwarding device of FIG. 7 according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for forwarding a multicast data packet according to an embodiment of the present disclosure.
  • the method may be used to extend a control bridge of a bridge. As shown in Figure 1, the method includes:
  • Step 111 Receive a multicast data packet.
  • Step 113 Determine a multicast ECID and a cascade port associated with the multicast group of the multicast data packet, where the multicast ECID points to an outbound port of a different VLAN of the multicast group on the port expander connected to the cascade port.
  • Step 115 Add an ETAG with a multicast ECID for the multicast data packet.
  • step 117 the multicast data packet with the ETAG with the multicast ECID added is sent through the expansion port.
  • the method for forwarding the multicast data packet shown in FIG. 1 has the beneficial effect that the control bridge sends only one multicast data packet to the PE of the multicast group with different VLAN ports, which reduces the bandwidth of the E-stack link. Occupied.
  • FIG. 2 is a flowchart of a method for forwarding a multicast data packet according to an embodiment of the present disclosure.
  • the method may be used to extend a port expander of a bridge system. As shown in FIG. 2B, the method includes:
  • Step 220 Receive a multicast data packet including an ETAG through an upstream port.
  • the multicast ECID included in the ETAG points to an outbound port of a different VLAN of the multicast group.
  • step 222 the multicast replication information matching the multicast ECID is found.
  • the multicast replication information includes the outbound ports of the multicast group corresponding to the multicast data packet and the VLAN identifier of each egress port.
  • step 224 a multicast data packet is copied for each egress port according to the multicast replication information, and the ETAG of each duplicated multicast data packet is stripped, and each egress port is added for each replicated multicast data packet.
  • the VLAN ID is used to send multicast data packets containing VLAN IDs on each egress port.
  • the beneficial effect of the method for forwarding multicast data packets shown in FIG. 2 is that the port expander forwards according to the control bridge.
  • the multicast data packets are copied to the egress port of the different VLANs, and the copied multicast data packets are sent through the egress ports.
  • the CB 31 is connected to the upstream port 32-1 of the PE 32 and the upstream port 33-1 of the PE 33 through the cascade ports 31-1 and 31-2, respectively.
  • the expansion ports 32-2, 32-3, 32-4, and 32-5 of the PE 32 are connected to the terminals 34 to 37, respectively, and the expansion ports 33-2 and 33-3 of the PE 33 are connected to the terminals 38 and 39, respectively.
  • Terminals 34, 35 and 38 are located in VLAN 10 and terminals 36, 37 and 39 are located in VLAN 20.
  • the terminal 34 sends an IGMP (Internet Group Management Protocol) membership report message to the multicast group G2.
  • the PE32 receives the IGMP membership report message through the extension port 32-2, and adds the ETAG and VLAN 10 labels.
  • the ETAG carries the unicast ECID of the extension port 32-2.
  • the PE32 sends an IGMP report message with the ETAG and VLAN 10 labels added through the upstream port 32-1.
  • the CB31 receives the IGMP report message of the ETAG and the VLAN 10 tag of the unicast ECID of the extended port 32-2 through the cascading port 31-1, and searches for the multicast ECID and the cascading port corresponding to the multicast group G2.
  • the multicast ECID associated with the egress port of the multicast group G2 on the PE32 is the multicast ECID 3000 of the egress port of the multicast group G2 on the PE32.
  • the CB31 records the multicast ECID3000 and the cascade port 31-1 associated with the multicast group G2.
  • the CB31 recognizes that the port is the extension port 32-2 according to the unicast ECID of the extension port 32-2, and identifies the VLAN 10 where the port is located according to the VLAN 10 identifier. CB31 generates multicast replication information (ports 32-2, VLAN 10) indicating that port 32-2 is in VLAN 10.
  • the CB 31 can send the allocated multicast ECID 3000 and the generated multicast replication information to the PE 32 through the cascade port 31-1.
  • PE32 can record the multicast ECID3000 associated with the received multicast replication information.
  • the PE32 can record the multicast ECID3000 associated multicast replication information (port 32-2, VLAN 10); or the PE32 can record the multicast replication table index associated with the multicast ECID3000, and the multicast replication information pointed to by the multicast replication table index.
  • Medium record (port 32-2, VLAN 10). The disclosure does not limit the manner in which the PE records multicast replication information.
  • the terminals 35-37 respectively send IGMP membership report messages to the multicast group G2.
  • PE32 adds the same way to add ETAG and VLAN tags.
  • the PE32 sends the IGMP membership report messages with the ETAG and VLAN tags to the upstream port 32-1.
  • the CB31 receives the IGMP report message through the expansion port 31-1 and finds the multicast ECID 3000 associated with the egress port of the multicast group G2 on the PE32.
  • CB31 generates a multicast replication relationship (port 32-3, VLAN 10) and a multicast replication relationship (port 32-4, port 32-5, VLAN 20).
  • the CB31 can send the multicast ECID 3000 and the generated multicast replication relationship to the PE32.
  • PE32 can further record that multicast ECID3000 is associated with multicast replication relationship (port 32-2, port 32-3, VLAN 10) and multicast replication relationship (port 32-4, port 32-5, VLAN 20) for recording.
  • multicast replication relationship port 32-2, port 32-3, VLAN 10
  • multicast replication relationship port 32-4, port 32-5, VLAN 20
  • the PE32 can record the multicast replication relationship (port 32-2, port 32-3, VLAN 10) and the multicast replication relationship (port 32-4) in the outbound port replication table pointed to by the multicast replication table index associated with the multicast ECID3000. , port 32-5, VLAN 20).
  • the terminals 38 and 39 respectively send IGMP membership report messages to the multicast group G2.
  • the PE 33 receives these IGMP membership report messages, adds the ETAG and VLAN tags with the unicast ECID, and sends them through the upstream port 33-1.
  • the CB31 receives the IGMP report message containing the ETAG and the VLAN tag of the unicast ECID through the concatenation port 31-2, and allocates the multicast ECID3001 to the egress port of the different VLANs of the multicast group G2 on the PE33.
  • CB31 generates multicast replication information (ports 33-2, VLAN 10) and multicast replication information (ports 33-3, VLAN 20).
  • the CB31 records the multicast ECID 3001 associated with the multicast group G2 and the cascade port 31-2.
  • the CB 31 can transmit the multicast ECID 3001 and the generated multicast copy information (ports 33-2, VLAN 10) and (ports 33-3, VLAN 20) to the PE 33 through the cascade port 31-2.
  • CB31 allocates a multicast ECID to each of the extended ports of different VLANs of the same multicast group G2 on PE32 and PE33, which saves the resources of the multicast ECID.
  • the PE33 records the multicast ECID3001 associated with the multicast replication relationship (ports 33-2, VLAN 10) and the multicast replication relationship (ports 33-3, VLAN 20) to record the egress ports associated with the multicast ECID3001 and the egress ports. VLAN.
  • PE32 may record the multicast replication relationship (ports 33-2, VLAN 10) and (ports 33-3, VLAN 20) in the outbound port replication table pointed to by the multicast replication table index associated with the multicast ECID 3001.
  • the CB31 when the CB31 receives the multicast data packet, it can find the multicast ECID3000 and ECID3001 associated with the multicast group G2 according to the multicast group G2 address or the multicast source address of the multicast data packet.
  • the CB31 copies a multicast data packet to all the outbound ports of the multicast group G2 of the PE32 according to the ECID 3000, adds an ETAG with the ECID 3000, and sends a multicast data packet 3110 with the ECID 3000 through the cascade port 31-1.
  • the CB31 copies a multicast data packet for all the outbound ports of the multicast group G2 on the PE33 according to the ECID 3001, adds an ETAG carrying the ECID 3001, and sends a multicast data packet 3111 with the ECID 3001 through the cascade port 31-2.
  • the CB31 replicates two multicast data packets, that is, it copies a multicast data packet to the outbound port of the different VLANs of the multicast group on the PE32. A multicast data message was copied. Therefore, the CB 31 does not have to send multicast data packets of different VLANs of the multicast group G2 to each PE through multiple E-stack links, thereby reducing the bandwidth of the occupied E-stack link.
  • the PE32 receives the multicast data packet carrying the ETAG through the upstream port 32-1, and the multicast replication information (port 32-2, port 32-3, VLAN 20) and port 32- according to the multicast E-CID in the ETAG. 4, port 32-5, VLAN 20).
  • PE32 copies one multicast data packet for each egress port and strips the ETAG of each replicated multicast data packet.
  • the PE32 adds the VLAN 10 tag to the two replicated multicast data packets based on the outbound ports 32-2 and 32-3, and sends the multicast packets with the VLAN 10 tag through the extended ports 32-2 and 32-3. To terminals 34 and 35.
  • the PE32 adds the VLAN 20 label to the other two replicated multicast data packets based on the outbound ports 32-4 and 32-5, and sends the multicast packets with the VLAN 20 label through the expansion ports 32-4 and 32-5. To terminals 36 and 37.
  • the PE33 receives the multicast data packet carrying the ETAG through the upstream port 33-1, and the multicast replication information (ports 33-3, VLAN 10) and (port 33-4, VLAN 20) matched according to the multicast E-CID.
  • PE33 copies one multicast data packet for each egress port and strips the ETAG of each replicated multicast data packet.
  • the PE33 adds a VLAN 10 tag to one of the replicated multicast data packets according to the VLAN 10 of the outbound port 33-2, and sends a multicast data packet with the VLAN 10 tag to the terminal 38 through the extended port 33-3.
  • the PE33 adds a VLAN 20 tag to the other replicated multicast data packet according to the VLAN 20 of the outbound port 33-3, and sends the multicast data packet with the VLAN 20 tag to the terminal 39 through the extended port 33-3.
  • Each of the PE32 and the PE33 performs Layer 3 replication and forwarding according to the multicast replication information associated with the multicast ECID of the multicast group G2, and sends a multicast data packet from the CB to the members of different VLANs of the multicast group G2. port.
  • the CB 31 may be a single device or a stacked device composed of multiple device stacks.
  • the cascade ports 31-1 and 31-2 of the CB 31 are aggregation ports including a plurality of member ports.
  • the CB31 can receive the IGMP membership report message including the unicast ECID and the VLAN tag from the upstream port through the upstream port of the PE3 and the PE3.
  • the CB31 can select any member port of the expansion ports 31-1 and 31-2 to send a multicast ECID, multicast replication information, and multicast data packets with a multicast ECID.
  • Each of the PE32 and the PE33 may select one of the plurality of upstream ports connected to the CB 31 to send an IGMP membership report message including the unicast ECID and the VLAN tag.
  • the extension ports of other unconnected terminals of the PE32 and the PE33 can also be connected to other PE devices.
  • FIG. 4 is a schematic structural diagram of a multicast data packet forwarding apparatus 400 according to an embodiment of the present disclosure.
  • the apparatus is applicable to a control bridge of an extended bridge.
  • the multicast data message forwarding device 400 can include a receiving unit 401, a searching unit 402, a sending unit 403, an allocating unit 404, and a multicast copy information generating unit 405.
  • the receiving unit 401 receives the multicast data packet, and the searching unit 402 determines the multicast ECID and the cascade port associated with the multicast group of the multicast data packet; wherein the multicast ECID points to the port expander group connected to the cascade port.
  • the egress port of the different VLANs of the broadcast group; the sending unit 403 adds an ETAG with a multicast ECID to the multicast data packet; and sends the multicast data packet with the ETAG with the multicast ECID added through the expansion port.
  • the allocating unit 404 allocates a multicast ECID to the egress port of the different VLANs of the port expander for the multicast group; the multicast replication information generating unit 405 records the multicast ECID and the concatenation port associated with the multicast group, and obtains the cascading
  • the port of the port is connected to the egress port of the multicast group in the different VLANs; the multicast replication information is generated; the multicast replication information includes the port identifier and the VLAN ID of each egress port of the multicast group; the sending unit 403, the pass level
  • the interface sends multicast ECID and multicast replication information.
  • the receiving unit 401 receives, by the expansion port, multiple IGMP membership report messages that are added to the multicast group, and each IGMP membership report message carries an ETAG and an associated VLAN identifier; the multicast replication information generating unit 405
  • the extended port pointed to by the unicast ECID of the ETAG of each IGMP membership report message identifies each egress port, and identifies the VLAN where each egress port is located according to the VLAN ID of each IGMP membership report message.
  • the above-described multicast data message forwarding device 400 in FIG. 4 may be implemented by software (for example, machine readable instructions stored in a memory and executed by a processor), implemented in hardware (for example, a processor of an application specific integrated circuit ASIC), or by software. Implemented with the hardware.
  • FIG. 5 shows an example of a control bridge provided with the multicast data packet forwarding device shown in FIG. 4 provided by the present disclosure.
  • the control bridge 500 includes a forwarding unit 510, a processor 520, and a storage unit 530, a cascade port 541, and a physical port 542 that connect to the processor 520.
  • the forwarding unit 510 herein may be, for example, a hardware forwarding chip;
  • the storage unit 530 may be any electronic, magnetic, optical or other physical storage device, such as RAM (Radom Access Memory), volatile memory, nonvolatile Storage, flash memory, storage drives (such as hard drives), solid state drives, any type of storage disk.
  • RAM Random Access Memory
  • volatile memory volatile memory
  • nonvolatile Storage flash memory
  • storage drives such as hard drives
  • solid state drives any type of storage disk.
  • the forwarding unit 510 includes at least a receiving module 511, a searching module 512, and a sending module 513.
  • Storage unit 530 includes one or more encoding modules that are executable by processor 520.
  • the plurality of encoding modules of the storage unit 530 include at least an allocation module 531 and a multicast replication information generating module 532.
  • the receiving module 511 receives the multicast data packet through the physical port 542.
  • the searching module 512 determines the multicast ECID associated with the multicast group of the multicast data packet and the cascade port 541.
  • the multicast ECID points to the cascade port 541.
  • the egress port of the different VLANs of the multicast group on the port expander; the sending module 513 adds the ETAG with the multicast ECID to the multicast data packet; and sends the multicast with the ETAG with the multicast ECID through the cascade port 541.
  • Data message is mapped to the packet through the physical port 542.
  • the searching module 512 determines the multicast ECID associated with the multicast group of the multicast data packet and the cascade port 541.
  • the multicast ECID points to the cascade port 541.
  • the egress port of the different VLANs of the multicast group on the port expander; the sending module 513 adds the ETAG with the multicast ECID to the
  • the distribution module 531 allocates a multicast ECID to the egress port of the different VLANs of the port expander for the multicast group; the multicast replication information generating module 532 obtains the multicast group of the port expander connected to the concatenation port 541 in different VLANs.
  • the output port generates multicast replication information.
  • the multicast replication information includes the port identifier and the VLAN identifier of each egress port of the multicast group.
  • the sending module 513 sends the multicast ECID and the multicast replication information through the concatenation port 541.
  • the receiving module 511 receives the multiple IGMP membership report messages that are added to the multicast group through the expansion port 541.
  • Each IGMP membership report includes an ETAG and an associated VLAN identifier.
  • the multicast replication information generating module 532 is configured.
  • the egress port pointed to by the unicast ECID of the ETAG of each IGMP membership report message identifies each egress port, and identifies the VLAN where each egress port is located according to the VLAN ID of each IGMP membership report message.
  • FIG. 6 shows another example of a control bridge provided with the multicast data message forwarding device shown in FIG. 4 provided by the present disclosure.
  • the control bridge 600 includes a forwarding unit 610, a processor 620, and a storage unit 630, a cascade port 641, and a physical port 642 that connect to the processor 620.
  • the plurality of encoding modules of the storage unit 630 include at least a receiving module 631, a searching module 632, a sending module 633, an allocating module 634, and a multicast copy information generating module 635.
  • the forwarding unit 610 herein may be, for example, a hardware forwarding chip; the storage unit 630 may be any electronic, magnetic, optical or other physical storage device, such as RAM (Radom Access Memory), volatile memory, nonvolatile Storage, flash memory, storage drives (such as hard drives), solid state drives, any type of storage disk.
  • RAM Random Access Memory
  • volatile memory volatile memory
  • nonvolatile Storage flash memory
  • storage drives such as hard drives
  • solid state drives any type of storage disk.
  • the forwarding unit 610 receives the multicast data packet through the physical port 642 and sends it to the processor 620.
  • the processor 620 executes the corresponding encoding module in the storage unit 630 to process the multicast data packet.
  • the specific operations are as follows:
  • the receiving module 631 receives the multicast data packet, and the searching module 632 determines the multicast ECID associated with the multicast group of the multicast data packet and the cascade port 641.
  • the multicast ECID points to the port expander connected to the cascade port 641.
  • the egress port of the different VLANs of the multicast group; the sending module 633 adds an ETAG with a multicast ECID to the multicast data packet; and the control forwarding unit 610 sends the multicast added with the ETAG with the multicast ECID through the concatenation port 641.
  • Data message
  • the allocating module 634 allocates a multicast ECID to the egress port of the different VLANs of the port expander for the multicast group; the multicast replication information generating module 635 obtains the multicast group of the port expander connected to the concatenation port 641 in different VLANs.
  • the egress port is configured to generate the multicast replication information.
  • the multicast replication information includes the port identifier and the VLAN identifier of each egress port of the multicast group.
  • the sending module 633 sends the multicast ECID and the multicast replication information through the concatenation port 641.
  • the receiving module 631 further receives multiple IGMP membership report messages that are added to the multicast group.
  • Each IGMP membership report message carries an ETAG and an associated VLAN identifier.
  • the multicast replication information generating module 635 according to each IGMP.
  • the extended port to which the unicast ECID of the ETAG report is sent identifies the egress port.
  • the VLAN ID of each IGMP member report packet identifies the VLAN where each egress port resides.
  • FIG. 7 shows a multicast data packet forwarding apparatus 700 according to an embodiment of the present disclosure, and the apparatus is applicable to a port expander of an extended bridge.
  • the multicast data packet forwarding device 700 can include a receiving unit 701, a searching unit 702, and a sending unit 703.
  • the receiving unit 701 receives the multicast data packet including the ETAG with the multicast ECID through the upstream port, and the searching unit 702 searches for the multicast replication information that matches the multicast ECID.
  • the multicast replication information includes the multicast data packet pair.
  • the port identifier of each outgoing port of the multicast group and the VLAN identifier; the sending unit 703 copies a multicast data packet for each outgoing port according to the multicast replication information, and strips each copied multicast data packet.
  • the ETAG adds the VLAN ID of each outbound port to each replicated multicast data packet, and sends the multicast data packet containing its VLAN ID to each egress port.
  • the receiving unit 701 receives the IGMP membership report message that is added to the multicast group through the extended port, and the sending unit 703 reports the IGMP membership relationship according to the unicast ECID and the VLAN of the extended port that receives the IGMP membership report message.
  • the ETAG and VLAN IDs are added to the packets.
  • the IGMP report messages are added to the upstream interface.
  • the receiving unit 701 can receive the multicast ECID allocated by the control bridge and the multicast replication information associated with the multicast ECID through the upstream port, and the searching unit 702 records the received multicast ECID and the multicast replication information.
  • the above-described multicast data message forwarding device 700 in FIG. 7 may be implemented by software (for example, machine readable instructions stored in a memory and executed by a processor), implemented in hardware (for example, a processor of an application specific integrated circuit ASIC), or by software. Implemented with the hardware.
  • FIG. 8 shows an example of a port expander provided with the multicast data packet forwarding device shown in FIG. 7 provided by the present disclosure.
  • the control bridge 800 includes a forwarding unit 810, a processor 820, and a storage unit 830 connected to the processor 820, a plurality of expansion ports 841, and an upstream port 842.
  • the forwarding unit 810 includes at least a receiving module 811, a searching module 812, and a sending module 813.
  • the forwarding unit 810 herein may be, for example, a hardware forwarding chip; the storage unit 830 may be any electronic, magnetic, optical or other physical storage device, such as RAM (Radom Access Memory), volatile memory, nonvolatile Storage, flash memory, storage drives (such as hard drives), solid state drives, any type of storage disk.
  • RAM Random Access Memory
  • volatile memory volatile memory
  • nonvolatile Storage flash memory
  • storage drives such as hard drives
  • solid state drives any type of storage disk.
  • the receiving module 811 receives the multicast data packet including the ETAG with the multicast ECID through the upstream port 842.
  • the searching module 812 searches for the multicast replication information that matches the multicast ECID.
  • the multicast replication information includes the multicast data packet corresponding to the multicast data packet.
  • the port identifier of each outgoing port of the multicast group and the VLAN identifier; the sending module 813 copies a multicast data packet for each egress port according to the multicast replication information, and strips the ETAG of each replicated multicast data packet. Add the VLAN ID of each outbound port to each replicated multicast data packet, and send the multicast data packet containing its VLAN ID to each egress port.
  • the receiving module 811 receives the IGMP membership report message that is added to the multicast group through the extension port 841.
  • the sending module 813 is configured as the IGMP membership relationship according to the unicast ECID and the VLAN of the extension port that receives the IGMP membership report message.
  • the ETAG and VLAN IDs are added to the report packets.
  • the IGMP report messages are added to the upstream interface 842.
  • the receiving module 811 also receives the multicast ECID allocated by the control bridge and the multicast replication associated with the multicast ECID. Information; a search module 812 that records the received multicast ECID and multicast replication information.
  • FIG. 9 is a diagram showing another example of a port expander provided with the multicast data message forwarding device shown in FIG. 7 provided by the present disclosure.
  • the control bridge 900 includes a forwarding unit 910, a processor 920, and a storage unit 930 connected to the processor 920, a plurality of expansion ports 941, and an upstream port 942.
  • the plurality of encoding modules of the storage unit 930 include at least a receiving module 931, a searching module 932, and a sending module 933.
  • the forwarding unit 910 herein may be, for example, a hardware forwarding chip; the storage unit 930 may be any electronic, magnetic, optical or other physical storage device, such as RAM (Radom Access Memory), volatile memory, nonvolatile Storage, flash memory, storage drives (such as hard drives), solid state drives, any type of storage disk.
  • RAM Random Access Memory
  • volatile memory volatile memory
  • nonvolatile Storage flash memory
  • storage drives such as hard drives
  • solid state drives any type of storage disk.
  • the forwarding unit 910 receives the multicast data packet including the ETAG with the multicast ECID through the upstream port 942 and sends it to the processor 920.
  • the processor 920 executes the corresponding encoding module in the storage unit 930 to send the multicast data packet. Processing, the specific operation is as follows:
  • the receiving module 931 receives the multicast data packet, and the searching module 932 searches for the multicast replication information that matches the multicast ECID.
  • the multicast replication information includes the port identifier of each egress port of the multicast group corresponding to the multicast data packet. And the VLAN identifier; the sending module 933, which copies a multicast data packet for each egress port according to the multicast replication information, and strips the ETAG of each duplicated multicast data packet into a duplicate multicast data packet. Add the VLAN ID of each outbound port and send the multicast data packet containing its VLAN ID to each egress port.
  • the receiving module 931 further receives the IGMP membership report message that is added to the multicast group, and the sending module 933 reports the unicast ECID and the VLAN of the IGMP membership report message according to the IGMP membership report message.
  • the ETAG and the VLAN ID are added.
  • the control forwarding unit 910 sends an IGMP membership report message with the ETAG and the VLAN identifier added by the upstream port 942.
  • the receiving module 931 further receives the multicast ECID allocated by the control bridge and the multicast replication information associated with the multicast ECID; the searching module 932 records the received multicast ECID and the multicast replication information.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

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

本公开提供了一种组播数据报文的转发方法、装置以及系统,该系统为控制网桥和端口扩展器构成的扩展网桥,其中,控制网桥通过级联口发送添加了具有组播ECID的ETAG的组播数据报文,该ETAG的ECID指向所述级联口连接的端口扩展器上同一组播组的不同VLAN的出端口;端口扩展器通过连接控制网桥的上游口接收添加了ETAG的组播数据报文;查找组播ECID匹配的组播复制信息;根据组播复制信息为各出端口复制一份所述组播数据报文,剥除每份的组播数据报文的ETAG,为每份的组播数据报文添加各出端口的端口标识及VLAN标识,通过各出端口发送包含VLAN标识的组播数据报文。

Description

组播数据报文的转发
相关申请的交叉引用
本专利申请要求于2016年11月30日提交的、申请号为201611086329.X、发明名称为“组播数据报文的转发方法、装置以及系统”的中国专利申请的优先权,该申请的全文以引用的方式并入本文中。
背景技术
扩展网桥(Extended Bridge)由控制网桥(CB,Controlling Bridge)和一个或多个端口扩展器(PE,Port Extender)构成。CB可以是单个网桥或多个网桥堆叠构成的网桥。
扩展网桥的已有组播数据报文转发方式之一是:CB为PE的同一组播组的不同虚拟局域网(VLAN,Virtual Local Area Network)内的出端口分配组播ECID,为每个VLAN的出端口复制组播数据报文,为每份复制的组播数据报文添加VLAN标签和ETAG。在每份复制的组播数据报文中,ETAG携带的组播ECID指示位于VLAN标签对应的VLAN内的出端口。CB通过级联口(Cascade port)将这些携带VLAN标签和ETAG的组播数据报文发送到PE。PE根据每份带有VLAN标签和ETAG的组播数据报文的组播ECID对应的各出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG,通过各出端口发送。
上述已有组播数据报文转发方式,通过级联口发送PE的多份复制的组播数据报文会增大占用的E-stack链路的带宽。
附图说明
图1是本公开实施例提供组播数据报文的转发方法的流程图。
图2是本公开实施例提供组播数据报文的转发方法的另一流程图。
图3所示的本公开实施例的扩展网桥的组播数据报文转发示意图。
图4是本公开实施例组播数据报文转发装置的结构示意图。
图5是本公开实施例的设置有图4中组播数据报文转发装置的控制网桥的结构示意图。
图6是本公开实施例的设置有图4中组播数据报文转发装置的控制网桥的结构示意图。
图7是本公开实施例的组播数据报文转发装置的结构示意图。
图8是本公开实施例的设置有图7中组播数据报文转发装置的端口扩展器的结构示意图。
图9是本公开实施例的设置有图7中组播数据报文转发装置的端口扩展器的结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
图1所示为本公开实施例提供组播数据报文的转发方法的流程图,该方法可以用于扩展网桥的控制网桥。如图1所示,该方法包括:。
步骤111,接收组播数据报文。
步骤113,确定组播数据报文的组播组关联的组播ECID和级联口;其中组播ECID指向级联口连接的端口扩展器上组播组的不同VLAN的出端口。
步骤115,为组播数据报文添加具有组播ECID的ETAG。
步骤117,通过级联口发送添加了具有组播ECID的ETAG的组播数据报文。
图1所示组播数据报文的转发方法的有益效果在于,控制网桥只向组播组的不同VLAN端口所在的PE发送一份组播数据报文,减少了E-stack链路带宽的占用。
图2所示为本公开实施例提供组播数据报文的转发方法的流程图,该方法可以用于扩展网桥系统的端口扩展器,如图2B所示,该方法包括::
步骤220,通过上游口(upstream port)接收包含ETAG的组播数据报文;该ETAG包含的组播ECID指向组播组的不同VLAN的出端口。
步骤222,查找到组播ECID匹配的组播复制信息;其中,组播复制信息包含组播数据报文对应的组播组的各出端口以及各出端口的VLAN标识。
步骤224,根据组播复制信息为各出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各出端口的VLAN标识,通过各出端口发送包含VLAN标识的组播数据报文。
图2所示组播数据报文的转发方法的有益效果在于,端口扩展器根据控制网桥转发的一 份组播数据报文为不同VLAN的出端口复制组播数据报文,将复制后的组播数据报文通过各出端口发送。
图3所示的扩展网桥300中,CB31通过级联口31-1和31-2分别连接PE32的上游口32-1以及PE33的上游口33-1。PE32的扩展端口32-2,32-3,32-4以及32-5分别连接终端34至37,PE33的扩展端口33-2和33-3分别连接终端38和39。终端34、35和38位于VLAN10,终端36、37和39位于VLAN20。
终端34发送加入组播组G2的IGMP(Internet Group Management Protocol)成员关系报告(membership report)报文。PE32通过扩展端口32-2收到IGMP成员关系报告报文,添加ETAG和VLAN10标签,其中ETAG携带扩展端口32-2的单播ECID。PE32通过上游口32-1发送添加了ETAG和VLAN10标签的IGMP成员关系报告报文。CB31通过级联口31-1收到具有扩展端口32-2的单播ECID的ETAG和VLAN10标签的IGMP成员关系报告报文,查找组播组G2对应组播ECID和级联口,未查到PE32上组播组G2的出端口关联的组播ECID,则为PE32上组播组G2的出端口分配组播ECID3000。CB31可记录组播组G2关联的组播ECID3000和级联口31-1。
CB31根据扩展端口32-2的单播ECID识别出端口是扩展端口32-2,根据VLAN10标识识别出端口所在的VLAN10。CB31生成组播复制信息(端口32-2,VLAN10),指示出端口32-2在VLAN10。
CB31可将分配的组播ECID3000以及生成的组播复制信息通过级联口31-1发送到PE32。
PE32可记录组播ECID3000关联于收到的组播复制信息。例如,PE32可记录组播ECID3000关联组播复制信息(端口32-2,VLAN10);或者PE32可记录组播ECID3000关联的组播复制表索引,在该组播复制表索引指向的组播复制信息中记录(端口32-2,VLAN10)。本公开对于PE记录组播复制信息的方式不做限定
终端35-37分别发送加入组播组G2的IGMP成员关系报告报文。PE32添加ETAG和VLAN标签的方式相同。PE32将添加了ETAG和VLAN标签的这些IGMP成员关系报告报文通过上游口32-1发送。
CB31通过级联口31-1收到这些IGMP成员关系报告报文,查到PE32上组播组G2的出端口关联的组播ECID3000。CB31生成组播复制关系(端口32-3,VLAN10)以及组播复制关系(端口32-4,端口32-5,VLAN20)。CB31可将组播ECID3000以及生成的这些组播复制关系发送到PE32。
例如,PE32可进一步记录组播ECID3000关联于组播复制关系(端口32-2,端口32-3,VLAN10)以及组播复制关系(端口32-4,端口32-5,VLAN20),用以记录组播ECID3000关联的各出端口以及各出端口的VLAN。或者,PE32可在组播ECID3000关联的组播复制表索引指向的出端口复制表中记录组播复制关系(端口32-2,端口32-3,VLAN10)以及组播复制关系(端口32-4,端口32-5,VLAN20)。
终端38和39分别发送加入组播组G2的IGMP成员关系报告报文。PE33收到这些IGMP成员关系报告报文,添加具有单播ECID的ETAG和VLAN标签,分别通过上游口33-1发送。
CB31通过级联口31-2收到包含具有单播ECID的ETAG和VLAN标签的IGMP成员关系报告报文,为PE33上组播组G2在不同VLAN的出端口分配组播ECID3001。CB31生成组播复制信息(端口33-2,VLAN10)以及组播复制信息(端口33-3,VLAN20)。CB31可记录组播组G2关联的组播ECID3001以及级联口31-2。CB31可将组播ECID3001以及生成的这些组播复制信息(端口33-2,VLAN10)以及(端口33-3,VLAN20)通过级联口31-2发送到PE33。CB31为PE32和PE33上同一组播组G2的不同VLAN的扩展端口各分配一个组播ECID,节约了组播ECID的资源。
PE33可记录组播ECID3001关联于组播复制关系(端口33-2,VLAN10)以及组播复制关系(端口33-3,VLAN20),用以记录组播ECID3001关联的各出端口以及各出端口所在的VLAN。或者,PE32可在组播ECID3001关联的组播复制表索引指向的出端口复制表中记录组播复制关系(端口33-2,VLAN10)以及(端口33-3,VLAN20)。
如图3所示,当CB31收到组播数据报文,可根据组播数据报文的组播组G2地址或组播源地址查找到组播组G2关联的组播ECID3000和ECID3001。CB31根据ECID3000为PE32的组播组G2的所有出端口复制一份组播数据报文,添加具有ECID3000的ETAG,通过级联口31-1发送带有ECID3000的一份组播数据报文3110。CB31根据ECID3001为PE33上组播组G2的所有出端口复制一份组播数据报文,添加携带ECID3001的ETAG,通过级联口31-2发送带有ECID3001的一份组播数据报文3111。由于CB31复制了两份组播数据报文,即,为PE32上一个组播组的不同VLAN的出端口复制了一份组播数据报文,为PE33上一个组播组的不同VLAN的出端口复制了一份组播数据报文。因此,CB 31不是必须通过多条E-stack链路向每个PE发送组播组G2的不同VLAN的组播数据报文,减少了占用的E-stack链路的带宽。
PE32通过上游口32-1收到携带ETAG的组播数据报文,根据ETAG中组播E-CID匹配的组播复制信息(端口32-2,端口32-3,VLAN20)和(端口32-4,端口32-5,VLAN20)。 PE32为每个出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG。PE32根据出端口32-2和32-3的VLAN10为其中两份复制的组播数据报文添加VLAN10标签,分别通过扩展端口32-2和32-3发送带有VLAN10标签的组播数据报文到终端34和35。PE32根据出端口32-4和32-5的VLAN20为另外两份复制的组播数据报文添加VLAN20标签,分别通过扩展端口32-4和32-5发送带有VLAN20标签的组播数据报文到终端36和37。
PE33通过上游口33-1收到携带ETAG的组播数据报文,根据组播E-CID匹配的组播复制信息(端口33-3,VLAN10)和(端口33-4,VLAN20)。PE33为每个出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG。PE33根据出端口33-2的VLAN10为其中一份复制的组播数据报文添加VLAN10标签,通过扩展端口33-3发送带有VLAN10标签的组播数据报文到终端38。PE33根据出端口33-3的VLAN20为另外一份复制的组播数据报文添加VLAN20标签,通过扩展端口33-3发送带有VLAN20标签的组播数据报文到终端39。
PE32和PE33各自根据组播组G2的组播ECID关联的组播复制信息,执行三层复制和转发,将来自CB的一份组播数据报文发往该组播组G2的不同VLAN的成员端口。
图3所示本实施例提供的扩展网桥中,CB31既可以是单个设备,也可以是由多个设备堆叠构成的堆叠设备。当CB31是堆叠设备时,CB31的级联口31-1和31-2是包含多个成员端口的聚合端口。CB31可以从级联口31-1和31-2的任一成员端口接收PE32和PE33通过上游口发送包含单播ECID和VLAN标签的IGMP成员关系报告报文。CB31可以选择级联口31-1和31-2的任一成员端口发送组播ECID,组播复制信息以及带有组播ECID的组播数据报文。PE32和PE33各自可以从连接CB31的多个上游口中,选择一个发送包含具有单播ECID和VLAN标签的IGMP成员关系报告报文。同样的,图3所示本实施例提供的扩展网桥中,PE32和PE33的其他未连接终端的扩展端口还可以连接其他PE设备。
图4所示为本公开实施例提供的组播数据报文转发装置400的结构示意图,该装置可应用于扩展网桥的控制网桥。该组播数据报文转发装置400可包括:接收单元401,查找单元402,发送单元403,分配单元404以及组播复制信息生成单元405。
接收单元401,接收组播数据报文;查找单元402,确定组播数据报文的组播组关联的组播ECID和级联口;其中组播ECID指向级联口连接的端口扩展器上组播组的不同VLAN的出端口;发送单元403,为组播数据报文添加具有组播ECID的ETAG;通过级联口发送添加了具有组播ECID的ETAG的组播数据报文。
分配单元404,为组播组在端口扩展器的不同VLAN的出端口分配组播ECID;组播复制信息生成单元405,记录所述组播组关联的组播ECID以及级联口,获取级联口连接的端口扩展器上组播组在不同VLAN内的出端口;生成组播复制信息;其中组播复制信息包含组播组的各出端口的端口标识以及VLAN标识;发送单元403,通过级联口发送组播ECID和组播复制信息。
接收单元401,通过级联口接收加入组播组的多个IGMP成员关系报告报文,每个IGMP成员关系报告报文携带了一个ETAG及关联的VLAN标识;组播复制信息生成单元405,根据每个IGMP成员关系报告报文的ETAG的单播ECID指向的扩展端口识别各出端口,根据各IGMP成员关系报告报文的VLAN标识识别各出端口所在的VLAN。
图4中上述组播数据报文转发装置400可以通过软件实现(例如,存储于存储器并且由处理器运行的机器可读指令)、硬件实现(例如专用集成电路ASIC的处理器),或者由软件和硬件共同实现。
图5所示为本公开提供的设置有图4所示组播数据报文转发装置的控制网桥的一个例子。图5中,控制网桥500包括:转发单元510、处理器520以及连接处理器520的存储单元530、级联口541以及物理端口542。这里的转发单元510例如可以是硬件转发芯片;存储单元530可以是任何电子、磁性、光学或其它物理存储装置,例如,RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘。
转发单元510至少包括接收模块511、查找模块512以及发送模块513。存储单元530包含一个或多个可由处理器520运行的编码模块。存储单元530的多个编码模块至少包括分配模块531以及组播复制信息生成模块532。
接收模块511,通过物理端口542接收组播数据报文;查找模块512,确定组播数据报文的组播组关联的组播ECID和级联口541;其中组播ECID指向级联口541连接的端口扩展器上组播组的不同VLAN的出端口;发送模块513,为组播数据报文添加具有组播ECID的ETAG;通过级联口541发送添加了具有组播ECID的ETAG的组播数据报文。
分配模块531,为组播组在端口扩展器的不同VLAN的出端口分配组播ECID;组播复制信息生成模块532,获取级联口541连接的端口扩展器上组播组在不同VLAN内的出端口;生成组播复制信息;其中组播复制信息包含组播组的各出端口的端口标识以及VLAN标识;发送模块513,通过级联口541发送组播ECID和组播复制信息。
接收模块511,通过级联口541接收加入组播组的多个IGMP成员关系报告报文,每个IGMP成员关系报告包含携带了一个ETAG及关联的VLAN标识的;组播复制信息生成模块532,根据每个IGMP成员关系报告报文的ETAG的单播ECID指向的扩展端口识别各出端口,根据各IGMP成员关系报告报文的VLAN标识识别各出端口所在的VLAN。
图6所示为本公开提供的设置有图4所示组播数据报文转发装置的控制网桥的另一个例子。图6中,控制网桥600包括:转发单元610、处理器620以及连接处理器620的存储单元630、级联口641以及物理端口642。存储单元630的多个编码模块至少包括接收模块631、查找模块632、发送模块633、分配模块634以及组播复制信息生成模块635。这里的转发单元610例如可以是硬件转发芯片;存储单元630可以是任何电子、磁性、光学或其它物理存储装置,例如,RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘。
转发单元610通过物理端口642接收组播数据报文并上送给处理器620,由处理器620执行存储单元630中的相应编码模块来对该组播数据报文进行处理,具体操作如下:
接收模块631,接收组播数据报文;查找模块632,确定组播数据报文的组播组关联的组播ECID和级联口641;其中组播ECID指向级联口641连接的端口扩展器上组播组的不同VLAN的出端口;发送模块633,为组播数据报文添加具有组播ECID的ETAG;控制转发单元610通过级联口641发送添加了具有组播ECID的ETAG的组播数据报文。
分配模块634,为组播组在端口扩展器的不同VLAN的出端口分配组播ECID;组播复制信息生成模块635,获取级联口641连接的端口扩展器上组播组在不同VLAN内的出端口;生成组播复制信息;其中组播复制信息包含组播组的各出端口的端口标识以及VLAN标识;发送模块633,通过级联口641发送组播ECID和组播复制信息。
接收模块631,还接收加入组播组的多个IGMP成员关系报告报文,每个IGMP成员关系报告报文携带了一个ETAG及关联的VLAN标识;组播复制信息生成模块635,根据每个IGMP成员关系报告报文的ETAG的单播ECID指向的扩展端口识别各出端口,根据各IGMP成员关系报告报文的VLAN标识识别各出端口所在的VLAN。
图7所示为本公开实施例提供的组播数据报文转发装置700,该装置可应用于扩展网桥的端口扩展器。该组播数据报文转发装置700可包括:接收单元701,查找单元702,以及发送单元703。接收单元701,通过上游口接收包含具有组播ECID的ETAG的组播数据报文;查找单元702,查找组播ECID匹配的组播复制信息;其中,组播复制信息包含组播数据报文对 应的组播组的各出端口的端口标识以及VLAN标识;发送单元703,根据组播复制信息为各出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各出端口的VLAN标识,通过各出端口发送包含其VLAN标识的组播数据报文。
接收单元701,通过扩展端口接收加入组播组的IGMP成员关系报告报文;发送单元703,根据接收各IGMP成员关系报告报文的各扩展端口的单播ECID和所在VLAN为各IGMP成员关系报告报文添加ETAG和VLAN标识;通过上游口发送各添加了ETAG和VLAN标识的IGMP成员关系报告报文。
接收单元701,可通过上游口接收由控制网桥分配的组播ECID以及与该组播ECID关联的组播复制信息;查找单元702,记录接收的组播ECID以及组播复制信息。
图7中上述组播数据报文转发装置700可以通过软件实现(例如,存储于存储器并且由处理器运行的机器可读指令)、硬件实现(例如专用集成电路ASIC的处理器),或者由软件和硬件共同实现。
图8所示为本公开提供的设置有图7所示组播数据报文转发装置的端口扩展器的一个例子。图8中,控制网桥800包括:转发单元810、处理器820以及连接处理器820的存储单元830、多个扩展端口841以及上游口842。转发单元810至少包括接收模块811、查找模块812以及发送模块813。这里的转发单元810例如可以是硬件转发芯片;存储单元830可以是任何电子、磁性、光学或其它物理存储装置,例如,RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘。
接收模块811通过上游口842接收包含具有组播ECID的ETAG的组播数据报文;查找模块812,查找组播ECID匹配的组播复制信息;其中,组播复制信息包含组播数据报文对应的组播组的各出端口的端口标识以及VLAN标识;发送模块813,根据组播复制信息为各出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各出端口的VLAN标识,通过各出端口发送包含其VLAN标识的组播数据报文。
接收模块811,通过扩展端口841接收加入组播组的IGMP成员关系报告报文;发送模块813,根据接收各IGMP成员关系报告报文的各扩展端口的单播ECID和所在VLAN为各IGMP成员关系报告报文添加ETAG和VLAN标识;通过上游口842发送各添加了ETAG和VLAN标识的IGMP成员关系报告报文。
接收模块811,还接收由控制网桥分配的组播ECID以及与该组播ECID关联的组播复制 信息;查找模块812,记录接收的组播ECID以及组播复制信息。
图9所示为本公开提供的设置有图7所示组播数据报文转发装置的端口扩展器的另一个例子。图9中,控制网桥900包括:转发单元910、处理器920以及连接处理器920的存储单元930、多个扩展端口941以及上游口942。存储单元930的多个编码模块至少包括接收模块931、查找模块932、发送模块933。这里的转发单元910例如可以是硬件转发芯片;存储单元930可以是任何电子、磁性、光学或其它物理存储装置,例如,RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘。
转发单元910通过上游口942接收包含具有组播ECID的ETAG的组播数据报文并上送给处理器920,由处理器920执行存储单元930中的相应编码模块来对该组播数据报文进行处理,具体操作如下:
接收模块931接收该组播数据报文;查找模块932,查找组播ECID匹配的组播复制信息;其中,组播复制信息包含组播数据报文对应的组播组的各出端口的端口标识以及VLAN标识;发送模块933,根据组播复制信息为各出端口复制一份组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各出端口的VLAN标识,通过各出端口发送包含其VLAN标识的组播数据报文。
接收模块931,还接收加入组播组的IGMP成员关系报告报文;发送模块933,根据接收各IGMP成员关系报告报文的各扩展端口的单播ECID和所在VLAN为各IGMP成员关系报告报文添加ETAG和VLAN标识;控制转发单元910通过上游口942发送各添加了ETAG和VLAN标识的IGMP成员关系报告报文。
接收模块931,还接收由控制网桥分配的组播ECID以及与该组播ECID关联的组播复制信息;查找模块932,记录接收的组播ECID以及组播复制信息。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者 操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上对本公开实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的一般技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。

Claims (13)

  1. 一种组播数据报文的转发方法,包括:
    控制网桥接收组播数据报文;
    所述控制网桥确定所述组播数据报文的组播组关联的组播E-channel标识ECID和级联口;其中所述组播ECID指向所述级联口连接的端口扩展器上所述组播组的不同VLAN的出端口;
    所述控制网桥为所述组播数据报文添加具有所述组播ECID的扩展虚拟局域网标签ETAG;
    所述控制网桥通过所述级联口发送添加了具有所述组播ECID的ETAG的所述组播数据报文。
  2. 根据权利要求1所述的方法,其中,所述接收组播数据报文之前,所述方法包括:
    所述控制网桥获取所述级联口连接的所述端口扩展器上所述组播组在不同VLAN内的出端口;
    所述控制网桥为所述端口扩展器上所述组播组的不同VLAN内的出端口分配所述组播ECID;
    所述控制网桥记录所述组播组关联于所述组播ECID以及所述级联口;
    所述控制网桥生成组播复制信息,其中所述组播复制信息包含所述端口扩展器上所述组播组的各所述出端口的端口标识以及VLAN标识;
    所述控制网桥通过所述级联口发送所述组播ECID和所述组播复制信息至所述端口扩展器。
  3. 根据权利要求2所述的方法,其中,获取所述级联口连接的所述端口扩展器上所述组播组的不同VLAN的出端口包括:
    所述控制网桥通过所述级联口接收加入所述组播组的多个包含了VLAN标识和ETAG的互联网组管理协议IGMP成员关系报告报文;
    所述控制网桥根据各所述IGMP成员关系报告报文的ETAG的单播ECID指向的扩展端口识别各所述出端口;
    所述控制网桥根据各所述IGMP成员关系报告报文的VLAN标识识别各所述出端口所在的VLAN。
  4. 一种组播数据报文的转发装置,应用于扩展网桥的控制网桥,其特征在于,所述装置包括:
    接收单元,接收组播数据报文;
    查找单元,确定组播数据报文的组播组关联的组播E-channel标识ECID和级联口;其中所述组播ECID指向所述级联口连接的端口扩展器上所述组播组的不同VLAN的出端口;
    发送单元,为所述组播数据报文添加具有所述组播ECID的扩展虚拟局域网标签ETAG;通过所述级联口发送添加了具有组播ECID的ETAG的所述组播数据报文。
  5. 根据权利要求4所述的装置,其特征在于,所述装置还包括,
    分配单元,为所述端口扩展器上所述组播组在不同VLAN内的出端口分配所述组播ECID;
    组播复制信息生成单元,记录所述组播组关联于所述组播ECID以及所述级联口,获取所述级联口连接的所述端口扩展器上所述组播组在不同VLAN内的出端口;生成组播复制信息;其中所述组播复制信息包含所述端口扩展器上所述组播组的各所述出端口的端口标识以及VLAN标识;
    所述发送单元,通过所述级联口发送所述组播ECID和所述组播复制信息至所述端口扩展器。
  6. 根据权利要求5所述的装置,其特征在于,
    所述接收单元,通过所述级联口接收加入所述组播组的多个包含了VLAN标识和ETAG的互联网组管理协议IGMP成员关系报告报文;
    所述组播复制信息生成单元,根据各所述IGMP成员关系报告报文的ETAG的单播ECID指向的扩展端口识别各所述出端口,根据各所述IGMP成员关系报告报文的VLAN标识识别各所述出端口所在的VLAN。
  7. 一种组播数据报文的转发方法,包括:
    端口扩展器通过上游口接收包含具有组播ECID的扩展虚拟局域网标签ETAG的组播数据报文;
    所述端口扩展器查找所述组播ECID匹配的组播复制信息,其中,所述组播复制信息包含所述组播数据报文对应的组播组的各出端口的端口标识以及VLAN标识;
    所述端口扩展器根据所述组播复制信息为各所述出端口复制一份所述组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各所述出端口的VLAN标识,通过各所述出端口发送包含其VLAN标识的所述组播数据报文。
  8. 根据权利要求7所述的方法,其中,通过所述上游口接收包含具有组播ECID的ETAG的组播数据报文之前,所述方法包括:
    所述端口扩展器分别通过多个扩展端口接收加入所述组播组的多个互联网组管理协议IGMP成员关系报告报文;
    所述端口扩展器根据接收各所述IGMP成员关系报告报文的扩展端口的单播ECID和所在VLAN为各所述IGMP成员关系报告报文添加ETAG和VLAN标识;
    所述端口扩展器通过所述上游口发送各添加了ETAG和VLAN标识的IGMP成员关系报告报文。
  9. 根据权利要求8所述的方法,其中,
    所述端口扩展器在通过上游口接收包含具有组播ECID的ETAG的组播数据报文之前,所述方法包括:
    所述端口扩展器通过所述上游口接收控制网桥分配的组播ECID以及与该组播ECID关联的组播复制信息;
    所述端口扩展器记录接收的所述组播ECID以及所述组播复制信息。
  10. 一种组播数据报文的转发装置,该装置应用于扩展网桥系统的端口扩展器,其特征在于,所述装置包括:
    接收单元,通过上游口接收包含具有组播ECID的扩展虚拟局域网标签ETAG的组播数据报文;
    查找单元,查找所述组播ECID匹配的组播复制信息;其中,所述组播复制信息包含所述组播数据报文对应的组播组的各出端口的端口标识以及VLAN标识;
    发送单元,根据所述组播复制信息为各所述出端口复制一份所述组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各所述出端口的VLAN标识,通过各所述出端口发送包含其VLAN标识的所述组播数据报文。
  11. 根据权利要求10所述的装置,其特征在于,
    所述接收单元,分别通过多个扩展端口接收加入所述组播组的多个互联网组管理协议IGMP成员关系报告报文;
    所述发送单元,根据接收各所述IGMP成员关系报告报文的扩展端口的单播ECID和所在VLAN为各所述IGMP成员关系报告报文添加ETAG和VLAN标识;通过所述上游口发送各添加了ETAG和VLAN标识的IGMP成员关系报告报文。
  12. 根据权利要求11所述的装置,其特征在于,
    所述接收单元,通过所述上游口接收分配的组播ECID以及与该组播ECID关联的组播复制信息;
    所述查找单元,记录接收的所述组播ECID以及所述组播复制信息。
  13. 一种组播数据报文的转发系统,该系统是控制网桥以及多个端口扩展器构成的扩展网桥,其特征在于,
    所述控制网桥,接收组播数据报文;确定所述组播数据报文的组播组关联的组播E-channel标识ECID和级联口,其中所述组播ECID指向所述级联口连接的端口扩展器上所述组播组的不同VLAN的出端口;为所述组播数据报文添加具有所述组播ECID的扩展虚拟局域网标签ETAG;通过所述级联口发送添加了具有组播ECID的ETAG的所述组播数据报文;
    其中一个端口扩展器通过连接所述级联口的上游口接收添加有具有所述组播ECID的所述ETAG的所述组播数据报文;查找所述组播ECID匹配的组播复制信息;其中,所述组播复制信息包含所述组播组的各所述出端口的端口标识及VLAN标识;根据所述组播复制信息为各所述出端口复制一份所述组播数据报文,剥除每份复制的组播数据报文的ETAG,为每份复制的组播数据报文添加各所述出端口的VLAN标识,通过各所述出端口发送包含其VLAN标识的组播数据报文。
PCT/CN2017/113553 2016-11-30 2017-11-29 组播数据报文的转发 WO2018099393A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2019528865A JP6845934B2 (ja) 2016-11-30 2017-11-29 マルチキャストデータパケット転送方法、マルチキャストデータパケット転送装置及びマルチキャストデータパケット転送システム
US16/465,005 US10880109B2 (en) 2016-11-30 2017-11-29 Forwarding multicast data packet
EP17876182.1A EP3534577B1 (en) 2016-11-30 2017-11-29 Forwarding multicast packets through an extended bridge

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611086329.XA CN108123880B (zh) 2016-11-30 2016-11-30 组播数据报文的转发方法、装置以及系统
CN201611086329.X 2016-11-30

Publications (1)

Publication Number Publication Date
WO2018099393A1 true WO2018099393A1 (zh) 2018-06-07

Family

ID=62226312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113553 WO2018099393A1 (zh) 2016-11-30 2017-11-29 组播数据报文的转发

Country Status (5)

Country Link
US (1) US10880109B2 (zh)
EP (1) EP3534577B1 (zh)
JP (1) JP6845934B2 (zh)
CN (1) CN108123880B (zh)
WO (1) WO2018099393A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995603A (zh) * 2019-12-09 2020-04-10 广州信天翁信息科技有限公司 一种数据的多对多传输方法及异构数据传输层
CN111163009B (zh) * 2020-02-20 2021-06-22 盛科网络(苏州)有限公司 一种端口扩展系统中实现三层组播的方法及装置
CN112769601B (zh) * 2020-12-29 2022-05-24 新华三技术有限公司 一种链路切换方法及设备
CN113472656B (zh) * 2021-06-29 2023-04-18 新华三信息安全技术有限公司 一种二层交换设备及其转发组播数据报文的方法

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140269710A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Port extender
CN105991445A (zh) * 2016-03-31 2016-10-05 杭州华三通信技术有限公司 链路聚合组的设置方法和装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8971322B2 (en) * 2009-03-03 2015-03-03 Telefonaktiebolaget Lm Ericsson (Publ) Multicast interworking systems and methods
US8427938B2 (en) * 2009-05-14 2013-04-23 Avaya Inc. Virtual local area network server redundancy and failover to enable seamless mobility in the mobility domain
JP5340062B2 (ja) * 2009-07-14 2013-11-13 アラクサラネットワークス株式会社 ネットワーク中継装置およびネットワークシステム
US8345540B2 (en) * 2010-04-13 2013-01-01 Calix, Inc. Virtual snooping bridge in computer networks
CN102281181B (zh) 2010-06-08 2015-01-28 中兴通讯股份有限公司 扩展端口桥设备中实现多播转发的方法、装置及系统
CN102594649B (zh) * 2011-01-07 2016-09-28 中兴通讯股份有限公司 虚拟通道组播数据远端复制方法及系统
US8774076B2 (en) * 2011-02-04 2014-07-08 Cisco Technology, Inc. Optimizing OTV multicast traffic flow for site local receivers
CN102684979B (zh) 2011-03-11 2018-08-14 中兴通讯股份有限公司 一种支持虚拟终端的组播数据转发方法及装置
CN102394831A (zh) * 2011-11-28 2012-03-28 杭州华三通信技术有限公司 基于虚拟机vm迁移的流量不中断方法和装置
US20140044129A1 (en) 2012-08-10 2014-02-13 Duane Edward MENTZE Multicast packet forwarding in a network
US9264347B2 (en) * 2013-12-27 2016-02-16 Dell Products L.P. N-node virtual link trunking (VLT) systems control plane
US20150312151A1 (en) * 2014-04-29 2015-10-29 Dell Products L.P. Enhanced load distribution of non-unicast traffic to multi-homed nodes in a port extender environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140269710A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Port extender
US20160205019A1 (en) * 2013-03-12 2016-07-14 Dell Products, L.P. Port extender
CN105991445A (zh) * 2016-03-31 2016-10-05 杭州华三通信技术有限公司 链路聚合组的设置方法和装置

Also Published As

Publication number Publication date
US10880109B2 (en) 2020-12-29
EP3534577B1 (en) 2021-03-03
JP6845934B2 (ja) 2021-03-24
JP2019537383A (ja) 2019-12-19
US20190296924A1 (en) 2019-09-26
EP3534577A1 (en) 2019-09-04
EP3534577A4 (en) 2019-09-11
CN108123880B (zh) 2020-12-04
CN108123880A (zh) 2018-06-05

Similar Documents

Publication Publication Date Title
WO2018099393A1 (zh) 组播数据报文的转发
US7558273B1 (en) Methods and systems for associating and translating virtual local area network (VLAN) tags
US9397943B2 (en) Configuring virtual media access control addresses for virtual machines
WO2019228433A1 (zh) 组播数据报文转发方法及设备
US8705532B2 (en) Methods, systems, and computer program products for selective layer 2 port blocking using layer 2 source addresses
CN108173691B (zh) 一种跨设备聚合的方法及装置
US20150085862A1 (en) Forwarding Multicast Data Packets
CN105262667A (zh) Overlay网络中控制组播传输的方法、装置
WO2017181757A1 (zh) 报文转发方法及装置
US9942054B2 (en) Systems and methods for an extranet multicast virtual private network in a virtual routing and forwarding based customer edge device
CN104509073A (zh) 在软件定义的网络中发现ip多播组成员
US10855576B2 (en) Information transmission method and device
US10652145B2 (en) Managing data frames in switched networks
US20170078115A1 (en) Multi-homed access
WO2018068588A1 (zh) 提供组播业务的方法和软件定义网络控制器
CN105187311A (zh) 一种报文转发方法及装置
CN104660511A (zh) 一种sdn网络中多播报文的传输方法和设备
CN101651626A (zh) 一种流量转发的方法及设备
EP3253030B1 (en) Method and device for reporting openflow switch capability
WO2015192483A1 (zh) 一种路由节点、路由交换方法、系统及计算机存储介质
CN108183851B (zh) 一种报文转发方法及转发设备
CN114629744B (zh) 基于macvlan主机网络的数据访问方法、系统及相关装置
CN106230684A (zh) 报文转发方法、交换机和系统
US10797991B2 (en) Setting link aggregation group
WO2021164236A1 (zh) 报文的处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17876182

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019528865

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017876182

Country of ref document: EP

Effective date: 20190529